NCEPLIBS-bufr  12.0.0
cktaba.f File Reference

Parse the Table A mnemonic and date out of Section 1 of a BUFR message. More...

Go to the source code of this file.

Functions/Subroutines

subroutine cktaba (LUN, SUBSET, JDATE, IRET)
 This subroutine parses the Table A mnemonic and date out of Section 1 of a BUFR message that was previously read from lun using one of the message-reading subroutines. More...
 

Detailed Description

Parse the Table A mnemonic and date out of Section 1 of a BUFR message.

Author
Woollen
Date
2000-09-19

Definition in file cktaba.f.

Function/Subroutine Documentation

◆ cktaba()

subroutine cktaba (   LUN,
character*8  SUBSET,
  JDATE,
  IRET 
)

This subroutine parses the Table A mnemonic and date out of Section 1 of a BUFR message that was previously read from lun using one of the message-reading subroutines.

Parameters
[in]LUN- integer: I/O stream index into internal memory arrays.
[out]SUBSET- character*8: Table A mnemonic
  • returned as a string of all blank characters if IRET is equal to 11 (see below) and if Section 3 isn't being used for decoding
[out]JDATE- integer: date-time stored within Section 1 of BUFR in format of either YYMMDDHH or YYYYMMDDHH, depending on datelen() value.
[out]IRET- integer: return code:
  • 0 normal return
  • -1 unrecognized Table A (message type) value
  • 11 this is a BUFR table (dictionary) message
Author
Woollen
Date
2000-09-19

Definition at line 26 of file cktaba.f.

References bort(), errwrt(), getlens(), i4dy(), moda_msgcwd::idate, igetdate(), moda_msgcwd::inode, moda_sc3bfr::isc3, iupb(), iupbs01(), iupbs3(), moda_bitbuf::mbay, moda_bitbuf::mbyt, moda_unptyp::msgunp, moda_msgcwd::msub, nemtbax(), moda_msgcwd::nmsg, moda_msgcwd::nsub, numtab(), openbt(), rdusdx(), and moda_sc3bfr::tamnem.

Referenced by rdmemm(), readerme(), and readmg().