You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Issues/91 (#92)
* added citation creation tests and functionality to subscriber and downloader
* added verbose option to create_citation_file command, previously hard coded
* updated changelog (whoops) and fixed regression test:
1. Issue where the citation file now downloaded affected the counts
2. Issue where the logic for determining if a file modified time was changing or not was picking up the new citation file which _always_ gets rewritten to update the 'last accessed' date.
* updated request to include exec_info in warning; fixed issue with params not being a dictionary caused errors
* changed a warning to debug for citation file. fixed test issues
* Enable debug logging during regression tests and set max parallel workflows to 2
* added output to pytest
* fixed test to only look for downlaoded data files not citation file due to 'random' cmr errors when creating a citation.
* added mock testing and retry on 503
* added 503 fixes
Co-authored-by: Frank Greguska <[email protected]>
* fixed issues where token was not proagated to CMR queries (#95)
* Misc fixes (#101)
* added ".tiff" to default extensions to address #100
* removed 'warning' message on not downloading all data to close#99
* updated help documentation for start/end times to close#79
* added version update, updates to CHANGELOG
* added token get,delete, refresh and list operations
* Revert "added token get,delete, refresh and list operations"
This reverts commit 15aba90.
* Update python-app.yml
* updated poetry version
Version matches build/test versions.
* Issues/98 (#107)
* added token get,delete, refresh and list operations
* Revert "added token get,delete, refresh and list operations"
This reverts commit 15aba90.
* added EDL (not cmr-token) based get, list,delete, refresh token
* updated token regression tests
* updates and tests for subscriber moving to EDL.
* marked tests as regression test
* Update subscriber/podaac_data_downloader.py
Co-authored-by: Frank Greguska <[email protected]>
* Update subscriber/podaac_data_subscriber.py
Co-authored-by: Frank Greguska <[email protected]>
* Update subscriber/podaac_access.py
Co-authored-by: Frank Greguska <[email protected]>
* Update subscriber/podaac_access.py
Co-authored-by: Frank Greguska <[email protected]>
* Update subscriber/podaac_access.py
Co-authored-by: Frank Greguska <[email protected]>
* added exec info to errors, cleaned up some log statements
Co-authored-by: Frank Greguska <[email protected]>
* Issues/109 (#111)
* Develop (#103)
* Issues/91 (#92)
* added citation creation tests and functionality to subscriber and downloader
* added verbose option to create_citation_file command, previously hard coded
* updated changelog (whoops) and fixed regression test:
1. Issue where the citation file now downloaded affected the counts
2. Issue where the logic for determining if a file modified time was changing or not was picking up the new citation file which _always_ gets rewritten to update the 'last accessed' date.
* updated request to include exec_info in warning; fixed issue with params not being a dictionary caused errors
* changed a warning to debug for citation file. fixed test issues
* Enable debug logging during regression tests and set max parallel workflows to 2
* added output to pytest
* fixed test to only look for downlaoded data files not citation file due to 'random' cmr errors when creating a citation.
* added mock testing and retry on 503
* added 503 fixes
Co-authored-by: Frank Greguska <[email protected]>
* fixed issues where token was not proagated to CMR queries (#95)
* Misc fixes (#101)
* added ".tiff" to default extensions to address #100
* removed 'warning' message on not downloading all data to close#99
* updated help documentation for start/end times to close#79
* added version update, updates to CHANGELOG
* added token get,delete, refresh and list operations
* Revert "added token get,delete, refresh and list operations"
This reverts commit 15aba90.
* Update python-app.yml
Co-authored-by: Frank Greguska <[email protected]>
* updated poetry version
Version matches build/test versions.
* Update README.md
* Update podaac_data_downloader.py
Fixing for issues 109 - adding capability to download by granule-name
* Update Downloader.md
Fixed the help file
* added changelog entries, regressiont ests
* added poetry lock cleanup
Co-authored-by: Frank Greguska <[email protected]>
Co-authored-by: Frank Greguska <[email protected]>
Co-authored-by: sureshshsv <[email protected]>
Co-authored-by: sureshshsv <[email protected]>
* added README information and updates (#113)
* fixed pymock issues... again
Co-authored-by: Frank Greguska <[email protected]>
Co-authored-by: Frank Greguska <[email protected]>
Co-authored-by: sureshshsv <[email protected]>
Co-authored-by: sureshshsv <[email protected]>
--offset OFFSET Flag used to shift timestamp. Units are in hours, e.g. 10 or -10.
35
35
-e EXTENSIONS, --extensions EXTENSIONS
36
36
The extensions of products to download. Default is [.nc, .h5, .zip, .tar.gz]
37
+
-gr GRANULE, --granule-name GRANULE
38
+
The name of the granule to download. Only one granule name can be specified. Script will download all files matching similar granule name sans extension.
37
39
--process PROCESS_CMD
38
40
Processing command to run on each downloaded file (e.g., compression). Can be specified multiple times.
39
41
--version Display script version information and exit.
If you're aware of a file you want to download, you can use the `-gr` option to download by a filename. The `-c` (COLLECTION) and `-d` (directory) options are still required.
129
+
130
+
The `-gr` option works by taking the file name, removing the suffix and searching for a CMR entry called the granuleUR. Some examples of this include:
Because of this behavior, granules without data suffixes and granules where the the UR does not directly follow this convention may not work as anticipated. We will be adding the ability to download by granuleUR in a future enhancement.
138
+
139
+
124
140
### Download data by cycle
125
141
126
142
Some PO.DAAC datasets are better suited for cycles based search instead of start and end times. To enabled this, we've added 'cycle' based downloading to the data-downloader. The following example will download data from cycle 42:
0 commit comments