NuSDaS Interface Reference Manual

NUSDAS_SUBC_PRESET1

defines the default content of SUBC records for eta and sigma coordinates.

SYNOPSIS

/* C */
    int
nusdas_subc_preset1(type1, type2, type3, subcgroup, nlev, a, b, c)

! Fortran
SUBROUTINE NUSDAS_SUBC_PRESET1(type1, type2, type3, subcgroup, nlev, &
  a, b, c, iostat)
symbolFortranC
subcgroupCHARACTER(4)char [4]
nlevINTEGERN_SI4 *
aREAL, DIMENSION(nlev)float *
bREAL, DIMENSION(nlev)float *
cREAL, DIMENSION(nlev)float *
iostatINTEGER, INTENT(OUT)(not used)

ARGUMENTS

subcgroup

must be "SIGM" or "ETA "

nlev

number of levels

a
b
c

vertical coordinate parameters

RETURN CODE

0Succeded
-1invalid subcgroup value
-2Too many SUBC records written.
-10 to -99(see error code table)

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