@@ -3,7 +3,8 @@ grib2json
3
3
4
4
A command line utility that decodes [ GRIB2] ( http://en.wikipedia.org/wiki/GRIB ) files as JSON.
5
5
6
- This utility uses the netCDF-Java GRIB decoder, part of the [ THREDDS] ( https://github.com/Unidata/thredds ) project.
6
+ This utility uses the netCDF-Java GRIB decoder, part of the [ THREDDS] ( https://github.com/Unidata/thredds ) project
7
+ by University Corporation for Atmospheric Research/Unidata.
7
8
8
9
Installation
9
10
------------
@@ -36,8 +37,9 @@ Usage: grib2json [options] FILE
36
37
[--verbose -v] : enable logging to stdout
37
38
```
38
39
39
- For example, the following command outputs the records for parameter 2 (U-component_of_wind), with
40
- surface type 103 (Specified height level above ground), and surface value 10.0 meters:
40
+ For example, the following command outputs to stdout the records for parameter 2 (U-component_of_wind), with
41
+ surface type 103 (Specified height level above ground), and surface value 10.0 meters from the GRIB2 file
42
+ _ gfs.t18z.pgrbf00.2p5deg.grib2_ . Notice the optional inclusion of human-readable _ xyzName_ keys:
41
43
42
44
```
43
45
> grib2json --fp 2 --fs 103 --fv 10.0 --names gfs.t18z.pgrbf00.2p5deg.grib2
@@ -51,7 +53,12 @@ surface type 103 (Specified height level above ground), and surface value 10.0 m
51
53
"gribLength":27759,
52
54
"center":7,
53
55
"centerName":"US National Weather Service - NCEP(WMC)",
54
- "subcenter":0,
56
+ "parameterNumber":2,
57
+ "parameterNumberName":"U-component_of_wind",
58
+ "parameterUnit":"m.s-1",
59
+ "surface1Type":103,
60
+ "surface1TypeName":"Specified height level above ground",
61
+ "surface1Value":10.0,
55
62
...
56
63
}
57
64
}
0 commit comments