Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
1. Experiment with using the different grib_dump options
(-O, -a and –t). Inspect the GRIB message in the files file1.grib1 and file1.grib2 and identify:
the GRIB edition used to encode the messages
the (MARS)parameter ID, date, time, forecast step and the grid geometry
What are the maximum, minimum and average values of the fields?
Expand | ||
---|---|---|
| ||
To view the keys available for GRIB1 and GRIB2 have a look at the parameter database at http://apps.ecmwf.int/codes/grib/
Similarly for the file file2.grib2
|
2. Use grib_ls to print the centre, dataDate, stepRange, levelType, shortName and paramId for msl.grib1 and msl.grib2 and order by ascending stepRange.
Experiment with both –P and –p options and ‘key:i’, ‘key:s’
Which keys does grib_ls show by default for the two files ?
What fields do they contain
Expand | ||
---|---|---|
| ||
To list the GRIB messages in msl.grib1, use:
The file contains mean sea-level pressure (shortName=msl) from the ECMWF ENS control forecast (dataType=cf) for 6-hourly steps from 0 to 24 hours for dataDate=20190201. The messages are encoded in GRIB edition 1.
|
3. Find the value of the MSLP at the grid point nearest to ECMWF (Lat 51.42°N, Lon 0.95° W) at each forecast step
What is the lat-lon value of the grid point nearest to ECMWF ?
How far is the chosen grid point from ECMWF ?
Use the file lsm.grib1 to provide a land-sea mask - are all four nearest grid points land points (mask ≥ 0.5) ?
Expand | ||
---|---|---|
| ||
To list the nearest points to ECMWF (Lat 51.42 N, Lon 0.95 W) use The nearest grid point is at latitude=51.62 longitude=359.10 (=0.9 W) and is 22.57 km from ECMWF. |