Is it possible to see which fxx/steps are available for a model run? #464
Replies: 2 comments 4 replies
-
|
I don't think this currently exists, but would certainly be useful. I have mostly resorted to looking at model documentation from various sources to know which fxx values are available for a given model and initialization time. It's not always easy to find, though. And at least once think I have found errors in official documentation (see #421). For ECMWF IFS I have these notes: Used in some code here: https://github.com/williamhobbs/energy-forecasting-tools/blob/661d0bfc4c5d77605a8c61de412b3ef916c1653a/forecast_solar.py#L82-L119 This is somewhat related, but not exactly the same: https://herbie.readthedocs.io/en/stable/user_guide/tutorial/latest.html. |
Beta Was this translation helpful? Give feedback.
-
|
@williamhobbs is right, this doesn't exist, but could. I mainly haven't added this feature due to the maintenance burden. For example, the early versions of HRRR only have hourly forecasts 0-18, and then later versions have longer lead times, but only for certain hours. Lead times for other models can be complicated and change in the future. I would entertain a pull request to add this feature to any model you are interested in. Changes would go in the model template file. You would add some logic that checked the user's fxx value against a list of known valid options. I would prefer only raising a warning if the user provided an invalid lead time, and tell the user what the expected fxx values are (and preferrably point to documentation describing the model's output interval). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, this gets the default fxx = 0 for ecmwf/ifs.
Is it possible to infer or access a list of the available forecast steps somehow? Somehing like
fxx_list = [0,1,2,3, ... 144, 147, 150]Beta Was this translation helpful? Give feedback.
All reactions