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.
RomsMarblBlueprint#
- class cstar.applications.roms_marbl.models.RomsMarblBlueprint(*, name: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=None, pattern=None, ascii_only=None)], description: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=None, pattern=None, ascii_only=None)], application: str = 'roms_marbl', state: BlueprintState = BlueprintState.NotSet, schema_version: str = '2.0.0', working_dir: WithJsonSchema(json_schema={'type': 'string'}, mode=serialization)] = PosixPath('.'), valid_start_date: datetime, valid_end_date: datetime, code: ROMSCompositeCodeRepository, initial_conditions: Annotated[Dataset, MinLen(min_length=1), MaxLen(max_length=1)], grid: Annotated[Dataset, MinLen(min_length=1), MaxLen(max_length=1)], forcing: ForcingConfiguration, partitioning: PartitioningParameterSet, model_params: ModelParameterSet, runtime_params: RuntimeParameterSet, cdr_forcing: Dataset | None = None, nesting_info: Dataset | None = None, **extra_data: Any)#
Bases:
Blueprint,ConfiguredBaseModelBlueprint schema for running a ROMS-MARBL simulation.
Methods
Attributes
RomsMarblBlueprint.cpus_neededNumber of CPUs needed for ROMS (derived from the partitioning parameters).
RomsMarblBlueprint.schema_versionThe blueprint schema version.
RomsMarblBlueprint.applicationThe process type to be executed by the blueprint.
RomsMarblBlueprint.valid_start_dateBeginning of the time range for the available data.
RomsMarblBlueprint.valid_end_dateEnd of the time range for the available data.
RomsMarblBlueprint.codeCode repositories used to build, configure, and execute the ROMS simulation.
RomsMarblBlueprint.initial_conditionsFile containing the starting conditions of the simulation.
RomsMarblBlueprint.gridFile defining the grid geometry.
RomsMarblBlueprint.forcingForcing configuration.
RomsMarblBlueprint.partitioningUser-defined partitioning parameters.
RomsMarblBlueprint.model_paramsUser-defined model parameters.
RomsMarblBlueprint.runtime_paramsUser-defined runtime parameters.
RomsMarblBlueprint.cdr_forcingLocation of CDR input file for this run.
RomsMarblBlueprint.nesting_infoLocation of nesting info input file for this run.
RomsMarblBlueprint.nameA unique, user-friendly name for this blueprint.
RomsMarblBlueprint.descriptionA user-friendly description of the scenario to be executed by the blueprint.
RomsMarblBlueprint.stateThe current validation status of the blueprint.
RomsMarblBlueprint.working_dirPath to a directory where assets are stored when executing the blueprint.