NCEPLIBS-bufr
11.5.0
|
Copy a BUFR message. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | cpymem (LUNOT) |
This subroutine copies a BUFR message from internal arrays in memory to a specified Fortran logical unit. More... | |
Copy a BUFR message.
Definition in file cpymem.f.
subroutine cpymem | ( | LUNOT | ) |
This subroutine copies a BUFR message from internal arrays in memory to a specified Fortran logical unit.
This subroutine is similar to subroutine copymg(), except that it copies a BUFR message from internal arrays in memory to a specified Fortran logical unit, whereas copymg() copies a BUFR message from one Fortran logical unit to another.
[in] | LUNOT | - integer: Fortran logical unit number for target BUFR file |
One or more files of BUFR messages should have already been read into internal arrays in memory via one or more previous calls to subroutine ufbmem(), and a BUFR message should already be in scope for processing from these arrays via a previous call to subroutine rdmemm() or readmm().
Logical unit LUNOT should have already been opened for output operations via a previous call to subroutine openbf(), but there should not be any BUFR message already open for output within the internal arrays for LUNOT via a previous call to one of the BUFRLIB message-writing subroutines.
The DX BUFR Table information associated with the internal arrays in memory and with logical unit LUNOT must contain identical definitions for the type of BUFR message to be copied from the former to the latter.
Program history log:
Definition at line 59 of file cpymem.f.
References bort(), iok2cpy(), iupbs01(), msgwrt(), nemtba(), and status().