intake / intake-esm

An intake plugin for parsing an Earth System Model (ESM) catalog and loading assets into xarray datasets.
https://intake-esm.readthedocs.io
Apache License 2.0
130 stars 42 forks source link

Fix for fsspec 2023.10.0 #636

Closed aulemahal closed 8 months ago

aulemahal commented 8 months ago

Change Summary

Instead of a custom f-string to get the full path of files, I used a method of the filesystem object. This solves the string vs tuple issue.

Related issue number

Fixes #635.

Checklist

I did not test with serialization to anything else than a local filesystem.

I tested with fsspec 2022.11.0, the lower bound supported by intake-esm, and the MWE in the issue works as expected.