caterva2.Dataset.download#
- Dataset.download()#
Download a file to storage.
- Returns:
The path to the downloaded file.
- Return type:
pathlib.PosixPath
Examples
>>> root = cat2.Root('foo') >>> file = root['ds-1d.b2nd'] >>> file.download() PosixPath('foo/ds-1d.b2nd')