Skip to content

Commit

Permalink
Update package name
Browse files Browse the repository at this point in the history
  • Loading branch information
HCookie committed Dec 10, 2024
1 parent 47bfa5c commit 9192d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dynamic = [
]
dependencies = [
"ai-models",
"multiopython>0.1",
"multio-python>0.1",
]

entry-points."ai_models.output".multio = "ai_models_multio.output:MultioOutput"
Expand Down
6 changes: 2 additions & 4 deletions src/ai_models_multio/plans.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def to_file(path: os.PathLike, template_path: os.PathLike, **_) -> Client:
actions.Encode(
template=str(template_path),
format="grib",
addtional_metadata={"class": "ml"},
additional_metadata={"class": "ml"},
),
actions.Sink(
sinks=[
Expand Down Expand Up @@ -70,7 +70,7 @@ def to_fdb(path: os.PathLike, template_path: os.PathLike, **_) -> Client:
actions.Encode(
template=str(template_path),
format="grib",
addtional_metadata={"class": "ml"},
additional_metadata={"class": "ml"},
),
actions.Sink(sinks=[sinks.FDB(config=str(path))]),
],
Expand All @@ -95,8 +95,6 @@ def debug(template_path: os.PathLike, **_) -> Client:
def get_encode_params(values: np.ndarray, metadata: Metadata) -> dict:
"""Get path to the template file
Uses earthkit.data.readers.grib.output.GribCoder to determine the template file
Pulls from in order:
- ai_models_multio/templates
- $MULTIO_RAPS_TEMPLATES_PATH
Expand Down

0 comments on commit 9192d49

Please sign in to comment.