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.
ROMSRiverForcing#
- class cstar.roms.input_dataset.ROMSRiverForcing(location: str, file_hash: str | None = None, start_date: str | datetime | None = None, end_date: str | datetime | None = None, source_np_xi: int | None = None, source_np_eta: int | None = None, linker: DatasetLinker | None = None)#
Bases:
ROMSInputDatasetAn implementation of the ROMSInputDataset class for river forcing files.
Methods
ROMSRiverForcing.get(local_dir)Obtain and stage this ROMSInputDataset, making it locally available to C-Star.
ROMSRiverForcing.partition(np_xi, np_eta[, ...])Partition a netCDF dataset into tiles to run ROMS in parallel.
Represent this InputDataset object as a dictionary of kwargs.
Attributes
ROMSRiverForcing.end_dateThe maximum date in the dataset.
ROMSRiverForcing.exists_locallyCheck if an unmodified version of this InputDataset exists on the local filesystem.
ROMSRiverForcing.logReturn the logger instance for this class.
ROMSRiverForcing.partitionableSet to False if the input dataset should not be partitioned.
ROMSRiverForcing.path_for_romsReturns a list of Paths corresponding to this ROMSInputDataset that can be read by ROMS.
ROMSRiverForcing.source_partitioningROMSRiverForcing.start_dateThe minimum date in the dataset.
ROMSRiverForcing.working_copyDescribes the (if any) locally available copy of this InputDataset.
ROMSRiverForcing.sourceThe location of and classifies the source data