cdsapi
cdsapi copied to clipboard
Cannot download as .netcdf
What happened?
I'm unable to get this to work for .netcdf
e.g. I take the example in the README.md, run it (it works), then switch format to 'netcdf', and now it spins its wheels:
I've tried a couple of other test queries, and get the same problem.
What are the steps to reproduce the bug?
c.retrieve('reanalysis-era5-pressure-levels', {
"variable": "temperature",
"pressure_level": "1000",
"product_type": "reanalysis",
"date": "2017-12-01/2017-12-31",
"time": "12:00",
"format": "netcdf"
}, 'download.netcdf')
Version
0.6.1
Platform (OS and architecture)
N/A
Relevant log output
Output:
DEBUG:urllib3.connectionpool:Resetting dropped connection: cds.climate.copernicus.eu
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/status.json](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/status.json) HTTP/1.1" 200 58
2023-11-03 19:28:59,721 INFO Welcome to the CDS
INFO:cdsapi:Welcome to the CDS
2023-11-03 19:28:59,724 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-pressure-levels
INFO:cdsapi:Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-pressure-levels
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "POST [/api/v2/resources/reanalysis-era5-pressure-levels](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/resources/reanalysis-era5-pressure-levels) HTTP/1.1" 202 124
2023-11-03 19:29:00,026 INFO Request is queued
INFO:cdsapi:Request is queued
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
DEBUG:urllib3.connectionpool:[https://cds.climate.copernicus.eu:443](https://cds.climate.copernicus.eu/) "GET [/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a](https://vscode-remote+ssh-002dremote-002bada.vscode-resource.vscode-cdn.net/api/v2/tasks/2082054c-7ef4-4562-b5b4-25a26062156a) HTTP/1.1" 200 124
:
Accompanying data
No response
Organisation
No response