NCEPLIBS-bufr
12.0.0
|
Read master Table B information from local file system. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | rdmtbb (LUNSTB, LUNLTB, MXMTBB, IMT, IMTV, IOGCE, ILTV, NMTBB, IMFXYN, CMSCL, CMSREF, CMBW, CMUNIT, CMMNEM, CMDSC, CMELEM) |
This subroutine reads master Table B information from two separate ASCII files (one standard and one local) and then merges the output into a single set of arrays. More... | |
subroutine rdmtbb | ( | LUNSTB, | |
LUNLTB, | |||
MXMTBB, | |||
IMT, | |||
IMTV, | |||
IOGCE, | |||
ILTV, | |||
NMTBB, | |||
integer, dimension(*) | IMFXYN, | ||
character, dimension(4,*) | CMSCL, | ||
character, dimension(12,*) | CMSREF, | ||
character, dimension(4,*) | CMBW, | ||
character, dimension(24,*) | CMUNIT, | ||
character, dimension(8,*) | CMMNEM, | ||
character*4, dimension(*) | CMDSC, | ||
character, dimension(120,*) | CMELEM | ||
) |
This subroutine reads master Table B information from two separate ASCII files (one standard and one local) and then merges the output into a single set of arrays.
Each of the two ASCII files must already be individually sorted in ascending order with respect to the FXY numbers.
[in] | LUNSTB | – integer: Fortran logical unit number for ASCII file containing standard Table B information |
[in] | LUNLTB | – integer: Fortran logical unit number for ASCII file containing local Table B information |
[in] | MXMTBB | – integer: Dimensioned size (in integers) of merged output arrays; used by the subroutine to ensure that it doesn't overflow these arrays |
[out] | IMT | – integer: Master table
|
[out] | IMTV | – integer: Version number of master table
|
[out] | IOGCE | – integer: Originating center
|
[out] | ILTV | – integer: Version number of local table
|
[out] | NMTBB | – integer: Number of entries in merged output arrays |
[out] | IMFXYN | – integer(*): Merged array containing bit-wise representations of FXY numbers |
[out] | CMSCL | – character*4(*): Merged array containing scale factors |
[out] | CMSREF | – character*12(*): Merged array containing reference values |
[out] | CMBW | – character*4(*): Merged array containing bit widths |
[out] | CMUNIT | – character*24(*): Merged array containing units |
[out] | CMMNEM | – character*8(*): Merged array containing mnemonics |
[out] | CMDSC | – character*4(*): Merged array containing descriptor codes |
[out] | CMELEM | – character*120(*): Merged array containing element names |
Definition at line 54 of file rdmtbb.f.
References bort(), getntbe(), gettbh(), sntbbe(), and wrdlen().
Referenced by ireadmt().