NCEPLIBS-bufr 11.7.1
ireadsb.f
Go to the documentation of this file.
1C> @file
2C> @brief Read the next data subset from a BUFR message
3
4C> This function calls BUFRLIB subroutine readsb() and
5C> passes back its return code as the function value.
6C>
7C> @author J. Woollen
8C> @date 1994-01-06
9C>
10C> @param[in] LUNIT -- integer: Fortran logical unit number for
11C> BUFR file
12C> @returns ireadsb -- integer:
13C> - 0 = new BUFR data subset was successfully
14C> read into internal arrays
15C> - -1 = there are no more BUFR data subsets in
16C> the BUFR message
17C>
18C> @remarks
19C> - The use of this function allows the return code from readsb() to be
20C> used as the target variable within an iterative program loop.
21C>
22C> <b>Program history log:</b>
23C> | Date | Programmer | Comments |
24C> | -----|------------|----------|
25C> | 1994-01-06 | J. Woollen | Original author |
26C> | 2002-05-14 | J. Woollen | Changed from an entry point to increase portability to other platforms |
27C> | 2003-11-04 | S. Bender | Added remarks and routine interdependencies |
28C> | 2003-11-04 | D. Keyser | Unified/portable for WRF; added documentation |
29C>
30 FUNCTION ireadsb(LUNIT)
31
32 CALL readsb(lunit,iret)
33 ireadsb = iret
34 RETURN
35 END
function ireadsb(LUNIT)
This function calls BUFRLIB subroutine readsb() and passes back its return code as the function value...
Definition: ireadsb.f:31
subroutine readsb(LUNIT, IRET)
This subroutine reads the next data subset from a BUFR message into internal arrays.
Definition: readsb.f:48