From 98f6a57667fd2a641221d03b194e429849c4a38e Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Wed, 13 May 2026 10:56:18 +0100 Subject: [PATCH 1/2] Do not enforce request splitting in standalone mars client --- docs/release_notes/index.rst | 1 + docs/release_notes/version_0.20_update.rst | 12 ++++++++++++ src/earthkit/data/sources/mars.py | 1 - 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 docs/release_notes/version_0.20_update.rst diff --git a/docs/release_notes/index.rst b/docs/release_notes/index.rst index 50970a85c..e8d08dd06 100644 --- a/docs/release_notes/index.rst +++ b/docs/release_notes/index.rst @@ -15,6 +15,7 @@ Version updates .. toctree:: :maxdepth: 1 + version_0.20_updates version_0.19_updates version_0.18_updates version_0.17_updates diff --git a/docs/release_notes/version_0.20_update.rst b/docs/release_notes/version_0.20_update.rst new file mode 100644 index 000000000..b91f13bc5 --- /dev/null +++ b/docs/release_notes/version_0.20_update.rst @@ -0,0 +1,12 @@ +Version 0.20 Updates +///////////////////////// + + +Version 0.20.0 +=============== + +Changes +++++++++++++++++++++++++++++++ + +Previously, when using the :ref:`data-sources-mars` source via the standalone MARS client the ``MARS_AUTO_SPLIT_BY_DATES="1"`` environment variable was set to enable splitting of MARS requests by date when needed. However, this approach has been removed and now users must set this environment variable themselves when needed. This change was made to give users more control over the behavior of MARS requests and to avoid potential issues with unintended splitting of requests. (:pr:`974`) + \ No newline at end of file diff --git a/src/earthkit/data/sources/mars.py b/src/earthkit/data/sources/mars.py index d90e47399..a90710a67 100644 --- a/src/earthkit/data/sources/mars.py +++ b/src/earthkit/data/sources/mars.py @@ -53,7 +53,6 @@ def execute(self, request, target, log=None): subprocess.run( [self.command(), filename], - env=dict(os.environ, MARS_AUTO_SPLIT_BY_DATES="1"), check=True, **log, ) From 2cf19e62b13abee9beacaeb591584877a201ace6 Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Wed, 13 May 2026 10:59:19 +0100 Subject: [PATCH 2/2] Do not enforce request splitting in standalone mars client --- docs/release_notes/version_0.20_update.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/release_notes/version_0.20_update.rst b/docs/release_notes/version_0.20_update.rst index b91f13bc5..cae0ce90c 100644 --- a/docs/release_notes/version_0.20_update.rst +++ b/docs/release_notes/version_0.20_update.rst @@ -9,4 +9,3 @@ Changes ++++++++++++++++++++++++++++++ Previously, when using the :ref:`data-sources-mars` source via the standalone MARS client the ``MARS_AUTO_SPLIT_BY_DATES="1"`` environment variable was set to enable splitting of MARS requests by date when needed. However, this approach has been removed and now users must set this environment variable themselves when needed. This change was made to give users more control over the behavior of MARS requests and to avoid potential issues with unintended splitting of requests. (:pr:`974`) - \ No newline at end of file