-
Notifications
You must be signed in to change notification settings - Fork 25
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
Access to GCP Storage via it's HTTPS URL #61
Comments
This is not a problem with import xarray as xr
xr.open_zarr('https://console.cloud.google.com/storage/browser/gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr') The URL is not correct. The correct URL is |
Hi @b8raoult , thank you for your response. Much appreciated!. Yes, I agree with you that with the xr.open_zarr() I am able to open the zarr with the URL you mentioned above (gs://gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr), however when running the following python script to call the functions in the anemoi-datasets develop source code, I am obtaining the following:
Error message:
Now, the above error does not occur IF I were to open up an object from an S3 bucket or ECMWF object store (e.g. https://object-store.os-api.cci1.ecmwf.int/ml-examples). For example, when sourcing from the ECMWF object store:
Result is the zarr located in ecmwf's object store will load without the above error that I got when trying to source from GS storage. |
Yes, this is the zarr you put in the YAML file.
|
Hi @b8raoult,
In this case, I then ran the latest release of anemoi-datasets (v0.5.6) via: anemoi-datasets create gcp-gsurl-sample-zarr.yaml test.zarr & the following error will also occur:
|
That's OK. I got that warning message as well. It will eventually finish. |
Hi @b8raoult,
The framework gets hung up & stays at the series of messages of "WARNING Compute Engine Metadata server unavailable on attempt" & does not progress forward after 1hr of wait time. What gets generated is a zarr, test.zarr, with an empty _build folder |
What happened?
When trying to source a zarr from GCP storage via executing
anemoi-datasets
create config.yaml test.zarr' the following error occurs:I am able to obtain the data from an S3 storage and ECMWF URL via the S3 or HTTPS, and HTTPS, respectively -- However, the capability to access an objects a GCP Storage (e.g. https://console.cloud.google.com/storage/browser/gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr) leads to a JSON error. Would it be possible to request a feature to be added for which could accommodate the sourcing of a zarr object from a GCP storage location?
What are the steps to reproduce the bug?
anemoi-datasets create test_gcp_zarr_httpsurl.yaml test_gcp.zarr
and obtained the following error:Version
0.5.0
Platform (OS and architecture)
Linux
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered: