olm.general.HardnessFromCond

olm.general.HardnessFromCond(cond, T_C=None)[source]

Function to estimate total hardness as mg/L CaCO3 from solution specific conductance (microS/cm) using the empirical equation from Krawczyk and Ford (2006), Earth Surface Processes and Landforms.

Parameters:
condfloat or array

specific conductance in microS/cm (can be float or array of floats)

T_Cfloat or array

temperature in Celsius (can be float or array of floats)

Returns:
hardnessfloat or array

hardness in mg/L CaCO3 (if cond is an array, an array is returned)