ccdtools.catalog.DataCatalog.available_subdatasets
- DataCatalog.available_subdatasets(dataset, version=None)
Show available subdatasets for a given dataset and version.
- Parameters:
dataset (
str) – Name of the dataset.version (
str, optional) – Version of the dataset. If not provided, the latest version is used. Default isNone.
- Returns:
List of available subdataset names, or
Noneif no subdatasets are defined for the dataset.- Return type:
listofstr- Raises:
ValueError – If no versions are found for the dataset.
Warning
- UserWarning
If no subdatasets are defined for the specified dataset and version.