updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / var / external / bufr / icopysb.f
blob51d421863c3681192ca3e7061c32c2b369fd3cb9
1 FUNCTION ICOPYSB(LUNIN,LUNOT)
3 C$$$ SUBPROGRAM DOCUMENTATION BLOCK
5 C SUBPROGRAM: ICOPYSB
6 C PRGMMR: WOOLLEN ORG: NP20 DATE: 1994-01-06
8 C ABSTRACT: THIS FUNCTION CALLS BUFR ARCHIVE LIBRARY SUBROUTINE COPYSB
9 C AND PASSES BACK ITS RETURN CODE. SEE COPYSB 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
16 C INTERDEPENDENCIES
17 C 2003-11-04 D. KEYSER -- UNIFIED/PORTABLE FOR WRF; ADDED
18 C DOCUMENTATION (INCLUDING HISTORY)
20 C USAGE: ICOPYSB (LUNIN, LUNOT)
21 C INPUT ARGUMENT LIST:
22 C LUNIT - INTEGER: FORTRAN LOGICAL UNIT NUMBER FOR INPUT BUFR
23 C FILE
24 C LUNOT - INTEGER: FORTRAN LOGICAL UNIT NUMBER FOR OUTPUT BUFR
25 C FILE
27 C OUTPUT ARGUMENT LIST:
28 C ICOPYSB - INTEGER: RETURN CODE:
29 C 0 = normal return
30 C -1 = there are no more subsets in the input
31 C BUFR message
33 C REMARKS:
34 C THIS ROUTINE CALLS: COPYSB
35 C THIS ROUTINE IS CALLED BY: None
36 C Normally called only by application
37 C programs.
39 C ATTRIBUTES:
40 C LANGUAGE: FORTRAN 77
41 C MACHINE: PORTABLE TO ALL PLATFORMS
43 C$$$
45 CALL COPYSB(LUNIN,LUNOT,IRET)
46 ICOPYSB = IRET
47 RETURN
48 END