...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
To copy only those messages for parameter T from the GRIB file file1.grib1 use grib_copy with the -w option to specify a shortName=t:
Similarly to copy only those messages for parameter Z, use:
Or, more simply, and because the file contains only parameters T and Z, one can use:
Using grib_ls of the two files confirms that the contents are correct. For example:
|
...
Expand | ||||
---|---|---|---|---|
| ||||
To reorder the messages in order of ascending pressure level, use, e.g.:
Note the use of “level:l” i” here to specify that the level should be treated as an integer ! Using grib_ls to inspect the two files confirms that the contents are correct. For example:
|
...
2. Use grib_set to change the date and time to 12UTC on 4 February 2019 for all messages in file1.grib1
...