Skip to content

Commit 9722d68

Browse files
committed
update readme
1 parent 4e5de35 commit 9722d68

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ grib2json
33

44
A command line utility that decodes [GRIB2](http://en.wikipedia.org/wiki/GRIB) files as JSON.
55

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

89
Installation
910
------------
@@ -36,8 +37,9 @@ Usage: grib2json [options] FILE
3637
[--verbose -v] : enable logging to stdout
3738
```
3839

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

4244
```
4345
> 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
5153
"gribLength":27759,
5254
"center":7,
5355
"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,
5562
...
5663
}
5764
}

0 commit comments

Comments
 (0)