NCEPLIBS-bufr
11.5.0
Main Page
Related Pages
Data Types List
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Pages
idxmsg.f
Go to the documentation of this file.
1
C> @file
2
C> @author ATOR @date 2009-03-23
3
4
C> THIS FUNCTION DETERMINES WHETHER THE GIVEN BUFR MESSAGE
5
C> IS A DX DICTIONARY MESSAGE THAT WAS CREATED BY THE BUFR ARCHIVE
6
C> LIBRARY SOFTWARE.
7
C>
8
C> PROGRAM HISTORY LOG:
9
C> 2009-03-23 J. ATOR -- ORIGINAL AUTHOR
10
C>
11
C> USAGE: IDXMSG( MESG )
12
C> INPUT ARGUMENT LIST:
13
C> MESG - INTEGER: *-WORD PACKED BINARY ARRAY CONTAINING
14
C> BUFR MESSAGE
15
C>
16
C> OUTPUT ARGUMENT LIST:
17
C> IDXMSG - INTEGER: RETURN VALUE:
18
C> 0 - MESG IS NOT A DX DICTIONARY MESSAGE
19
C> 1 - MESG IS A DX DICTIONARY MESSAGE
20
C>
21
C> REMARKS:
22
C> THIS ROUTINE CALLS: IUPBS01
23
C> THIS ROUTINE IS CALLED BY: CPDXMM DATEBF DUMPBF MESGBC
24
C> MESGBF MSGWRT RDBFDX READMG
25
C> POSAPX READERME UFBMEM
26
C> Normally not called by application
27
C> programs but it could be.
28
C>
29
FUNCTION
idxmsg
( MESG )
30
31
32
33
dimension mesg(*)
34
35
C-----------------------------------------------------------------------
36
C-----------------------------------------------------------------------
37
38
C Note that the following test relies upon logic within subroutine
39
C DXMINI which zeroes out the Section 1 date of all DX dictionary
40
C messages.
41
42
IF
( (
iupbs01
(mesg,
'MTYP'
).EQ.11) .AND.
43
. (
iupbs01
(mesg,
'MNTH'
).EQ.0) .AND.
44
. (
iupbs01
(mesg,
'DAYS'
).EQ.0) .AND.
45
. (
iupbs01
(mesg,
'HOUR'
).EQ.0) )
THEN
46
idxmsg
= 1
47
ELSE
48
idxmsg
= 0
49
END IF
50
51
RETURN
52
END
idxmsg
function idxmsg(MESG)
THIS FUNCTION DETERMINES WHETHER THE GIVEN BUFR MESSAGE IS A DX DICTIONARY MESSAGE THAT WAS CREATED B...
Definition:
idxmsg.f:29
iupbs01
function iupbs01(MBAY, S01MNEM)
This function returns a specified value from within Section 0 or Section 1 of a BUFR message...
Definition:
iupbs01.f:72
nceplibs-bufr
src
idxmsg.f
Generated by
1.8.5