Skip to content

Commit 9192d49

Browse files
committed
Update package name
1 parent 47bfa5c commit 9192d49

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dynamic = [
5151
]
5252
dependencies = [
5353
"ai-models",
54-
"multiopython>0.1",
54+
"multio-python>0.1",
5555
]
5656

5757
entry-points."ai_models.output".multio = "ai_models_multio.output:MultioOutput"

src/ai_models_multio/plans.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def to_file(path: os.PathLike, template_path: os.PathLike, **_) -> Client:
3838
actions.Encode(
3939
template=str(template_path),
4040
format="grib",
41-
addtional_metadata={"class": "ml"},
41+
additional_metadata={"class": "ml"},
4242
),
4343
actions.Sink(
4444
sinks=[
@@ -70,7 +70,7 @@ def to_fdb(path: os.PathLike, template_path: os.PathLike, **_) -> Client:
7070
actions.Encode(
7171
template=str(template_path),
7272
format="grib",
73-
addtional_metadata={"class": "ml"},
73+
additional_metadata={"class": "ml"},
7474
),
7575
actions.Sink(sinks=[sinks.FDB(config=str(path))]),
7676
],
@@ -95,8 +95,6 @@ def debug(template_path: os.PathLike, **_) -> Client:
9595
def get_encode_params(values: np.ndarray, metadata: Metadata) -> dict:
9696
"""Get path to the template file
9797
98-
Uses earthkit.data.readers.grib.output.GribCoder to determine the template file
99-
10098
Pulls from in order:
10199
- ai_models_multio/templates
102100
- $MULTIO_RAPS_TEMPLATES_PATH

0 commit comments

Comments
 (0)