File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66## [ Unreleased]
77### Added
88- Added error messages to inform user if .harmony file is formatted incorrectly or missing a key
9+ ### Fixed
10+ - ** PODAAC-6303 (issues/167)**
11+ - Fixed issue where -gr and -sd/-ed (temporal) cannot be used together as a query
912
1013## [ 1.15.2]
1114### Fixed
Original file line number Diff line number Diff line change @@ -109,3 +109,18 @@ def test_downloader_GRACE_with_SHA_512(tmpdir):
109109 modified_time_2 = os .path .getmtime (filename )
110110 print ( modified_time_2 )
111111 assert modified_time_1 == modified_time_2
112+
113+ @pytest .mark .regression
114+ def test_downloader_temporal_and_granule_together ():
115+ # Command: podaac-data-downloader -c TRPSDL2ALLCRSMGLOS -d data -p GES_DISC -sd 2020-01-01T00:00:00Z -ed 2020-01-02T23:59:59Z -gr *NH3*
116+ shutil .rmtree ('./TMP' , ignore_errors = True )
117+ args2 = create_downloader_args (
118+ '-c TRPSDL2ALLCRSMGLOS -d ./TMP -p GES_DISC -sd 2020-01-01T00:00:00Z -ed 2020-01-02T23:59:59Z -gr *NH3*'
119+ .split ())
120+ pdd .run (args2 )
121+ # So running the test in parallel, sometimes we get a 401 on the token...
122+ # Let's ensure we're only looking for data files here
123+ assert len ([name for name in os .listdir ('./TMP' ) if
124+ os .path .isfile ('./TMP/' + name ) and "citation.txt" not in name ]) == 2
125+ shutil .rmtree ('./TMP' )
126+ assert True
You can’t perform that action at this time.
0 commit comments