NCEPLIBS-bufr
12.0.1
|
Get the scale factor, reference value and bit width associated with a specified occurrence of a Table B mnemonic. More...
Go to the source code of this file.
Functions/Subroutines | |
recursive subroutine | nemspecs (LUNIT, NEMO, NNEMO, NSCL, NREF, NBTS, IRET) |
Given a Table B mnemonic defined within a data subset, this subroutine returns the scale factor, reference value and bit width of a specified occurrence of that mnemonic within the overall data subset definition, counting from the beginning of the subset. More... | |
Get the scale factor, reference value and bit width associated with a specified occurrence of a Table B mnemonic.
Definition in file nemspecs.f.
recursive subroutine nemspecs | ( | LUNIT, | |
character*(*) | NEMO, | ||
NNEMO, | |||
NSCL, | |||
NREF, | |||
NBTS, | |||
IRET | |||
) |
Given a Table B mnemonic defined within a data subset, this subroutine returns the scale factor, reference value and bit width of a specified occurrence of that mnemonic within the overall data subset definition, counting from the beginning of the subset.
The values returned include the application of any Table C operators (e.g. 2-01-YYY, 2-02-YYY, 2-03-YYY, 2-07-YYY, 2-08-YYY) which may be in effect for the specified occurrence of the mnemonic.
[in] | LUNIT | - integer: Fortran logical unit number for BUFR file |
[in] | NEMO | - character*(*): Table B mnemonic |
[in] | NNEMO | - integer: Ordinal occurrence of NEMO for which information is to be returned, counting from the beginning of the overall subset definition |
[out] | NSCL | - integer: Scale factor in effect for (NNEMO)th occurrence of NEMO |
[out] | NREF | - integer: Reference value in effect for (NNEMO)th occurrence of NEMO |
[out] | NBTS | - integer: Bit width in effect for (NNEMO)th occurrence of NEMO |
[out] | IRET | - integer: return code
|
A data subset must already be in scope within the BUFRLIB internal arrays for LUNIT, either via a previous call to one of the subset-reading subroutines (when reading BUFR data subsets) or via a previous call to one of the message-writing subroutines (when writing BUFR data subsets).
Definition at line 45 of file nemspecs.f.
References fstag(), moda_tables::ibt, moda_nrv203::ienrv, modv_im8b::im8b, moda_msgcwd::inode, moda_nrv203::inodnrv, moda_usrint::inv, moda_tables::irf, moda_tables::isc, moda_nrv203::isnrv, moda_nrv203::nnrv, moda_nrv203::nrv, status(), strsuc(), moda_nrv203::tagnrv, moda_tables::typ, x48(), and x84().
Referenced by bufr_c2f_interface::nemspecs_c().