logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CPGETR - Retrieves the real value of an internal parameter of type REAL or INTEGER.

Access

       To  use CPGETR or c_cpgetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in
       that order.

C-Binding Description

       The C-binding argument descriptions are the same as the FORTRAN argument descriptions.

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       void c_cpgetr (char *pnam, float *rval)

Description

       PNAM        (CHARACTER,  input)  is the name of a parameter whose real value is to be retrieved. Only the
                   first three characters of PNAM are examined. It is recommended that the rest of the character
                   string be used to improve the readability of the code. For example, instead  of  just  'SFS',
                   use 'SFS - SCALE FACTOR SELECTOR'.

       RVAL        (REAL,  output)  is a variable in which the value of the parameter specified by PNAM is to be
                   returned.  If the internal parameter is a value "r" of type REAL, the value returned is  "r".
                   If the internal parameter is a value "i" of type INTEGER, the value returned is "REAL(i)".

Examples

       Use the ncargex command to see the following relevant examples: ccpclc, ccpklb, ccpllt,  colcon,  cpex01,
       cpex06, cpex07, cbex01.

Messages

       See the conpack man page for a description of all Conpack error messages and/or informational messages.

Name

       CPGETR - Retrieves the real value of an internal parameter of type REAL or INTEGER.

See Also

       Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam,  cpcldm,
       cpcldr,  cpcltr,  cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl,
       cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind

       Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

Synopsis

       CALL CPGETR (PNAM, RVAL)

Usage

       This  routine  allows  you  to  retrieve the current value of Conpack parameters.  For a complete list of
       parameters available in this utility, see the conpack_params man page.

See Also