Skip to content

Commit

Permalink
Merge pull request #271 from jedwards4b/enhancement/shorter_test_data…
Browse files Browse the repository at this point in the history
…_list

make the amount of data required to download minimal for testing
  • Loading branch information
jedwards4b authored Apr 10, 2024
2 parents df7ccea + 3a4435b commit 3cbc4e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cime_config/stream_cdeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 3cbc4e9

Please sign in to comment.