NuSDaS Interface Reference Manual

NUSDAS_INQ_NRDBTIME

get list of basetime

SYNOPSIS

/* C */
    int
nusdas_inq_nrdbtime(type1, type2, type3, bdata, bsize, verbose)

! Fortran
SUBROUTINE NUSDAS_INQ_NRDBTIME(type1, type2, type3, &
  bdata, bsize, verbose, iostat)
bdataINTEGER, DIMENSION(bsize)N_SI4 *
bsizeINTEGERN_SI4 *
verbose(should be constant/macro defined in header file)
iostatINTEGER, INTENT(OUT)(not used)

ARGUMENTS

bdata

array to which the list of base time will be stored.

bsize

element number (not byte size) of array bdata

verbose

one of following symbols:

N_ON

message is output while search is proceeding

N_OFF

message is suppressed

RETURN VALUE

>= 0Succeeded. Value is number of array elements retrieved.
-1Error: I/O error.
-2Error: data file without CNTL record found.
-3Error: record length error in seeking data file.
-4Error: cannot open file or directory.
-10 to -99(see error code table)

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

LIMITATION

Current implementation cannot handle dataset which has more base times than 999.

Operational version of this function does not work in some path styles.