ccdtools.catalog.DataCatalog.available_resolutions

DataCatalog.available_resolutions(dataset, version=None, subdataset=None)

Show available resolutions for a given dataset/version/subdataset.

Parameters:
  • dataset (str) – Name of the dataset.

  • version (str, optional) – Version of the dataset. If not provided, the latest version is used. Default is None.

  • subdataset (str, optional) – Name of the subdataset. Default is None.

Returns:

List of available resolutions, or None if no resolutions are defined.

Return type:

list of str

Raises:

KeyError – If no matching dataset entry is found.

Warning

UserWarning

If no resolutions are defined for the specified dataset/version/subdataset.