Public repository and data access
Usage example:
import xarray as xr
import fsspec
# Datasets are hosted on globus as zarr files
def get_dataset(
path,
base_url="https://g-402b74.00888.8540.data.globus.org"
):
mapper = fsspec.get_mapper(f"{base_url}/{path}.zarr")
return xr.open_zarr(mapper, consolidated=True)
Usage example:
import xarray as xr
import gcsfs
fs = gcsfs.GCSFileSystem()
fs.ls("gs://leap-persistent-ro/groundpepper/GFDL_cm2.6")
ds = xr.open_dataset(
'gs://leap-persistent-ro/groundpepper/GFDL_cm2.6/
GFDL_CM2_6_CONTROL_DAILY_SURF.zarr',
engine='zarr')