NCEPLIBS-bufr  12.0.0
stdmsg.f File Reference

Specify the use of standardization when writing BUFR messages. More...

Go to the source code of this file.

Functions/Subroutines

subroutine stdmsg (CF)
 This subroutine is used to specify whether BUFR messages output by future calls to message-writing subroutines and subset-writing subroutines should be internally reformatted to remove all BUFRLIB software extensions to the WMO standard, prior to actually writing each message. More...
 

Detailed Description

Specify the use of standardization when writing BUFR messages.

Author
J. Ator
Date
2004-08-18

Definition in file stdmsg.f.

Function/Subroutine Documentation

◆ stdmsg()

subroutine stdmsg ( character*1  CF)

This subroutine is used to specify whether BUFR messages output by future calls to message-writing subroutines and subset-writing subroutines should be internally reformatted to remove all BUFRLIB software extensions to the WMO standard, prior to actually writing each message.

It is strongly recommended to use this subroutine (or, alternatively, subroutine stndrd() for messages which already exist in memory arrays) whenever BUFR messages are being written that will potentially be read using software other than the BUFRLIB software. Otherwise, by default the output messages will contain a number of extensions to allow for faster reading and more efficient storage, but which will be encoded using non-standard descriptors in Section 3, and therefore likely be unrecognizable to other software packages.

This subroutine can be called at any time after the first call to subroutine openbf(), and the specified value for CF will remain in effect for all future calls to message-writing subroutines and subset-writing subroutines for all Fortran logical units that are open for output within the application program, unless a subsequent call is made to this subroutine to reset the value of CF again. If this subroutine is never called, a default value of 'N' is used for CF, as set within subroutine bfrini().

Parameters
[in]CF– character*1: Flag indicating whether future BUFR output messages are to be standardized
  • 'N' = No (the default)
  • 'Y' = Yes
Author
J. Ator
Date
2004-08-18

Definition at line 38 of file stdmsg.f.

References bort(), and capit().