NCEPLIBS-bufr
11.5.0
|
Close and write the current message to a BUFR file that was previously opened for writing. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | closmg (LUNIN) |
This subroutine closes the BUFR message that is currently open for writing within internal arrays associated with logical unit ABS(LUNIN), and it then writes the message to that logical unit. More... | |
Close and write the current message to a BUFR file that was previously opened for writing.
Definition in file closmg.f.
subroutine closmg | ( | LUNIN | ) |
This subroutine closes the BUFR message that is currently open for writing within internal arrays associated with logical unit ABS(LUNIN), and it then writes the message to that logical unit.
[in] | LUNIN | - integer: Absolute value is Fortran logical unit number for BUFR file |
Logical unit ABS(LUNIN) should have already been opened for output operations via a previous call to subroutine openbf().
If LUNIN < 0, then any message containing zero data subsets will not be written to logical unit ABS(LUNIN) for the remainder of the life of the application program. This includes suppressing the writing of any dummy messages containing dump center and initiation times that normally appear in the first 2 messages of NCEP dump files.
Program history log:
Definition at line 53 of file closmg.f.
References bort(), msgwrt(), status(), wrcmps(), and wtstat().
Referenced by closbf(), makestab(), openmb(), openmg(), and writsa().