NCEPLIBS-bufr
11.5.0
|
Fortran language code for debufr utility. More...
Go to the source code of this file.
Data Types | |
module | share_table_info |
This module is used within the debufr utility to share information between subroutine fdebufr() and subroutine openbt(), since the latter is not called by the former but rather is called directly from within the BUFRLIB software. More... | |
Functions/Subroutines | |
subroutine | fdebufr (ofile, tbldir, lentd, tblfil, prmstg, basic, forcemt, cfms) |
This subroutine reads, decodes, and generates a verbose output listing of the contents of every BUFR message from within the input file that was previously opened via a call to subroutine cobfl() with io = 'r'. More... | |
subroutine | openbt (lundx, mtyp) |
This subroutine overrides the placeholder subroutine of the same name within the BUFRLIB distribution package. More... | |
Fortran language code for debufr utility.
Definition in file debufr.f.
module share_table_info |
This module is used within the debufr utility to share information between subroutine fdebufr() and subroutine openbt(), since the latter is not called by the former but rather is called directly from within the BUFRLIB software.
subroutine fdebufr | ( | character*(*) | ofile, |
character*(*) | tbldir, | ||
lentd, | |||
character*(*) | tblfil, | ||
character*(*) | prmstg, | ||
character*1 | basic, | ||
character*1 | forcemt, | ||
character*1 | cfms | ||
) |
This subroutine reads, decodes, and generates a verbose output listing of the contents of every BUFR message from within the input file that was previously opened via a call to subroutine cobfl() with io = 'r'.
[in] | ofile | - character*(*): File to contain verbose output listing of contents of each decoded BUFR message |
[in] | tbldir | - character*(*): Directory containing DX and/or master BUFR tables to be used for decoding |
[in] | lentd | - integer: length of tbldir string |
[in] | tblfil | - character*(*): File containing DX BUFR table information to be used for decoding
|
[in] | prmstg | - character*(*): String of up to 20 comma-separated PARAMETER=VALUE pairs to be used to dynamically allocate memory within the BUFRLIB software, overriding the default VALUE that would otherwise be used for each such PARAMETER.
|
[in] | basic | - character: Indicator as to whether only "basic" information in Sections 0-3 should be decoded from each BUFR message:
|
[in] | forcemt | - character: Indicator as to whether master BUFR tables should be used for decoding, regardless of whether the input file contains any embedded DX BUFR table messages:
|
[in] | cfms | - character: Indicator as to whether code and flag table meanings should be read from master BUFR tables and included in the print output:
|
Program history log:
Definition at line 91 of file debufr.f.
References codflg(), crbmg(), datelen(), dxdump(), getcfmng(), idxmsg(), ireadsb(), isetprm(), iupbs01(), iupbs3(), mtinfo(), openbf(), parstr(), readerme(), rtrcptb(), strnum(), strsuc(), ufdump(), and upds3().
Referenced by main().
subroutine openbt | ( | lundx, | |
mtyp | |||
) |
This subroutine overrides the placeholder subroutine of the same name within the BUFRLIB distribution package.
Given the data category for a BUFR message, it opens the appropriate DX BUFR tables file to use in reading/decoding the message.
[in] | mtyp | - integer: Data category of BUFR message |
[out] | lundx | - integer: Fortran logical unit number for DX BUFR tables file to use in reading/decoding the message
|
Program history log: