NuSDaS Interface Reference Manual
/* C */
int
nusdas_inq_def(type1, type2, type3, param, value, vsize)
! Fortran
SUBROUTINE NUSDAS_INQ_DEF(type1, type2, type3, param, value, &
vsize, iostat)
| symbol | Fortran | C |
| param | (should be constant/macro defined in header file) | |
| value | (may be various type) | void * |
| vsize | INTEGER | N_SI4 * |
| iostat | INTEGER, INTENT(OUT) | (not used) |
paramone of following symbols:
number of members. value is assumed to be INTEGER.
list of members. that is assumed to be array of CHARACTER(4).
number of valid times. value is assumed to be INTEGER.
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.
four-letter symbol of unit of time,
which is used in interpreting N_VALIDTIME_LIST.
value is assumed to be CHARACTER(4).
valuearray to which parameter will be stored.
vsizenumber of elements (not byte size) of array value.
| >= 0 | Succeeded. Value is number of array elements retrieved. |
| -1 | Error: size of value array insufficient. |
| -2 | Error: value array not allocated (???) |
| -3 | Error: invalid argument. |
| -10 to -99 | (see error code table) |
see also Error Code of NuSDaS library for return code from -10 to -99.