NCEPLIBS-bufr  12.0.1
rdmems.f File Reference

Read a specified data subset from a BUFR message. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine rdmems (ISUB, IRET)
 This subroutine reads a specified data subset from the BUFR message that was most recently read via a call to subroutine rdmemm() or readmm(). More...
 

Detailed Description

Read a specified data subset from a BUFR message.

Author
J. Woollen
Date
1994-01-06

Definition in file rdmems.f.

Function/Subroutine Documentation

◆ rdmems()

recursive subroutine rdmems (   ISUB,
  IRET 
)

This subroutine reads a specified data subset from the BUFR message that was most recently read via a call to subroutine rdmemm() or readmm().

Whenever this subroutine returns with IRET = 0, this indicates that a new BUFR data subset (i.e. report) was successfully read into internal arrays within the BUFRLIB software, and from where it can now be easily manipulated or further parsed via calls to any of the values-reading subroutines using the Fortran logical unit number IUNIT that was returned from the most recent call to subroutine ufbmem().

Parameters
[in]ISUB- integer: Number of data subset to be read from BUFR message, counting from the beginning of the message.
[out]IRET- integer: return code
  • 0 = requested data subset was successfully read.
  • -1 = requested subset number could not be found in the message.
Author
J. Woollen
Date
1994-01-06

Definition at line 25 of file rdmems.f.

References bort(), errwrt(), modv_im8b::im8b, iupb(), moda_bitbuf::mbay, moda_bitbuf::mbyt, moda_unptyp::msgunp, moda_msgcwd::msub, moda_msgmem::munit, moda_msgcwd::nsub, readsb(), status(), x48(), and x84().

Referenced by ufbmms(), ufbmns(), and ufbrms().