Open peterdudfield opened 1 year ago
with fsspec.open("s3://nowcasting-nwp-development/data/latest.netcdf", mode="rb""") as f:
nwp = xr.load_dataset(f, engine='h5netcdf')
is the same error
The current save method is
The current save method is
with fsspec.open("simplecache::s3://nowcasting-nwp-development/data/test.netcdf", mode="wb") as f:
dataset.to_netcdf(f,engine='h5netcdf')
This might work - it did not
with fsspec.open("s3://nowcasting-nwp-development/data/test.netcdf", mode="rb") as f:
file_bytes = f.read()
with io.BytesIO(file_bytes) as file:
nwp = xr.load_dataset(file, engine='h5netcdf')
Still struggling to load netcdf file from s3, could we show an example on how to do this?
I tried
and