1GDALMDIMINFO(1)                      GDAL                      GDALMDIMINFO(1)
2
3
4

NAME

6       gdalmdiminfo  -  Reports  structure  and  content of a multidimensional
7       dataset
8

SYNOPSIS

10          gdalmdiminfo [--help-general] [-oo NAME=VALUE]* [-arrayoption NAME=VALUE]*
11                       [-detailed] [-nopretty] [-array {array_name}] [-limit {number}]
12                       [-stats] <datasetname>
13

DESCRIPTION

15       gdalmdiminfo program lists various information about a  GDAL  supported
16       multidimensional  raster dataset as JSON output. It follows the follow‐
17       ing JSON schema
18
19       The following command line parameters can appear in any order
20
21       -detailed
22              Most verbose output. Report attribute data types and array  val‐
23              ues.
24
25       -nopretty
26              Outputs on a single line without any indentation.
27
28       -array {array_name}
29              Name  of  the array used to restrict the output to the specified
30              array.
31
32       -limit {number}
33              Number of values in each dimension that is  used  to  limit  the
34              display  of array values. By default, unlimited. Only taken into
35              account if used with -detailed.
36
37       -oo <NAME=VALUE>
38              Dataset open option (format specific).  This option may be  used
39              several times.
40
41       -arrayoption <NAME=VALUE>
42              Option passed to GDALGroup::GetMDArrayNames() to filter reported
43              arrays. Such option is format specific. Consult driver  documen‐
44              tation.  This option may be used several times.
45
46       -stats Read  and display image statistics. Force computation if no sta‐
47              tistics are stored in an image.
48
49              New in version 3.2.
50
51

C API

53       This utility is also callable from C with GDALMultiDimInfo().
54

EXAMPLES

56       • Display general structure1
57
58          $ gdalmdiminfo netcdf-4d.nc
59
60          {
61            "type": "group",
62            "name": "/",
63            "attributes": {
64              "Conventions": "CF-1.5"
65            },
66            "dimensions": [
67              {
68                "name": "levelist",
69                "full_name": "/levelist",
70                "size": 2,
71                "type": "VERTICAL",
72                "indexing_variable": "/levelist"
73              },
74              {
75                "name": "longitude",
76                "full_name": "/longitude",
77                "size": 10,
78                "type": "HORIZONTAL_X",
79                "direction": "EAST",
80                "indexing_variable": "/longitude"
81              },
82              {
83                "name": "latitude",
84                "full_name": "/latitude",
85                "size": 10,
86                "type": "HORIZONTAL_Y",
87                "direction": "NORTH",
88                "indexing_variable": "/latitude"
89              },
90              {
91                "name": "time",
92                "full_name": "/time",
93                  "size": 4,
94                "type": "TEMPORAL",
95                "indexing_variable": "/time"
96                }
97            ],
98            "arrays": {
99              "levelist": {
100                "datatype": "Int32",
101                "dimensions": [
102                    "/levelist"
103                  ],
104                "attributes": {
105                  "long_name": "pressure_level"
106                },
107                "unit": "millibars"
108              },
109              "longitude": {
110                "datatype": "Float32",
111                "dimensions": [
112                  "/longitude"
113                ],
114                "attributes": {
115                  "standard_name": "longitude",
116                  "long_name": "longitude",
117                  "axis": "X"
118                },
119                "unit": "degrees_east"
120              },
121              "latitude": {
122                "datatype": "Float32",
123                "dimensions": [
124                  "/latitude"
125                ],
126                "attributes": {
127                  "standard_name": "latitude",
128                  "long_name": "latitude",
129                  "axis": "Y"
130                },
131                "unit": "degrees_north"
132              },
133              "time": {
134                "datatype": "Float64",
135                "dimensions": [
136                  "/time"
137                ],
138                "attributes": {
139                  "standard_name": "time",
140                  "calendar": "standard"
141                },
142                "unit": "hours since 1900-01-01 00:00:00"
143              },
144              "t": {
145                "datatype": "Int32",
146                "dimensions": [
147                  "/time",
148                  "/levelist",
149                  "/latitude",
150                  "/longitude"
151                ],
152                "nodata_value": -32767
153              }
154            },
155            "structural_info": {
156              "NC_FORMAT": "CLASSIC"
157            }
158          }
159
160       • Display detailed information about a given array
161
162          $ gdalmdiminfo netcdf-4d.nc -array t -detailed -limit 3
163

AUTHOR

165       Even Rouault <even.rouault@spatialys.com>
166
168       1998-2021
169
170
171
172
173                                 Sep 07, 2021                  GDALMDIMINFO(1)
Impressum