Closed ZihengSun closed 1 year ago
@ZihengSun , thanks for reporting this -- I can reproduce.
The intake file specifies compression
thusly:
sources:
nwm-reanalysis:
driver: intake_xarray.xzarr.ZarrSource
description: 'National Water Model Reanalysis, version 2.1'
args:
urlpath: 'reference://'
storage_options:
simple_templates: True
target_options:
anon: true
compression: 'zstd'
target_protocol: s3
fo: 's3://esip-qhub-public/noaa/nwm/nwm_reanalysis.json.zst'
remote_options:
anon: true
remote_protocol: s3
@lsterzinger or @martindurant, did something change with the specification of the compression
argument?
I seem to recall that this was reported previously and fixed on fsspec main
- what exact version do you have?
Thanks @ZihengSun for reporting this, sorry I didn't respond earlier - I was on vacation last week.
I'm reproducing this issue with intake==0.7
and fsspec==2023.6.0
, both of which are the latest release versions. Going to try rolling some of these back to see if I can pin a version and get the environment working (it could use an update anyways) as a workaround.
https://github.com/fsspec/filesystem_spec/pull/1273 was supposed to fix this, and was before the most recent release
Please try with https://github.com/fsspec/filesystem_spec/pull/1316
Worked for me @martindurant - when this makes it into a release I'll pin it in this repo's environment. Thanks for fixing this so quickly!
Awesome! Thanks everyone!
Description
Try to run the notebook nwd_hindcast_intake and stuck at the step
ds = cat['nwm-reanalysis'].to_dask()
with the following error:Urgency Level
No rush.
Hunch
Some incompatibility between s3fs and fsspec?