...
Excerpt |
---|
|
You can use the grib_dump command with the "-D" option: |
How can I see the contents of an index file?
Step-by-step guide
You can use the grib_dump command with the "-D" option:
Code Block |
---|
% grib_dump -D my.index |
And the output will look something like this:
...
***** FILE: my.idx
GRIB File: data/tigge_cf_ecmwf.grib2
|
...
...
data/tigge_af_ecmwf.grib2
|
...
Index keys:
key name = mars.date
values = 20070122, 20060630, 20060623, 20060811, 20060619 |
...
key name = mars.stream
values = |
...
...
key name = mars.type
values = |
...
...
key name = mars.step
values = |
...
...
key name = mars.param
values = |
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
0
key name = mars.levtype
values = |
...
...
key name = mars.levelist
values = |
...
...
key name = mars.number
values = |
...
...
...
...
...
You can see which GRIB files were used to build that index as well as the keys and their values. In the above example the keys belonged to the "mars" namespace.
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | ~usa |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = in ("kb-how-to-article","eccodes-faqs","grib","grib_dump","index","list") and label in ("index","grib","grib_dump") and type = "page" and space = "~usaUDOC" |
---|
labels | kb-how-to-article |
---|
|