aquakin.SpeciationUnitsWarning#
- exception aquakin.SpeciationUnitsWarning[source]#
Bases:
UserWarningAdvisory: a
speciation:/precipitation:molar_masslooks dimensionally inconsistent with the referenced species’ declaredunits.Emitted (as a warning, not an error) at model load. The relationship between a block’s
molar_mass(which converts the species’ state value to mol/L viamol/L = state / molar_mass) and the species’ declared units lives only in a YAML comment, so a hand-edit that breaks it silently shifts the computed pH / saturation index. Filter it withwarnings.filterwarnings("ignore", category=aquakin.SpeciationUnitsWarning).