NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
stseq.c File Reference
#include "bufrlib.h"
#include "mstabs.h"

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)
 C C SUBPROGRAM: STSEQ C PRGMMR: ATOR ORG: NP12 DATE: 2009-03-23 C C ABSTRACT: USING THE BUFR MASTER TABLES, THIS ROUTINE STORES ALL C OF THE INFORMATION FOR SEQUENCE IDN WITHIN THE INTERNAL BUFR C TABLES B AND D. More...
 

Detailed Description

Author
ATOR
Date
2009-03-23

Definition in file stseq.c.

Function Documentation

void stseq ( f77int *  lun,
f77int *  irepct,
f77int *  idn,
char  nemo[8],
char  cseq[55],
f77int  cdesc[],
f77int *  ncdesc 
)

C C SUBPROGRAM: STSEQ C PRGMMR: ATOR ORG: NP12 DATE: 2009-03-23 C C ABSTRACT: USING THE BUFR MASTER TABLES, THIS ROUTINE STORES ALL C OF THE INFORMATION FOR SEQUENCE IDN WITHIN THE INTERNAL BUFR C TABLES B AND D.

ANY DESCRIPTORS IN IDN WHICH ARE THEMSELVES C SEQUENCES ARE IMMEDIATELY RESOLVED VIA A RECURSIVE CALL TO THIS C SAME ROUTINE. C C PROGRAM HISTORY LOG: C 2009-03-23 J. ATOR – ORIGINAL AUTHOR C 2010-03-19 J. ATOR – ADDED PROCESSING FOR 2-04 ASSOCIATED FIELDS C 2010-04-05 J. ATOR – ADDED PROCESSING FOR 2-2X, 2-3X AND 2-4X C NON-MARKER OPERATORS C 2015-03-04 J. ATOR – HANDLE SPECIAL CASE WHEN ASSOCIATED FIELDS C ARE IN EFFECT FOR A TABLE D DESCRIPTOR C C USAGE: CALL STSEQ( LUN, IREPCT, IDN, NEMO, CSEQ, CDESC, NCDESC ) C INPUT ARGUMENT LIST: C LUN - INTEGER: I/O STREAM INDEX INTO INTERNAL MEMORY ARRAYS C IREPCT - INTEGER: REPLICATION SEQUENCE COUNTER FOR THE CURRENT C MASTER TABLE; USED INTERNALLY TO KEEP TRACK OF WHICH C SEQUENCE NAMES HAVE ALREADY BEEN DEFINED AND THEREBY C AVOID CONTENTION WITHIN THE INTERNAL BUFR TABLE D C IDN - INTEGER: BIT-WISE REPRESENTATION OF FXY VALUE FOR C SEQUENCE TO BE STORED C NEMO - CHARACTER*8: MNEMONIC CORRESPONDING TO IDN C CSEQ - CHARACTER*55: DESCRIPTION CORRESPONDING TO IDN C CDESC - INTEGER: ARRAY OF BIT-WISE REPRESENTATIONS OF FXY C VALUES CORRESPONDING TO DESCRIPTORS WHICH CONSTITUTE C THE IDN SEQUENCE C NCDESC - INTEGER: NUMBER OF VALUES IN CDESC C C OUTPUT ARGUMENT LIST: C IREPCT - INTEGER: REPLICATION SEQUENCE COUNTER FOR THE CURRENT C MASTER TABLE; USED INTERNALLY TO KEEP TRACK OF WHICH C SEQUENCE NAMES HAVE ALREADY BEEN DEFINED AND THEREBY C AVOID CONTENTION WITHIN THE INTERNAL BUFR TABLE D C C REMARKS: C THIS ROUTINE CALLS: BORT CADN30 ELEMDX ICVIDX C IFXY IGETNTBI IGETPRM IGETTDI C IMRKOPR NEMTAB NUMMTB NUMTBD C PKTDD STNTBI STRNUM STSEQ C THIS ROUTINE IS CALLED BY: READS3 STSEQ C Normally not called by any application C programs. C C ATTRIBUTES: C LANGUAGE: C C MACHINE: PORTABLE TO ALL PLATFORMS C C$$$

Definition at line 64 of file stseq.c.

References bort(), cadn30(), elemdx(), icvidx(), ifxy(), igetntbi(), igetprm(), igettdi(), imrkopr(), nemtab(), nummtb(), numtbd(), pktdd(), stntbi(), and strnum().

Referenced by reads3().