But with my own file the exact same works until zarr_overview() but for the exact same file path says "Error in open.connection(con, "rb") : cannot open the connection"
> z1 <- "/net/data/MODIS/MCD43C4/gapfilled-kndvi-8D-0.05deg-1x3600x7200/data/gapfilled_kndvi_2000-2023_8D_0.05deg_1x3600x7200.zarr"
> zarr_overview(z1)
Type: Group of Arrays
Path: /net/data/MODIS/MCD43C4/gapfilled-kndvi-8D-0.05deg-1x3600x7200/data/gapfilled_kndvi_2000-2023_8D_0.05deg_1x3600x7200.zarr
Arrays:
---
Path: GAPFILL_kNDVI
Shape: 1098 x 3600 x 7200
Chunk Shape: 1 x 3600 x 7200
No. of Chunks: 1098 (1098 x 1 x 1)
Data Type: float32
Endianness: little
Compressor: blosc
---
Path: lat
Shape: 3600
Chunk Shape: 3600
No. of Chunks: 1 (1)
Data Type: float64
Endianness: little
Compressor: blosc
---
Path: lon
Shape: 7200
Chunk Shape: 7200
No. of Chunks: 1 (1)
Data Type: float64
Endianness: little
Compressor: blosc
---
Path: time
Shape: 1098
Chunk Shape: 46
No. of Chunks: 24 (24)
Data Type: int64
Endianness: little
Compressor: blosc
> read_zarr_array(zarr_array_path = "/net/data/MODIS/MCD43C4/gapfilled-kndvi-8D-0.05deg-1x3600x7200/data/gapfilled_kndvi_2000-2023_8D_0.05deg_1x3600x7200.zarr",
+ index = list(1, NULL, NULL))
Error in open.connection(con, "rb") : cannot open the connection
In addition: Warning message:
In open.connection(con, "rb") :
cannot open file '/net/data/MODIS/MCD43C4/gapfilled-kndvi-8D-0.05deg-1x3600x7200/data/gapfilled_kndvi_2000-2023_8D_0.05deg_1x3600x7200.zarr/.zarray': No such file or directory
never mind - typing it out cleared it for me. needed to append "/GAPFILL_kNDVI" to the file path so that i'm reading in the GAPFILL_kNDVI array instead of a group of arrays.
sorry!
Hi, I hope I'm not overseeing some basic mistake from my side, but I feel like this should work but doesn't. What works:
But with my own file the exact same works until
zarr_overview()
but for the exact same file path says "Error in open.connection(con, "rb") : cannot open the connection"Any idea why?