data-subscriber icon indicating copy to clipboard operation
data-subscriber copied to clipboard

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

Open skorper opened this issue 1 year ago • 0 comments

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

skorper avatar Mar 01 '24 22:03 skorper