From e595747c4bde1889fffac3bf3abad1204bfeb07e Mon Sep 17 00:00:00 2001 From: Jeff Klenzing Date: Wed, 20 Dec 2023 11:14:35 -0500 Subject: [PATCH] BUG: turn off icon downloads --- pysatModels/models/ucar_tiegcm.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pysatModels/models/ucar_tiegcm.py b/pysatModels/models/ucar_tiegcm.py index 7cb9ae79..738a8123 100644 --- a/pysatModels/models/ucar_tiegcm.py +++ b/pysatModels/models/ucar_tiegcm.py @@ -53,7 +53,7 @@ _test_dates = {'': {'': dt.datetime(2019, 1, 1), 'icon': dt.datetime(2020, 1, 10)}} -# TODO (#132): Turn on ICON download tests once pysatNASA 0.0.6 is released. +# TODO(#132): Turn on ICON download tests once pysatNASA 0.0.6 is released. _test_download = {'': {'': False, 'icon': False}} _clean_warn = {'': {tag: general.clean_warn for tag in tags.keys()}} @@ -245,7 +245,10 @@ def download(date_array, tag, inst_id, data_path=None, **kwargs): if tag == '': warnings.warn('Not implemented, currently no support for Globus.') + # TODO(#132): Ensure new download routine is used after pysatNASA release. elif tag == 'icon': + warnings.warn('Not implemented, requires pysatNASA 0.0.6.') + elif tag == 'future_icon': # Set up temporary directory for zip files temp_dir = tempfile.TemporaryDirectory()