NCEPLIBS-bufr 11.7.1
moda_msgmem.F
Go to the documentation of this file.
1C> @file
2C> @brief Declare arrays for internal storage of BUFR files.
3
4C> This module contains array and variable declarations used to
5C> store the contents of one or more BUFR files within internal
6C> memory.
7C>
8C> <p>Data values within this module are stored by subroutines
9C> ufbmem() and cpdxmm().
10C>
11C> @author J. Ator
12C> @date 2014-12-10
13
15
16C> @var munit
17C> Fortran logical unit number for use in accessing
18C> contents of BUFR files within internal memory.
19C>
20C> @var msgs
21C> BUFR messages read from one or more BUFR files.
22C>
23C> @var msgp
24C> Pointers to the beginning of each message within
25C> msgs (up to a maximum of MAXMSG, and where array
26C> element 0 contains the actual number of messages
27C> stored within msgs).
28C>
29C> @var mlast
30C> Number of array elements filled within msgs (up
31C> to a maximum of MAXMEM).
32C>
33C> @var mdx
34C> DX BUFR table messages read from one or more BUFR
35C> files, for use in decoding the messages in msgs.
36C>
37C> @var ndxm
38C> Number of DX BUFR table messages stored within mdx
39C> (up to a maximum of MXDXM).
40C>
41C> @var ipdxm
42C> Pointers to the beginning of each message within mdx.
43C>
44C> @var ndxts
45C> Number of DX BUFR tables represented by the
46C> messages within mdx (up to a maximum of MXDXTS).
47C>
48C> @var ifdxts
49C> Pointers to the beginning of each DX BUFR table
50C> within mdx.
51C>
52C> @var icdxts
53C> Number of consecutive messages within mdx which
54C> constitute each DX BUFR table, beginning with the
55C> corresponding ifdxts.
56C>
57C> @var ipmsgs
58C> Pointers to first message within msgs for which each
59C> DX BUFR table applies.
60C>
61C> @var ldxts
62C> Number of DX BUFR table that is currently in scope,
63C> depending on which BUFR message within msgs is
64C> currently in scope from the most recent call to
65C> subroutine rdmemm() or readmm().
66C>
67C> @var ldxm
68C> Number of array elements filled within mdx (up
69C> to a maximum of MXDXW).
70
71 INTEGER :: munit
72 INTEGER :: mlast
73 INTEGER :: ldxm
74 INTEGER :: ndxm
75 INTEGER :: ldxts
76 INTEGER :: ndxts
77 INTEGER :: mxdxm
78 INTEGER :: mxdxw
79 INTEGER, ALLOCATABLE :: msgp(:)
80 INTEGER, ALLOCATABLE :: msgs(:)
81 INTEGER, ALLOCATABLE :: mdx(:)
82 INTEGER, ALLOCATABLE :: ipdxm(:)
83 INTEGER, ALLOCATABLE :: ifdxts(:)
84 INTEGER, ALLOCATABLE :: icdxts(:)
85 INTEGER, ALLOCATABLE :: ipmsgs(:)
86
87 END MODULE
This module contains array and variable declarations used to store the contents of one or more BUFR f...
Definition: moda_msgmem.F:14
integer, dimension(:), allocatable msgs
BUFR messages read from one or more BUFR files.
Definition: moda_msgmem.F:80
integer ldxm
Number of array elements filled within mdx (up to a maximum of MXDXW).
Definition: moda_msgmem.F:73
integer, dimension(:), allocatable ifdxts
Pointers to the beginning of each DX BUFR table within mdx.
Definition: moda_msgmem.F:83
integer mlast
Number of array elements filled within msgs (up to a maximum of MAXMEM).
Definition: moda_msgmem.F:72
integer, dimension(:), allocatable icdxts
Number of consecutive messages within mdx which constitute each DX BUFR table, beginning with the cor...
Definition: moda_msgmem.F:84
integer, dimension(:), allocatable ipdxm
Pointers to the beginning of each message within mdx.
Definition: moda_msgmem.F:82
integer ndxm
Number of DX BUFR table messages stored within mdx (up to a maximum of MXDXM).
Definition: moda_msgmem.F:74
integer, dimension(:), allocatable mdx
DX BUFR table messages read from one or more BUFR files, for use in decoding the messages in msgs.
Definition: moda_msgmem.F:81
integer munit
Fortran logical unit number for use in accessing contents of BUFR files within internal memory.
Definition: moda_msgmem.F:71
integer ldxts
Number of DX BUFR table that is currently in scope, depending on which BUFR message within msgs is cu...
Definition: moda_msgmem.F:75
integer, dimension(:), allocatable ipmsgs
Pointers to first message within msgs for which each DX BUFR table applies.
Definition: moda_msgmem.F:85
integer, dimension(:), allocatable msgp
Pointers to the beginning of each message within msgs (up to a maximum of MAXMSG, and where array ele...
Definition: moda_msgmem.F:79
integer ndxts
Number of DX BUFR tables represented by the messages within mdx (up to a maximum of MXDXTS).
Definition: moda_msgmem.F:76