NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
iupbs3.f File Reference

Read a data value from Section 3 of a BUFR message. More...

Go to the source code of this file.

Functions/Subroutines

function iupbs3 (MBAY, S3MNEM)
 This function returns a specified value from within Section 3 of a BUFR message. More...
 

Detailed Description

Read a data value from Section 3 of a BUFR message.

Definition in file iupbs3.f.

Function/Subroutine Documentation

function iupbs3 ( dimension(*)  MBAY,
character*(*)  S3MNEM 
)

This function returns a specified value from within Section 3 of a BUFR message.

Author
J. Ator
Date
2009-03-23
Parameters
[in]MBAY- integer(*): BUFR message
[in]S3MNEM- character*(*): Value to be read from Section 3 of MBAY
  • 'NSUB' = Number of data subsets
  • 'IOBS' = Flag indicating whether the message contains observed data:
    • 0 = No
    • 1 = Yes
  • 'ICMP' = Flag indicating whether the message contains compressed data:
    • 0 = No
    • 1 = Yes
Returns
iupbs3 - integer: Value corresponding to S3MNEM
  • -1 = S3MNEM was invalid
Remarks
  • The start of the BUFR message (i.e. the string 'BUFR') must be aligned on the first 4 bytes of MBAY.

Program history log:

  • 2009-03-23 J. Ator – Original author

Definition at line 32 of file iupbs3.f.

References getlens(), iupb(), and wrdlen().

Referenced by cktaba(), cpdxmm(), dumpbf(), fdebufr(), mesgbc(), rdbfdx(), readerme(), stndrd(), and writlc().