NCEPLIBS-bufr
11.7.0
|
Specify the use of compression when writing BUFR messages. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | cmpmsg (CF) |
This subroutine is used to specify whether BUFR messages output by future calls to message-writing subroutines and subset-writing subroutines are to be compressed. More... | |
Specify the use of compression when writing BUFR messages.
Definition in file cmpmsg.f.
subroutine cmpmsg | ( | character*1 | CF | ) |
This subroutine is used to specify whether BUFR messages output by future calls to message-writing subroutines and subset-writing subroutines are to be compressed.
[in] | CF | – character*1: Flag indicating whether future BUFR output messages are to be compressed
|
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().
When compression is activated, it is implemented using the algorithm for data subset compression prescribed within the official WMO BUFR regulations. Compression is most useful when the data subsets to be compressed are devoid of any delayed replication, and when there is minimal variation of corresponding data values among different data subsets within the same BUFR message. Otherwise, compression may provide little to no benefit, and which is why it is not activated by default.
Program history log:
Date | Programmer | Comments |
---|---|---|
2005-03-09 | J. Ator | Original author |
Definition at line 41 of file cmpmsg.f.