rex.external.rexarray.open_mfdataset_hsds

open_mfdataset_hsds(paths, **kwargs)[source]

Open multiple NREL spatiotemporal datasets stored in cloud-optimized HSDS paths into an xarray dataset object.

Parameters:
  • paths (str | sequence of str) – Either a string glob in the form “/path/to/my/hsds/files/.h5” or an explicit list of HSDS file paths to open. HSDS filepaths typically start with “/nrel/” and can be found using h5pyd. See this instruction set for more details on HSDS files.

  • **kwargs – Keyword-value argument pairs to pass to open_mfdataset(). We strongly recommend specifying parallel=True and chunks="auto" to help with data loading times.

Returns:

dataset (xarray.Dataset) – Xarray Dataset object initialized with an HSDS backend for cloud-optimized data streaming.