From 3a4435be1daa77f4e15f4243df22e6d4dbd39a0b Mon Sep 17 00:00:00 2001 From: James Edwards Date: Tue, 2 Apr 2024 14:45:06 -0500 Subject: [PATCH] make the amount of data required to download minimal for testing --- cime_config/stream_cdeps.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cime_config/stream_cdeps.py b/cime_config/stream_cdeps.py index 1f702a13c..28db8a905 100644 --- a/cime_config/stream_cdeps.py +++ b/cime_config/stream_cdeps.py @@ -204,6 +204,9 @@ def create_stream_xml( data_year_first, data_year_last = self._get_stream_first_and_last_dates( self.stream_nodes, case ) + # If this is a test we don't need the full extent of the data + if case.get_value("TEST"): + data_year_first = max(data_year_last-2, data_year_first) # now write the data model streams xml file stream_vars = {}