NCEPLIBS-bufr 11.7.1
ireadmm.f
Go to the documentation of this file.
1C> @file
2C> @brief Read a specified BUFR message from internal arrays.
3
4C> This function calls BUFRLIB subroutine readmm() and passes
5C> back its return code as the function value.
6C>
7C> @author J. Woollen
8C> @date 1999-11-18
9C>
10C> @param[in,out] IMSG -- integer: Message pointer within internal arrays
11C> - On input, IMSG is the number of the BUFR
12C> message to be read into scope for further
13C> processing, counting from the beginning of
14C> the internal arrays in memory
15C> - On output, IMSG is incremented by one from
16C> its input value
17C> @param[out] SUBSET -- character*8: Table A mnemonic for type of BUFR
18C> message that was read into scope
19C> (see [DX BUFR Tables](@ref dfbftab) for
20C> further information about Table A mnemonics)
21C> @param[out] IDATE -- integer: Date-time stored within Section 1 of
22C> BUFR message that was read into scope,
23C> in format of either YYMMDDHH or YYYYMMDDHH,
24C> depending on the most
25C> recent call to subroutine datelen()
26C> @returns ireadmm -- integer:
27C> - 0 = new BUFR message was successfully
28C> read into scope
29C> - -1 = requested message number could not
30C> be found in internal arrays
31C>
32C> @remarks
33C> - The use of this function allows the return code from readmm() to be
34C> used as the target variable within an iterative program loop.
35C>
36C> <b>Program history log:</b>
37C> | Date | Programmer | Comments |
38C> | -----|------------|----------|
39C> | 1999-11-18 | J. Woollen | Original author |
40C> | 2002-05-14 | J. Woollen | Changed from an entry point to increase portability to other platforms |
41C>
42 FUNCTION ireadmm(IMSG,SUBSET,IDATE)
43
44 CHARACTER*8 subset
45
46C-----------------------------------------------------------------------
47C-----------------------------------------------------------------------
48
49 CALL readmm(imsg,subset,idate,iret)
50 ireadmm = iret
51
52 RETURN
53 END
function ireadmm(IMSG, SUBSET, IDATE)
This function calls BUFRLIB subroutine readmm() and passes back its return code as the function value...
Definition: ireadmm.f:43
subroutine readmm(IMSG, SUBSET, JDATE, IRET)
This subroutine reads a specified BUFR message from internal arrays in memory, so that it is now in s...
Definition: readmm.f:55