-
-
Notifications
You must be signed in to change notification settings - Fork 9
Metoffice global options, and dont fail if not results #289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can I just check the motivation for this?
I'm just wondering why it isn't a straight update to the india model implementation in the mo_datahub repository to say it's only running at 0 and 12. Having both implementations of the model is only necessary if we're pulling both from the same repository, which I don't think we are? But maybe my knowledge is behind the times... |
|
|
So this line covers UKV, and these two lines cover the global india and uk crops. If its a matter of the global india runtime being different, shouldn't we just add the So we'd end up with: available_models={
"default": entities.Models.MO_UM_GLOBAL_10KM.with_region("india"),
"um-global-10km-india": entities.Models.MO_UM_GLOBAL_10KM.with_region("india").with_running_hours([0, 12]),
"um-global-10km-uk": entities.Models.MO_UM_GLOBAL_10KM.with_region("uk"),
"um-ukv-2km": entities.Models.MO_UM_UKV_2KM_LAEA,
},or, even better, if both the uk and india global model implementations are actually run on this lower cadence, just update it in the model medatada directly? |
how do we cover different delay hours? |
|
Apologies for potentially being slow on this - different delay hours between what and what exactly? If you're meaning different delay hours between the global and the ukv models, then we cover that as in the second example above. If you mean different delay hours between the india global and uk global specifically, then we cover that as in the first example above. If however, you mean that we are pulling the same crop of a model, from the same repository, with different delays, then we'll have to implement something like what you've written in the PR. I just wanted to confirm that this was actually what was happening, because as far as I'm aware, we don't do this - unless something has changed recently. In the issue description, you've just put
which sounds to me like there is only a difference between the global and the UKV models. So we'd do the second example above. But perhaps I'm misunderstanding! |
Different delay hours between the global and the ukv models, sorry i missed how this was solved |
|
In that case, we just need to update this line:
|
but the UKV nwp consumer, does need running hours of [0,6,12,18]
ah nice. Ok ill update it then. What about the difference in delays thats currently here |
The UKV model metadata has seperate defined running hours to the global one:
Ah I see. That's the delay in the dissemination, i.e. how long it takes after the init time of the model until it is available on datahub. Is this different for the two models? |
yea, metoffice UKV I think is 2 hours, where as global is more like 5 hours. |
|
Ah okay, so we should probably move that to be a property on the model metadata instead of the repository metadata then! Then it can be varied per model |
shall i have a go at moving it over? |
|
Although its perhaps not as simple as I thought, as ECMWF_realtime, and ECMWF_mars use the same entitles.Models, but have different |
|
I understand now that the models themselves have to have the ability to have different delays. As such I think the best course of action is to:
This will also require updating the tests! |
|
Done in #293 |
Pull Request
Description
delay_minutesfor Metoffice in ModelMetadata, different for UKV and global#288
How Has This Been Tested?
Checklist: