|
NCEPLIBS-bufr
11.6.0
|
Store information about a standard Table D descriptor within internal DX BUFR tables. More...
Go to the source code of this file.
Functions | |
| void | stseq (f77int *lun, f77int *irepct, f77int *idn, char nemo[8], char cseq[55], f77int cdesc[], f77int *ncdesc) |
| Given the bit-wise (integer) representation of a WMO-standard Table D descriptor, this subroutine uses the master BUFR tables to store all of the necessary information for that descriptor within the internal DX BUFR tables. More... | |
Store information about a standard Table D descriptor within internal DX BUFR tables.
Definition in file stseq.c.
| void stseq | ( | f77int * | lun, |
| f77int * | irepct, | ||
| f77int * | idn, | ||
| char | nemo[8], | ||
| char | cseq[55], | ||
| f77int | cdesc[], | ||
| f77int * | ncdesc | ||
| ) |
Given the bit-wise (integer) representation of a WMO-standard Table D descriptor, this subroutine uses the master BUFR tables to store all of the necessary information for that descriptor within the internal DX BUFR tables.
Any child descriptors which are themselves Table D descriptors are automatically resolved via a recursive call to this same subroutine.
| [in] | lun | – f77int*: Internal Fortran I/O stream index associated with BUFR file |
| [in,out] | irepct | – f77int*: Replication sequence counter for the current master table; used internally to keep track of which sequence names have already been defined, and thereby avoid contention within the internal DX BUFR Table D |
| [in] | idn | – f77int*: Bit-wise representation of FXY value for WMO-standard Table D descriptor |
| [in] | nemo | – char[8]: Mnemonic corresponding to idn |
| [in] | cseq | – char[55]: Description corresponding to idn |
| [in] | cdesc | – f77int*: Array of WMO-standard child descriptors equivalent to idn |
| [in] | ncdesc | – f77int*: Number of WMO-standard child descriptors in cdesc |
Program history log:
| Date | Programmer | Comments |
|---|---|---|
| 2009-03-23 | J. Ator | Original author |
| 2010-03-19 | J. Ator | Added processing for 2-04 associated fields |
| 2010-04-05 | J. Ator | Added processing for 2-2X, 2-3X and 2-4X non-marker operators |
| 2015-03-04 | J. Ator | Handle special case when associated fields are in effect for a Table D descriptor |
| 2021-05-17 | J. Ator | Allow up to 24 characters in cbunit |
| 2021-08-18 | J. Ator | Use strcpy instead of strncpy and then overwrite trailing null, in order to silence superfluous GNU compiler warnings |
Definition at line 48 of file stseq.c.
References bort(), cadn30(), elemdx(), icvidx(), ifxy(), igetntbi(), igetprm(), igettdi(), imrkopr(), nemtab(), nummtb(), numtbd(), pktdd(), stntbi(), and strnum().
Referenced by reads3().