...
Code Block |
---|
% echo 'set edition=2; print "[centre]"; write;' | grib_filter -o out.gribgrib2 - in.gribgrib1 |
Or like this:
Code Block |
---|
% grib_filter -o out.gribgrib2 - in.gribgrib1 <<EOF set edition=2; print "[centre]"; write; EOF |
This filter attempts to convert the messages in the input to edition 2, prints the originating centre and writes the output to disk.
Related articles
Content by Label | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...