Attention
This project is still in an early phase of development.
The python API is not yet stable, and some aspects of the schema for the blueprint and workplan will likely evolve. Therefore whilst you are welcome to try out using the package, we cannot yet guarantee backwards compatibility. We expect to reach a more stable version in 2026.
InputDataset#
- class cstar.base.input_dataset.InputDataset(location: str, file_hash: str | None = None, start_date: str | datetime | None = None, end_date: str | datetime | None = None)#
Bases:
ABC,LoggingMixinDescribes spatiotemporal data needed to run a unique instance of a model simulation.
Methods
InputDataset.get(local_dir)Make this InputDataset locally available in local_dir.
Represent this InputDataset object as a dictionary of kwargs.
Attributes
InputDataset.end_dateThe maximum date in the dataset.
InputDataset.exists_locallyCheck if an unmodified version of this InputDataset exists on the local filesystem.
InputDataset.logReturn the logger instance for this class.
InputDataset.start_dateThe minimum date in the dataset.
InputDataset.working_copyDescribes the (if any) locally available copy of this InputDataset.
InputDataset.sourceThe location of and classifies the source data