1 FUNCTION IREADNS
(LUNIT
,SUBSET
,IDATE
)
3 C$$$ SUBPROGRAM DOCUMENTATION BLOCK
6 C PRGMMR: WOOLLEN ORG: NP20 DATE: 1994-01-06
8 C ABSTRACT: THIS FUNCTION CALLS BUFR ARCHIVE LIBRARY SUBROUTINE READNS
9 C AND PASSES BACK ITS RETURN CODE. SEE READNS FOR MORE DETAILS.
11 C PROGRAM HISTORY LOG:
12 C 1994-01-06 J. WOOLLEN -- ORIGINAL AUTHOR (ENTRY POINT IN IREADMG)
13 C 2002-05-14 J. WOOLLEN -- CHANGED FROM AN ENTRY POINT TO INCREASE
14 C PORTABILITY TO OTHER PLATFORMS
15 C 2003-11-04 S. BENDER -- ADDED REMARKS/BUFRLIB ROUTINE
17 C 2003-11-04 D. KEYSER -- UNIFIED/PORTABLE FOR WRF; ADDED
18 C DOCUMENTATION (INCLUDING HISTORY)
20 C USAGE: IREADNS (LUNIT, SUBSET, IDATE)
21 C INPUT ARGUMENT LIST:
22 C LUNIT - INTEGER: FORTRAN LOGICAL UNIT NUMBER FOR BUFR FILE
24 C OUTPUT ARGUMENT LIST:
25 C SUBSET - CHARACTER*8: TABLE A MNEMONIC FOR BUFR MESSAGE
26 C CONTAINING SUBSET BEING READ
27 C IDATE - INTEGER: DATE-TIME STORED WITHIN SECTION 1 OF BUFR
28 C MESSAGE CONTAINING SUBSET BEING READ, IN FORMAT OF
29 C EITHER YYMMDDHH OR YYYYMMDDHH, DEPENDING ON DATELEN()
31 C IREADNS - INTEGER: RETURN CODE:
33 C -1 = there are no more subsets in the BUFR file
36 C THIS ROUTINE CALLS: READNS
37 C THIS ROUTINE IS CALLED BY: None
38 C Normally called only by application
42 C LANGUAGE: FORTRAN 77
43 C MACHINE: PORTABLE TO ALL PLATFORMS
48 CALL READNS
(LUNIT
,SUBSET
,IDATE
,IRET
)