NCEPLIBS-bufr  12.0.1
nemdefs.f File Reference

Get the element name and units associated with a Table B mnemonic. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine nemdefs (LUNIT, NEMO, CELEM, CUNIT, IRET)
 Given a Table B mnemonic defined in the DX BUFR Tables associated with a BUFR file (or in the master BUFR tables, if the file was opened in subroutine openbf() with IO = 'SEC3'), this subroutine returns the element name and units associated with that mnemonic. More...
 

Detailed Description

Get the element name and units associated with a Table B mnemonic.

Author
J. Ator
Date
2014-10-02

Definition in file nemdefs.f.

Function/Subroutine Documentation

◆ nemdefs()

recursive subroutine nemdefs (   LUNIT,
character*(*)  NEMO,
character*(*)  CELEM,
character*(*)  CUNIT,
  IRET 
)

Given a Table B mnemonic defined in the DX BUFR Tables associated with a BUFR file (or in the master BUFR tables, if the file was opened in subroutine openbf() with IO = 'SEC3'), this subroutine returns the element name and units associated with that mnemonic.

Parameters
[in]LUNIT- integer: Fortran logical unit number for BUFR file
[in]NEMO- character*(*): Table B mnemonic
[out]CELEM- character*55: Element name associated with NEMO
[out]CUNIT- character*24: Units associated with NEMO
[out]IRET- integer: return code
  • 0 normal return
  • -1 NEMO could not be found, or some other error occurred

Logical unit LUNIT should have already been opened for input or output operations via a previous call to subroutine openbf().

Author
J. Ator
Date
2014-10-02

Definition at line 31 of file nemdefs.f.

References modv_im8b::im8b, nemtab(), status(), moda_tababd::tabb, x48(), and x84().

Referenced by bufr_c2f_interface::nemdefs_c().