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                       <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

C API

47       This utility is also callable from C with GDALMultiDimInfo().
48

EXAMPLES

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

AUTHOR

159       Even Rouault <even.rouault@spatialys.com>
160
162       1998-2021
163
164
165
166
167                                 Jan 05, 2021                  GDALMDIMINFO(1)
Impressum