with stars (uses GDAL MULTIDIM)
## note we have to inner-quote the string (I think ZARR driver needs some attention here)
dsn <- "ZARR:\"/vsicurl/https://mur-sst.s3.us-west-2.amazonaws.com/zarr-v1\""
library(stars)
read_mdim(dsn, proxy = TRUE, bounds = FALSE, variable = "analysed_sst")
stars_proxy object with 1 attribute in 1 file(s):
$analysed_sst
[1] "[...]/zarr-v1"
dimension(s):
from to offset delta refsys values x/y
lon 1 36000 NA NA NA [-179.995,-179.985),...,[179.995,180.005) [x]
lat 1 17999 NA NA NA [-89.995,-89.985),...,[89.985,89.995) [y]
time 1 6443 2002-06-01 1 days Date NULL
with pizzarr
remotes::install_github("keller-mark/pizzarr")