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

--limit option doesn't work for downloader #86

Closed
wveit opened this issue Jun 15, 2022 · 1 comment
Closed

--limit option doesn't work for downloader #86

wveit opened this issue Jun 15, 2022 · 1 comment

Comments

@wveit
Copy link
Contributor

wveit commented Jun 15, 2022

Running the command $ podaac-data-downloader -c GRACEFO_L2_CSR_MONTHLY_0060 -sd 2020-01-01T00:00:00Z -ed 2020-01-02T00:00:00Z -d ~/grace --limit 1 --verbose -e 00 causes 8 files to be downloaded even with --limit 1

The --limit option used to work, by setting the page_size in the CMR request. This worked because the downloader would only make 1 CMR request.

But now that the downloader/subscriber have implemented paging, setting page_size only results in multiple CMR requests.

Subscriber doesn't have --limit option, so it's not affected.

@mike-gangl
Copy link
Contributor

this will be fixed in our next release- either 1.10.2 or 1.11.0

@mike-gangl mike-gangl mentioned this issue Jun 22, 2022
mike-gangl added a commit that referenced this issue Jun 22, 2022
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

2 participants