You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having issues opening some zipped vector data.
In the snippet below, earthkit.data works fine with version="rgi_6_0", but it raises an error with version="rgi_7_0".
@malmans2, thank you for reporting this issue. When I try to run it with:
earthkit-data develop
cdsapi 0.7.4
I get the following error for both versions:
HTTPError: 400 Client Error: Bad Request for url: https://cds.climate.copernicus.eu/api/retrieve/v1/processes/insitu-glaciers-extent/execution
invalid request
Request has not produced a valid combination of values, please check your selection.
{'variable': 'glacier_area', 'product_type': 'vector', 'version': 'r'}
Are you sure you are running the exact same snippet I sent you?
Looks like your version is incorrect: 'version': 'r'. It should be either "rgi_6_0" or "rgi_7_0".
Maybe you have a bug in your code and you are iterating over a string rather than an iterable of strings?
What happened?
We are having issues opening some zipped vector data.
In the snippet below,
earthkit.data
works fine withversion="rgi_6_0"
, but it raises an error withversion="rgi_7_0"
.What are the steps to reproduce the bug?
Version
0.12.1
Platform (OS and architecture)
Darwin MacBook-Pro-di-Bopen.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:24 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6030 arm64
Relevant log output
Unknown file type, no reader available. path=/var/folders/z4/9f32__x92kl340wxp0m4hfym0000gp/T/tmp4_wsms_8/cds-023bde4eed526ccb72379966cbf08d5cfebea278f82f2143efc49ec801b34338.d/rgi2000_v70_vector.shp magic=b"\x00\x00'\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00$\xceo\xa4\xe8\x03\x00\x00\x0f\x00\x00\x00#h\xcc$\xea}f\xc0;\x1c]\xa5\xbb\x93S\xc0\x96A\xb5\xc1\txf@\x96\xcc\xb1\xbc" content_type=None
Accompanying data
No response
Organisation
B-Open/EQC
The text was updated successfully, but these errors were encountered: