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

Cannot download as .netcdf #88

Open
p-i- opened this issue Nov 3, 2023 · 0 comments
Open

Cannot download as .netcdf #88

p-i- opened this issue Nov 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@p-i-
Copy link

p-i- commented Nov 3, 2023

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

@p-i- p-i- added the bug Something isn't working label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant