NCEPLIBS-bufr  12.0.1
cmsgini.f File Reference

Initialize a new compressed BUFR message for output. More...

Go to the source code of this file.

Functions/Subroutines

subroutine cmsgini (LUN, MESG, SUBSET, IDATE, NSUB, NBYT)
 This subroutine initializes a new BUFR message for output in compressed format. More...
 

Detailed Description

Initialize a new compressed BUFR message for output.

Author
Woollen
Date
2002-05-14

Definition in file cmsgini.f.

Function/Subroutine Documentation

◆ cmsgini()

subroutine cmsgini (   LUN,
dimension(*)  MESG,
character*8  SUBSET,
  IDATE,
  NSUB,
  NBYT 
)

This subroutine initializes a new BUFR message for output in compressed format.

Parameters
[in]LUN- integer: I/O stream index into internal memory arrays.
[out]MESG- integer(*): BUFR message.
[in]SUBSET- character*8: Table A mnemonic for type of BUFR message being written.
[in]IDATE- integer: date-time stored within Section 1 of BUFR message being written, in format of either YYMMDDHH or YYYYMMDDHH, depending on datelen() value.
[in]NSUB- integer: number of subsets in MESG
[in,out]NBYT- integer:
  • On input, contains the length (in bytes) of Section 4, except for the first 4 bytes
  • On output, contains the length (in bytes) of the entire BUFR message, up to the point in Section 4 where compressed data are to be written
Author
Woollen
Date
2002-05-14

Definition at line 22 of file cmsgini.f.

References bort(), i4dy(), nemtab(), nemtba(), pkb(), and pkc().

Referenced by wrcmps().