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

-dc flag fails when GranuleUR and granule filename do not match #160

Closed
stephenykp opened this issue Mar 1, 2024 · 0 comments · Fixed by #180
Closed

-dc flag fails when GranuleUR and granule filename do not match #160

stephenykp opened this issue Mar 1, 2024 · 0 comments · Fixed by #180
Assignees
Labels
bug Something isn't working

Comments

@stephenykp
Copy link
Contributor

The -dc flag allows users to download data into folders by cycle. As written, this assumes the CMR UMM-G GranuleUR matches the granule filename (without extension). This is not always the case, for example SWOT sub-collections.

We should update this logic so the filename and GranuleUR don't have to match for the -dc flag to work as expected.

This issue can be recreated with the following command:

podaac-data-downloader -c SWOT_L2_NALT_GDR_SSHA_2.0 -d .data/ -e .nc -dc --cycle 474
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants