NCEPLIBS-bufr  12.0.1
copybf.f File Reference

Copy an entire BUFR file. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine copybf (LUNIN, LUNOT)
 This subroutine copies an entire BUFR file from one Fortran logical unit to another. More...
 

Detailed Description

Copy an entire BUFR file.

Author
J. Woollen
Date
1994-01-06

Definition in file copybf.f.

Function/Subroutine Documentation

◆ copybf()

recursive subroutine copybf (   LUNIN,
  LUNOT 
)

This subroutine copies an entire BUFR file from one Fortran logical unit to another.

Parameters
[in]LUNIN– integer: Fortran logical unit number for source BUFR file
[in]LUNOT– integer: Fortran logical unit number for target BUFR file

The logical unit numbers LUNIN and LUNOT must already be associated with actual filenames on the local system, typically via a Fortran "OPEN" statement.

Remarks
  • This subroutine uses subroutine msgwrt() to copy each BUFR message from LUNIN to LUNOT; therefore, this subroutine can be used to create a copy of LUNIN where each corresponding message in LUNOT contains any or all of the updates described in the documentation for subroutine msgwrt().
Author
J. Woollen
Date
1994-01-06

Definition at line 26 of file copybf.f.

References bort(), closbf(), modv_im8b::im8b, iupbs01(), moda_mgwa::mgwa, msgwrt(), openbf(), rdmsgw(), status(), wrdlen(), and x84().