Skip to content

Commit

Permalink
fix(consumer): Chunking error (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc authored Jan 22, 2025
1 parent 1c9b232 commit 5bbd373
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ def repository() -> entities.RawRepositoryMetadata:
optional_env={},
postprocess_options=entities.PostProcessOptions(),
available_models={
"default": entities.Models.MO_UM_GLOBAL_10KM,
"um-global-10km": entities.Models.MO_UM_GLOBAL_10KM,
"default": entities.Models.MO_UM_GLOBAL_10KM\
.with_region("india"),
"um-global-india": entities.Models.MO_UM_GLOBAL_10KM\
.with_region("india"),
},
)

Expand All @@ -95,7 +97,7 @@ def model() -> entities.ModelMetadata:
requested_model: str = os.getenv("MODEL", default="default")
if requested_model not in MetOfficeDatahubRawRepository.repository().available_models:
log.warn(
f"Unknown model '{requested_model}' requested, falling back to default. ",
f"Unknown model '{requested_model}' requested, falling back to default. "
"MetOffice Datahub repository only supports "
f"'{list(MetOfficeDatahubRawRepository.repository().available_models.keys())}'. "
"Ensure MODEL environment variable is set to a valid model name.",
Expand Down

0 comments on commit 5bbd373

Please sign in to comment.