NCEPLIBS-bufr  12.0.1
cnved4.f File Reference

Convert a BUFR edition 3 message to BUFR edition 4. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine cnved4 (MSGIN, LMSGOT, MSGOT)
 This subroutine reads an input BUFR message encoded using BUFR edition 3 and outputs an equivalent BUFR message encoded using BUFR edition 4. More...
 

Detailed Description

Convert a BUFR edition 3 message to BUFR edition 4.

Author
J. Ator
Date
2005-11-29

Definition in file cnved4.f.

Function/Subroutine Documentation

◆ cnved4()

recursive subroutine cnved4 ( dimension(*)  MSGIN,
  LMSGOT,
dimension(*)  MSGOT 
)

This subroutine reads an input BUFR message encoded using BUFR edition 3 and outputs an equivalent BUFR message encoded using BUFR edition 4.

This subroutine performs the same function as subroutine pkvs01() when the latter is called with S01MNEM = 'BEN' and IVAL = 4, except that the latter subroutine operates on BUFR messages internally within the software, whereas this subroutine operates on a single BUFR message passed in via a memory array.

Parameters
[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(*): Copy of MSGIN encoded using BUFR edition 4
Remarks
  • MSGIN and MSGOT must be separate arrays.
  • BUFR edition 4 messages are usually longer in length than their BUFR edition 3 counterparts, so it's usually a good idea to allow for extra space when allocating MSGOT within the application program.
Author
J. Ator
Date
2005-11-29

Definition at line 30 of file cnved4.f.

References bort(), getlens(), modv_im8b::im8b, iupbs01(), mvb(), nmwrd(), pkb(), and x84().

Referenced by msgwrt().