NCEPLIBS-bufr 11.7.1
numtbd.f File Reference

Search for a Table B or Table D descriptor within the internal DX BUFR tables. More...

Go to the source code of this file.

Functions/Subroutines

subroutine numtbd (LUN, IDN, NEMO, TAB, IRET)
 This subroutine searches for a descriptor within Table B and Table D of the internal DX BUFR tables. More...
 

Detailed Description

Search for a Table B or Table D descriptor within the internal DX BUFR tables.

Definition in file numtbd.f.

Function/Subroutine Documentation

◆ numtbd()

subroutine numtbd (   LUN,
  IDN,
character*(*)  NEMO,
character*1  TAB,
  IRET 
)

This subroutine searches for a descriptor within Table B and Table D of the internal DX BUFR tables.

Author
J. Woollen
Date
2002-05-14
Parameters
[in]LUN– integer: Internal I/O stream index associated with DX BUFR tables
[in]IDN– integer: Bit-wise representation of FXY value for Table B or Table D descriptor
[out]NEMO– character*(*): Mnemonic associated with IDN
[out]TAB– character: Type associated with IDN
  • 'B' = Table B descriptor
  • 'D' = Table D descriptor
[out]IRET– integer:
  • Positional index of IDN within internal Table B, if TAB = 'B'
  • Positional index of IDN within internal Table D, if TAB = 'D'
  • 0, otherwise

Program history log:

Date Programmer Comments
2002-05-14 J. Woollen Original author
2003-11-04 S. Bender Added remarks and routine interdependencies
2003-11-04 D. Keyser Unified/portable for WRF; added history documentation
2009-04-21 J. Ator Use ifxy() for more efficient searching
2014-12-10 J. Ator Use modules instead of COMMON blocks

Definition at line 35 of file numtbd.f.

References moda_tababd::idnb, moda_tababd::idnd, ifxy(), moda_tababd::ntbb, moda_tababd::ntbd, moda_tababd::tabb, and moda_tababd::tabd.

Referenced by getcfmng(), numtab(), and ufdump().