This repository was archived by the owner on Sep 11, 2023. It is now read-only.
Use fsspec
and/or pathy
to provide a unified interface to GCP, AWS, and local filesystems
#153
Labels
enhancement
New feature or request
infrastructure/aws
infrastructure/gcp
infrastructure/on-premises hardware
refactoring
Uh oh!
There was an error while loading. Please reload this page.
At the moment, our code implements different functions to interact with data on GCP vs the local filesystem. This is exactly the problem that
fsspec
solves:fsspec
provides a unified interface to cloud and local storage. If we usefsspec
then we can probably throw away quite a lot of our filesystem functions :)Pathy also looks very useful.
Before starting work on this issue, we should wait for #152 to be merged into
main
(UPDATE: #152 is now merged intomain
!)We can probably remove the
cloud
field in the yaml config (inmodel.py
) after making this change, because the code will be able to infer the compute platform from the protocol prefix on the paths (e.g.gs://
for Google Cloud).The text was updated successfully, but these errors were encountered: