Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves CCD-1636
This PR improves the crds_s3_get script by allowing the user to pass in just the filename (mapping or reference file). The script will determine the exact s3 URI based on the observatory and other environment variables. The destination arg is now an optional argument, and defaults to CRDS_PATH env var. It is still possible to pass in the full s3 uri and absolute path for download destination; these changes allow for a much simpler invocation, e.g. "crds_s3_get roman_0088.pmap".
Tasks
docs/pageno-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see below for change types)news fragment change types...
changes/<PR#>.hst.rst: HST reference fileschanges/<PR#>.jwst.rst: JWST reference fileschanges/<PR#>.roman.rst: Roman reference fileschanges/<PR#>.doc.rst: documentation changechanges/<PR#>.testing.rst: change to tests or test automationchanges/<PR#>.general.rst: infrastructure or miscellaneous change