Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporal bounds are ignored when -gr is provided #167

Open
skorper opened this issue Apr 16, 2024 · 1 comment
Open

Temporal bounds are ignored when -gr is provided #167

skorper opened this issue Apr 16, 2024 · 1 comment

Comments

@skorper
Copy link
Contributor

skorper commented Apr 16, 2024

We didn't originally support wildcards for -gr, meaning that param would only be used when requesting a specific granule. (temporal bounds were not relevant). Once we added support for wildcards in -gr , we did not consider that temporal bounds are now relevant as -gr may refer to multiple granules if a wildcard is used.

We should update the code so that -gr works with temporal bounds.


Examples (from user who reported this issue):

This command correctly matches with data within the provided temporal bounds:

podaac-data-downloader -c TRPSDL2ALLCRSMGLOS -d data -p GES_DISC -sd 2020-01-01T00:00:00Z -ed 2020-01-02T23:59:59Z

This command corrrect matches NH3 granules, but temporal bounds are ignored:

podaac-data-downloader -c TRPSDL2ALLCRSMGLOS -d data -p GES_DISC -sd 2020-01-01T00:00:00Z -ed 2020-01-02T23:59:59Z -gr *NH3*
@skorper
Copy link
Contributor Author

skorper commented Apr 16, 2024

related to #138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant