NCEPLIBS-bufr 11.7.1
lmsg.f
Go to the documentation of this file.
1C> @file
2C> @author WOOLLEN @date 1994-01-06
3
4C> GIVEN A CHARACTER STRING CONTAINING SECTION ZERO FROM A
5C> BUFR MESSAGE, THIS FUNCTION DETERMINES A COUNT OF MACHINE WORDS
6C> (I.E. INTEGER ARRAY MEMBERS) THAT WILL HOLD THE ENTIRE MESSAGE.
7C> NOTE THAT THIS COUNT MAY BE GREATER THAN THE MINIMUM NUMBER
8C> OF WORDS REQUIRED TO HOLD THE MESSAGE.
9C>
10C> PROGRAM HISTORY LOG:
11C> 1994-01-06 J. WOOLLEN -- ORIGINAL AUTHOR
12C> 2003-11-04 S. BENDER -- ADDED REMARKS/BUFRLIB ROUTINE
13C> INTERDEPENDENCIES
14C> 2003-11-04 D. KEYSER -- UNIFIED/PORTABLE FOR WRF; ADDED
15C> DOCUMENTATION (INCLUDING HISTORY)
16C> 2004-08-18 J. ATOR -- IMPROVED DOCUMENTATION
17C> 2005-11-29 J. ATOR -- USE NMWRD
18C>
19C> USAGE: LMSG (SEC0)
20C> INPUT ARGUMENT LIST:
21C> SEC0 - CHARACTER*8: PACKED BUFR MESSAGE SECTION ZERO
22C>
23C> OUTPUT ARGUMENT LIST:
24C> LMSG - INTEGER: BUFR MESSAGE LENGTH (IN MACHINE WORDS)
25C>
26C> REMARKS:
27C> THIS ROUTINE CALLS: NMWRD
28C> THIS ROUTINE IS CALLED BY: READERME
29C> Also called by application programs.
30C>
31 FUNCTION lmsg(SEC0)
32
33
34
35 CHARACTER*8 sec0,csec0
36 dimension msec0(2)
37
38 equivalence(msec0,csec0)
39
40C-----------------------------------------------------------------------
41C-----------------------------------------------------------------------
42
43 csec0 = sec0
44 lmsg = nmwrd(msec0)
45
46C EXIT
47C ----
48
49 RETURN
50 END
function lmsg(SEC0)
GIVEN A CHARACTER STRING CONTAINING SECTION ZERO FROM A BUFR MESSAGE, THIS FUNCTION DETERMINES A COUN...
Definition: lmsg.f:32
function nmwrd(MBAY)
GIVEN AN INTEGER ARRAY CONTAINING SECTION ZERO FROM A BUFR MESSAGE, THIS FUNCTION DETERMINES A COUNT ...
Definition: nmwrd.f:28