-
Notifications
You must be signed in to change notification settings - Fork 5
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
404 error with read_zarr_array #13
Comments
Hi, thanks for the intrest in using Rarr. You're getting this error because the zarr found at that location actually contains a large number of arrays. Rarr currently only reads single arrays. For example, if we want to access the cape_data_s3_address <- "https://storage.googleapis.com/gcp-public-data-arco-era5/co/single-level-reanalysis.zarr/cape"
zarr_overview(cape_data_s3_address)
#> Type: Array
#> Path: https://storage.googleapis.com/gcp-public-data-arco-era5/co/single-level-reanalysis.zarr/cape/
#> Shape: 374016 x 542080
#> Chunk Shape: 1 x 542080
#> No. of Chunks: 374016 (374016 x 1)
#> Data Type: float32
#> Endianness: little
#> Compressor: blosc Then we can read it with read_zarr_array(cape_data_s3_address,index=list(1:10,1))
#> [,1]
#> [1,] 0.500
#> [2,] 0.125
#> [3,] 0.125
#> [4,] 0.125
#> [5,] 0.250
#> [6,] 0.500
#> [7,] 0.625
#> [8,] 0.750
#> [9,] 0.625
#> [10,] 0.750 I will look at implementing a mechanism for |
Thanks--this is very much out of my wheelhouse datawise, so part of it is getting familiar with how these data get served up. This appears to be working, so I can close out the issue. |
I'm trying to read in ERA5 data from Google's Zarr archive: https://cloud.google.com/storage/docs/public-datasets/era5
Here's the code I've set up:
`library(Rarr)
s3_address<-"https://storage.googleapis.com/gcp-public-data-arco-era5/co/single-level-reanalysis.zarr"
zarr_overview(s3_address)
read_zarr_array(s3_address,index=list(1:10,NULL,1))`
zarr_overview
works, but theread_zarr_array
gives me this error: Error: NoSuchKey (HTTP 404). The specified key does not exist.This is on a Windows machine if that matters.
The text was updated successfully, but these errors were encountered: