From b7bc29b90a96352543ec3f572d9b75077ea6749c Mon Sep 17 00:00:00 2001 From: Harrison Cook Date: Wed, 18 Mar 2026 11:46:04 +0000 Subject: [PATCH] Remove geo_from_atlas from EncodeMTG class Co-authored-by: Harrison Cook --- python/pymultio/src/multio/plans/actions.py | 5 +---- python/pymultio/tests/test_actions.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/python/pymultio/src/multio/plans/actions.py b/python/pymultio/src/multio/plans/actions.py index e9f7d199a..7d16246ca 100644 --- a/python/pymultio/src/multio/plans/actions.py +++ b/python/pymultio/src/multio/plans/actions.py @@ -146,10 +146,7 @@ def check_not_none(cls, v: str, info: ValidationInfo) -> str: class EncodeMTG(Action): """Encode-mtg2 Action""" type: Literal["encode-mtg2"] = Field("encode-mtg2", init=False) - - geo_from_atlas: bool = Field(False) - cached: bool = Field(True) - + cached: bool = Field(False) class Sink(Action): """Sink Action. diff --git a/python/pymultio/tests/test_actions.py b/python/pymultio/tests/test_actions.py index 2578d1826..a9327810d 100644 --- a/python/pymultio/tests/test_actions.py +++ b/python/pymultio/tests/test_actions.py @@ -29,7 +29,7 @@ def test_allow_dash(): (Print, "print", {"stream": "cout", "prefix": " ++ MULTIO-PRINT-ALL-DEBUG :: ", "only-fields": False}), (Mask, "mask", {}), (Encode, "encode", {"format": "grib", "template": "template", "grid-type": "grid_type"}), - (EncodeMTG, "encode-mtg2", {"geo-from-atlas": True, "cached": True}), + (EncodeMTG, "encode-mtg2", {"cached": True}), (Transport, "transport", {"target": "target"}), (Aggregation, "aggregation", {}), (Sink, "sink", {"sinks": [{"append": True, "path": "debug.grib", "per-server": False, "type": "file"}]}),