Dataset class#

A dataset is a Blosc2-encoded file on a root repository (thus a File) representing either a flat string of bytes or an n-dimensional array.

Dataset(name, root, urlbase[, auth_cookie])

Represents a dataset as a Blosc2 container within a file.

Dataset.__getitem__(slice_)

Retrieves a slice of the dataset.

Dataset.get_download_url()

Retrieves the download URL for the file.

Dataset.fetch([slice_])

Fetches a slice of the dataset.

Dataset.download([localpath])

Downloads the file to storage.

Dataset.vlmeta

Returns a mapping of metalayer names to their respective values.