NCEPLIBS-bufr  12.0.0
upds3.f File Reference

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

Go to the source code of this file.

Functions/Subroutines

recursive subroutine upds3 (MBAY, LCDS3, CDS3, NDS3)
 This subroutine returns the sequence of data descriptors contained within Section 3 of a BUFR message. More...
 

Detailed Description

Read data descriptors from Section 3 of a BUFR message.

Author
J. Ator
Date
2003-11-04

Definition in file upds3.f.

Function/Subroutine Documentation

◆ upds3()

recursive subroutine upds3 ( dimension(*)  MBAY,
  LCDS3,
character*6, dimension(*)  CDS3,
  NDS3 
)

This subroutine returns the sequence of data descriptors contained within Section 3 of a BUFR message.

Remarks
  • The start of the BUFR message (i.e. the string 'BUFR') must be aligned on the first 4 bytes of MBAY.
  • This subroutine does not recursively resolve any Table D descriptors from within Section 3; rather, what is returned in CDS3 is the exact list of data descriptors as it appears within Section 3 of MBAY.
Parameters
[in]MBAY- integer(*): BUFR message.
[in]LCDS3- integer: Dimensioned size (in integers) of CDS3 in the calling program; used by the subroutine to ensure that it doesn't overflow the CDS3 array.
[out]CDS3- character*6(*): Data descriptor sequence within Section 3 of MBAY.
[out]NDS3- integer: Number of data descriptors in CDS3.
Author
J. Ator
Date
2003-11-04

Definition at line 25 of file upds3.f.

References adn30(), bort(), getlens(), modv_im8b::im8b, iupb(), wrdlen(), x48(), and x84().

Referenced by fdebufr_c(), ireadmt(), and reads3().