NOAA-EMC / wxflow

Tools for Weather Workflows
https://wxflow.readthedocs.io/en/latest
GNU Lesser General Public License v3.0
0 stars 8 forks source link

Enable S3 Bucket Transfers #42

Open DavidHuber-NOAA opened 1 month ago

DavidHuber-NOAA commented 1 month ago

Description As workflows migrate to cloud platforms, it would be useful to add an interface to write to and read from S3 data buckets as a convenient way to keep archived data in the cloud. Extending the capability onto the fsspec library would be an ideal solution.

Requirements

Data files can be transferred to and from S3 data buckets with using a similar interface to similar, existing functionality (e.g. hpss.py, hsi.py, and file_utils.py).

Acceptance Criteria (Definition of Done)

edwardhartnett commented 1 month ago

Note that netCDF can transparently write/read to the cloud. In other words, instead of copying files to the cloud, you could add NC_ZARR to the create mode flags of your netCDF nf90_create() call, and create the S3 file with existing netCDF code.