Closed rustyconover closed 4 years ago
It looks like that piece of information is a function of productDefinitionTemplateNumber and the special values in the product definition template. The equivalent information is in stepType
and stepRange
. In the stepType
key, wgrib2
uses "anl" for analysis and ecCodes uses "instant". They both use "max" for maximum. The stepRange
should always be zero for an analysis product type, and in this file the statistical product types are all just 0 (the first time step only). wgrib2
reports this as "0-0 fcst", and ecCodes just gives "0". I presume that when more time steps are integrated ecCodes gives a range (like "0-6"). That is if I'm interpreting what wgrib2
is printing correctly. It could also being doing math to include how far out the forecast is, in which case the forecastTime
would be added to it.
I hate to be a real bother with these questions thanks for your reply.
Reading through the wgrib2 source code is an adventure.
Right now I can work around this... later on when I start using different GRIBs with different forecast time windows I'll revisit it.
I'm glad to help!
Hi @weech,
I'm continuing on my HRRR workflow but it seems I'm missing a field from the parsed messages:
Some wgrib2 output for table of contents:
Do you see that field that contains "anl' or "0-0 day max fcst" parsing out all of the fields from a messages that doesn't appear to be included. Here are the values that I did find omitting a few large values: