caterva2.download#

caterva2.download(dataset, host='localhost:8002')#

Download a dataset.

Parameters:
  • dataset (str) – The name of the dataset.

  • host (str) – The host to query.

Returns:

  • str – The path to the downloaded file.

  • Note (If dataset is a regular file, it will be downloaded and decompressed if blosc2) – is installed. Otherwise, it will be downloaded as-is from the internal caches (i.e. compressed with Blosc2, and with the .b2 extension).