...
Code Block |
---|
|
# Example 3 first fix
# PDT = 8 means interval-based deterministic (non-ensemble) product
% grib_set -s productDefinitionTemplateNumber=8,paramId=47 in47 in.grib out.grib |
Note that there are several such templates (all of which have the key typeOfStatisticalProcessing). For example for chemical or aerosol products it will be a different number ( See here for the full list ).
The other way of solving this is via setting the stepType key which under the hood selects the PDT:
Code Block |
---|
|
# Example 3 second fix
% grib_set -s stepType=accum,paramId=47 in47 in.grib out.grib
# Check what it did
% grib_get -p productDefinitionTemplateNumber out.grib
8 |
...