NuSDaS Interface Reference Manual

NUSDAS_INQ_DEF

SYNOPSIS

/* C */
    int
nusdas_inq_def(type1, type2, type3, param, value, vsize)

! Fortran
SUBROUTINE NUSDAS_INQ_DEF(type1, type2, type3, param, value, &
  vsize, iostat)
symbolFortranC
param(should be constant/macro defined in header file)
value(may be various type)void *
vsizeINTEGERN_SI4 *
iostatINTEGER, INTENT(OUT)(not used)

ARGUMENTS

param

one of following symbols:

N_MEMBER_NUM

number of members. value is assumed to be INTEGER.

N_MEMBER_LIST

list of members. that is assumed to be array of CHARACTER(4).

N_VALIDTIME_NUM

number of valid times. value is assumed to be INTEGER.

N_VALIDTIME_LIST

list of forecast time (offset of valid time from base time). value is assumed to be array of INTEGER. Note that the value is NOT ALWAYS IN MINUTES.

N_VALIDTIME_UNIT

four-letter symbol of unit of time, which is used in interpreting N_VALIDTIME_LIST. value is assumed to be CHARACTER(4).

N_PLANE_NUM
N_PLANE_LIST
N_ELEMENT_NUM
N_ELEMENT_LIST
N_ELEMENT_MAP
N_PROJECTION
N_GRID_SIZE
N_GRID_DISTANCE
N_GRID_BASEPOINT
N_STAND_LATLON
N_SPARE_LATLON
value

array to which parameter will be stored.

vsize

number of elements (not byte size) of array value.

RETURN VALUE

>= 0Succeeded. Value is number of array elements retrieved.
-1Error: size of value array insufficient.
-2Error: value array not allocated (???)
-3Error: invalid argument.
-10 to -99(see error code table)

see also Error Code of NuSDaS library for return code from -10 to -99.