amcz/hysplit_metdata

Download fail after New CDS-beta conline

BonjourBengzhu opened this issue · 0 comments

I think that the code is still usable. But when I down load data for this year, the scripts kept telling me that the connection is broken then it move to the next file and same error came up. Now I can see that there is barely change in the download methods. So how can we prevent the errors?
here is the error message.

File "D:\Anaconda3\Lib\site-packages\multiurl\base.py", line 129, in download
total = self.transfer(f, pbar)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Anaconda3\Lib\site-packages\multiurl\http.py", line 125, in transfer
for chunk in stream(chunk_size=self.chunk_size):
File "D:\Anaconda3\Lib\site-packages\requests\models.py", line 818, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(7684096 bytes read, 1762064 more expected)', IncompleteRead(7684096 bytes read, 1762064 more expected))