NCEPLIBS-bufr
11.5.0
|
#include "bufrlib.h"
Go to the source code of this file.
Functions | |
void | restd (f77int *lun, f77int *tddesc, f77int *nctddesc, f77int ctddesc[]) |
C C SUBPROGRAM: RESTD C PRGMMR: ATOR ORG: NP12 DATE: 2004-08-18 C C ABSTRACT: GIVEN THE BIT-WISE REPRESENTATION OF A LOCAL C (I.E. More... | |
Definition in file restd.c.
void restd | ( | f77int * | lun, |
f77int * | tddesc, | ||
f77int * | nctddesc, | ||
f77int | ctddesc[] | ||
) |
C C SUBPROGRAM: RESTD C PRGMMR: ATOR ORG: NP12 DATE: 2004-08-18 C C ABSTRACT: GIVEN THE BIT-WISE REPRESENTATION OF A LOCAL C (I.E.
NON-STANDARD) TABLE D DESCRIPTOR, THIS ROUTINE RETURNS C AN EQUIVALENT LIST OF STANDARDIZED CHILD DESCRIPTORS. ANY CHILD C DESCRIPTORS WHICH ARE THEMSELVES LOCAL TABLE D DESCRIPTORS ARE C AUTOMATICALLY RESOLVED VIA A RECURSIVE CALL TO THIS SAME ROUTINE. C THE RECURSIVE PROCESS CONTINUES UNTIL ALL CHILD DESCRIPTORS ARE C EITHER WMO-STANDARD DESCRIPTORS (I.E. FROM TABLE B, TABLE C, OR C TABLE D, OR REPLICATION DESCRIPTORS) OR ELSE ARE LOCAL TABLE B C DESCRIPTORS, IN WHICH CASE THEY ARE PRECEDED WITH AN APPROPRIATE C 206YYY TABLE C OPERATOR IN THE OUTPUT LIST. IN ANY EVENT, THE C FINAL OUTPUT LIST OF EQUIVALENT CHILD DESCRIPTORS IS USABLE BY C ANY STANDARD BUFR DECODER PROGRAM IN ORDER TO INTERPRET THE SAME C DATA VALUES AS WERE REPRESENTED BY THE INITIAL LOCAL TABLE D C DESCRIPTOR THAT WAS INPUT. C C PROGRAM HISTORY LOG: C 2004-08-18 J. ATOR – ORIGINAL AUTHOR C 2012-04-30 J. ATOR – USE LONG CAST FOR IBIT IN SPRINTF STMT C C USAGE: CALL RESTD( LUN, TDDESC, NCTDDESC, CTDDESC ) C INPUT ARGUMENT LIST: C LUN - INTEGER: I/O STREAM INDEX INTO INTERNAL MEMORY ARRAYS C TDDESC - INTEGER: BIT-WISE REPRESENTATION OF FXY VALUE FOR C LOCAL TABLE D DESCRIPTOR C C OUTPUT ARGUMENT LIST: C NCTDDESC - INTEGER: NUMBER OF STANDARDIZED CHILD DESCRIPTORS C RETURNED IN CTDDESC C CTDDESC - INTEGER: ARRAY OF STANDARDIZED CHILD DESCRIPTORS C C REMARKS: C THIS ROUTINE CALLS: RESTD NUMTBD NEMTBB IFXY C CADN30 ISTDESC WRDESC UPTDD C THIS ROUTINE IS CALLED BY: RESTD STNDRD C Normally not called by application C programs but it could be. C C ATTRIBUTES: C LANGUAGE: C C MACHINE: PORTABLE TO ALL PLATFORMS C C$$$
Definition at line 55 of file restd.c.
References cadn30(), ifxy(), istdesc(), nemtbb(), numtbd(), uptdd(), and wrdesc().
Referenced by stndrd().