NCEPLIBS-bufr  12.0.0
stndrd.f File Reference

Standardize a BUFR message. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine stndrd (LUNIT, MSGIN, LMSGOT, MSGOT)
 This subroutine performs the same function as subroutine stdmsg(), except that it operates on a BUFR message passed in via a memory array and returns its output via a separate memory array, whereas stdmsg() operates on BUFR messages stored internally within the software. More...
 

Detailed Description

Standardize a BUFR message.

Author
J. Ator
Date
2004-08-18

Definition in file stndrd.f.

Function/Subroutine Documentation

◆ stndrd()

recursive subroutine stndrd (   LUNIT,
dimension(*)  MSGIN,
  LMSGOT,
dimension(*)  MSGOT 
)

This subroutine performs the same function as subroutine stdmsg(), except that it operates on a BUFR message passed in via a memory array and returns its output via a separate memory array, whereas stdmsg() operates on BUFR messages stored internally within the software.

Remarks
  • MSGIN and MSGOT must be separate arrays.
  • Standardized messages are usually longer in length than their non-standard counterparts, so it's usually a good idea to allow for extra space when allocating MSGOT within the application program.
Parameters
[in]LUNIT– integer: Fortran logical unit number for BUFR file
[in]MSGIN– integer(*): BUFR message
[in]LMSGOT– integer: Dimensioned size (in integers) of MSGOT; used by the subroutine to ensure that it doesn't overflow the MSGOT array
[out]MSGOT– integer(*): Standardized copy of MSGIN
Author
J. Ator
Date
2004-08-18

Definition at line 27 of file stndrd.f.

References bort(), getlens(), modv_im8b::im8b, istdesc(), iupb(), iupbs01(), iupbs3(), modv_maxnc::maxnc, mvb(), nemtbax(), numtab(), pkb(), pkc(), status(), upb(), upc(), and x84().

Referenced by msgwrt().