NCEPLIBS-bufr 11.7.1
icopysb.f File Reference

Copy a BUFR data subset. More...

Go to the source code of this file.

Functions/Subroutines

function icopysb (LUNIN, LUNOT)
 This function calls BUFRLIB subroutine copysb() and passes back its return code as the function value. More...
 

Detailed Description

Copy a BUFR data subset.

Definition in file icopysb.f.

Function/Subroutine Documentation

◆ icopysb()

function icopysb (   LUNIN,
  LUNOT 
)

This function calls BUFRLIB subroutine copysb() and passes back its return code as the function value.

Author
J. Woollen
Date
1994-01-06
Parameters
[in]LUNIN– integer: Fortran logical unit number for source BUFR file
[in]LUNOT– integer: Fortran logical unit number for target BUFR file
Returns
icopysb – integer: return code
  • 0 = normal return
  • -1 = a BUFR data subset could not be read from the BUFR message in internal arrays for LUNIN
Remarks
  • The use of this function allows the return code from copysb() to be used as the target variable within an iterative program loop.

Program history log:

Date Programmer Comments
1994-01-06 J. Woollen Original author
2002-05-14 J. Woollen Changed from an entry point to increase portability to other platforms

Definition at line 30 of file icopysb.f.

References copysb(), and icopysb().

Referenced by icopysb().