File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/nwp_consumer/internal/repositories/raw_repositories Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,10 @@ def repository() -> entities.RawRepositoryMetadata:
8484 optional_env = {},
8585 postprocess_options = entities .PostProcessOptions (),
8686 available_models = {
87- "default" : entities .Models .MO_UM_GLOBAL_10KM ,
88- "um-global-10km" : entities .Models .MO_UM_GLOBAL_10KM ,
87+ "default" : entities .Models .MO_UM_GLOBAL_10KM \
88+ .with_region ("india" ),
89+ "um-global-india" : entities .Models .MO_UM_GLOBAL_10KM \
90+ .with_region ("india" ),
8991 },
9092 )
9193
@@ -95,7 +97,7 @@ def model() -> entities.ModelMetadata:
9597 requested_model : str = os .getenv ("MODEL" , default = "default" )
9698 if requested_model not in MetOfficeDatahubRawRepository .repository ().available_models :
9799 log .warn (
98- f"Unknown model '{ requested_model } ' requested, falling back to default. " ,
100+ f"Unknown model '{ requested_model } ' requested, falling back to default. "
99101 "MetOffice Datahub repository only supports "
100102 f"'{ list (MetOfficeDatahubRawRepository .repository ().available_models .keys ())} '. "
101103 "Ensure MODEL environment variable is set to a valid model name." ,
You can’t perform that action at this time.
0 commit comments