-
Notifications
You must be signed in to change notification settings - Fork 99
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
Download fails when ATL06 data larger than around 500 MB #382
Comments
Hello @arindan! Thanks for reaching out. We've had a few other reports of data downloads being incomplete, hanging, etc. and are working with the data center (NSIDC) to figure them out. To help us, would it be possible for you to share the entire error traceback (i.e. that whole long message that prints out with the error)? This looks like it may be another issue that's not technically happening within icepyx (but clearly still needs to be addressed). Thanks! |
Dear Jessica, Thank you for the comment. Below I have copied the complete error message, if can find something which is not working in my own machine. Best, `Total number of data order requests is 1 for 16 granules. IncompleteRead Traceback (most recent call last) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/urllib3/response.py:818, in HTTPResponse.read_chunked(self, amt, decode_content) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/urllib3/response.py:762, in HTTPResponse._handle_chunk(self, amt) File ~/anaconda3/envs/icesat2/lib/python3.10/http/client.py:632, in HTTPResponse._safe_read(self, amt) IncompleteRead: IncompleteRead(6138 bytes read, 4102 more expected) During handling of the above exception, another exception occurred: ProtocolError Traceback (most recent call last) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/urllib3/response.py:623, in HTTPResponse.stream(self, amt, decode_content) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/urllib3/response.py:803, in HTTPResponse.read_chunked(self, amt, decode_content) File ~/anaconda3/envs/icesat2/lib/python3.10/contextlib.py:153, in _GeneratorContextManager.exit(self, typ, value, traceback) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/urllib3/response.py:460, in HTTPResponse._error_catcher(self) ProtocolError: ('Connection broken: IncompleteRead(6138 bytes read, 4102 more expected)', IncompleteRead(6138 bytes read, 4102 more expected)) During handling of the above exception, another exception occurred: ChunkedEncodingError Traceback (most recent call last) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/icepyx/core/query.py:957, in Query.download_granules(self, path, verbose, subset, restart, **kwargs) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/icepyx/core/granules.py:532, in Granules.download(self, verbose, path, session, restart) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/requests/sessions.py:600, in Session.get(self, url, **kwargs) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/requests/sessions.py:587, in Session.request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/requests/sessions.py:745, in Session.send(self, request, **kwargs) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/requests/models.py:899, in Response.content(self) File ~/anaconda3/envs/icesat2/lib/python3.10/site-packages/requests/models.py:818, in Response.iter_content..generate() ChunkedEncodingError: ('Connection broken: IncompleteRead(6138 bytes read, 4102 more expected)', IncompleteRead(6138 bytes read, 4102 more expected))` |
Hi everyone,
I am Arindan from India. I have been exploring the ALT06 data through icepyx for the past few weeks. Its has been great going so far, but when my download query goes beyond ~500 MB, the download fails with an error message
ChunkedEncodingError
ChunkedEncodingError: ('Connection broken: IncompleteRead(6138 bytes read, 4102 more expected)', IncompleteRead(6138 bytes read, 4102 more expected))
Below I have attached a screen shot of my recent query which got failed even the data was <500 MB.
First I thought it would because of my personal machine which cannot download that much data in one go. Later I tried to run the Jupyter book in a HPC environment, but still it shows the same error message.
Any help or suggestion would be super useful to solve my problem.
Thank you.
Best,
Arindan
The text was updated successfully, but these errors were encountered: