NCEPLIBS-bufr  12.0.1
numtab.f File Reference

Get information about a descriptor, based on the WMO bit-wise representation of an FXY value. More...

Go to the source code of this file.

Functions/Subroutines

subroutine numtab (LUN, IDN, NEMO, TAB, IRET)
 Get information about a descriptor, based on the WMO bit-wise representation of an FXY value. More...
 

Detailed Description

Get information about a descriptor, based on the WMO bit-wise representation of an FXY value.

Author
J. Woollen
Date
1994-01-06

Definition in file numtab.f.

Function/Subroutine Documentation

◆ numtab()

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

Get information about a descriptor, based on the WMO bit-wise representation of an FXY value.

This subroutine returns information about a descriptor from the internal DX BUFR tables, based on the bit-wise representation of the FXY value associated with that descriptor.

For an description of the WMO bit-wise representation of the FXY value, see ifxy().

Parameters
[in]LUN- integer: Internal I/O stream index associated with DX BUFR tables.
[in]IDN- integer: WMO bit-wise representation of FXY value for descriptor.
[out]NEMO- character*(*): Mnemonic associated with IDN.
[out]TAB- character: Type associated with IDN:
  • 'B' Table B descriptor
  • 'D' Table D descriptor
  • 'C' Table C operator
  • 'R' Replication descriptor
  • 'F' Replication factor
[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'.
  • The X portion of the FXY value in IDN, if TAB = 'C'.
  • ((-1) * the Y portion of the FXY value in IDN), if TAB = 'R' and the replication is regular (i.e. non-delayed).
  • 5 if TAB = 'R' or TAB = 'F' and the replication is 1-bit delayed.
  • 4 if TAB = 'R' or TAB = 'F' and the replication is 8-bit delayed (stack).
  • 3 if TAB = 'R' or TAB = 'F' and the replication is 8-bit delayed.
  • 2 if TAB = 'R' or TAB = 'F' and the replication is 16-bit delayed.
  • 0 otherwise
Author
J. Woollen
Date
1994-01-06

Definition at line 41 of file numtab.f.

References iokoper(), and numtbd().

Referenced by cktaba(), nemtbd(), seqsdx(), stndrd(), and ufbqcp().