pycequeau.simulations.parameters.water_quality module

class pycequeau.simulations.parameters.water_quality.WaterQualityParameters(basin_structure)[source]

Bases: BasinParameterBase

Top-level water-quality parameter group.

Water temperature is currently the only implemented quality module, but it is kept as a child structure so future quality components can be added cleanly.

property dli: dict
classmethod from_values(basin_structure, temperature_parameters: ndarray, temperature_model: int = 1) WaterQualityParameters[source]

Build the water-quality parameter group from raw model values.

property qualite: dict | None
set_temperature(values: ndarray, model: int = 1) None[source]
to_dict() dict[source]

Return the CEQUEAU-compatible representation of the section.

class pycequeau.simulations.parameters.water_quality.WaterTemperatureParameters(basin_structure)[source]

Bases: BasinParameterBase

Water-temperature-specific parameters under the water-quality family.

At the moment the water-quality branch only contains the CEQUEAU water temperature model, but the container is intentionally scoped so additional quality modules can be added later without reshaping the top-level API.

classmethod from_values(basin_structure, values: ndarray, model: int = 1) WaterTemperatureParameters[source]

Build a water-temperature parameter section from a raw value vector.

set_model_parameters(values: ndarray, model: int = 1) None[source]

Populate the water-temperature parameter block.

The exported layout matches the qualite.cequeau.temperat structure expected by the CEQUEAU workflow.

to_dict() dict[source]

Return the CEQUEAU-compatible representation of the section.