Autogenerated API
Gas Transfer Velocity
Derivaties for Wanninkhof (2014).
- fluxerror.gas_transfer_velocity.wanninkhof2014.derivative.kw_wrt_umean(temp_C, u_mean, a=0.251, *args, **kwargs)[source]
Calculate deriviative of kw wrt to mean wind speed.
\[2 \cdot a \cdot U_{mean} \cdot \bigg(\frac{Sc}{660}\bigg)^{0.5}\]- Parameters:
temp_C (float) – temperature in degrees C
u_mean (float) – mean wind speed in m/s
a (float, optional) – constant. Defaults to 0.251.
- Returns:
derivative of kw wrt to mean wind speed
- Return type:
float
- fluxerror.gas_transfer_velocity.wanninkhof2014.derivative.kw_wrt_ustd(temp_C: float, u_std: float, a: float = 0.251) float[source]
Deriviative of kw wrt to standard deviation of wind speed.
\[2 \cdot a \cdot U_{std} \cdot \bigg(\frac{Sc}{660}\bigg)^{0.5}\]
- fluxerror.gas_transfer_velocity.wanninkhof2014.derivative.schmidt_number_wrt_temp(temp_C, *args, **kwargs)[source]
Calculate derivative of the Schmidt number wrt temperature.
\[B + 2 \cdot C \cdot T + 3 \cdot D \cdot T^2 + 4 \cdot E \cdot T^3\]
Fractional uncertainty for Wanninkhof (2014).
- fluxerror.gas_transfer_velocity.wanninkhof2014.frac.kw_a(a: float, delta_a: float, *args, **kwargs) float[source]
Fractional uncertainy kw wrt to scale factor.
- Parameters:
a (float) – scale factor
delta_a (float) – uncertainty in scale factor
- Returns:
fractional uncertainty in kw wrt to scale factor
- Return type:
float
- fluxerror.gas_transfer_velocity.wanninkhof2014.frac.kw_sc(temp_C: float, delta_T: float, *args, **kwargs) float[source]
Fractional uncertainty in kw wrt to schmidt number.
- Parameters:
temp_C (float) – temperature in degrees C
delta_T (float) – uncertainty in temperature in degrees C
- Returns:
fractional uncertainty in kw wrt to Sc
- Return type:
float
- fluxerror.gas_transfer_velocity.wanninkhof2014.frac.kw_umean(u_mean: float, u_std: float, delta_umean: float, *args, **kwargs) float[source]
Fractional uncertainy kw wrt to mean wind speed.
- Parameters:
u_mean (float) – mean wind speed m/s
u_std (float) – standard deviation of wind speed m/s
delta_umean (float) – uncertainty in mean wind speed m/s
- Returns:
fractional uncertainty in kw wrt to mean wind speed
- Return type:
float
- fluxerror.gas_transfer_velocity.wanninkhof2014.frac.kw_ustd(u_mean: float, u_std: float, delta_ustd: float, *args, **kwargs) float[source]
Fraction uncertainty in kw wrt to std of wind speed.
- Parameters:
u_mean (float) – mean wind speed in m/s
u_std (float) – standard deviatino of wind speed m/s
delta_ustd (float) – uncertainty in standard deviation of wind speed m/s
- Returns:
fractional uncerttainty kw wrt to U std
- Return type:
float
Solubility
Derivatives of Weiss (1974).
- fluxerror.solubility.weiss1974.derivative.ko_wrt_salt(temp_C, *args, **kwargs)[source]
Deriviative of Weiss (1974) with respect to salinity.
\[\frac{\partial K}{\partial S} = b_1 + b_2 \cdot \bigg ( \frac{T}{100} \bigg) + b_3 \cdot \bigg ( \frac{T}{100} \bigg)^2\]Constants:
\(b_1 = +0.027766\)
\(b_2 = -0.025888\)
\(b_3 = +0.0050578\)
- Parameters:
temp_C (float) – temperature in degrees C
- Returns:
deriviative of K with respect to salinity
- Return type:
float
- fluxerror.solubility.weiss1974.derivative.ko_wrt_temp(temp_C, S, *args, **kwargs)[source]
Calculate derivative of Weiss (1974) parameterization w.r.t. temperature.
\[ \begin{align}\begin{aligned}\frac{\partial K}{\partial T} = \frac{\partial f_1(T)}{\partial T} + S * \frac{\partial f_2(T)}{\partial T}\\= \frac{a_3}{T} - (a_2 \cdot 100 \cdot T^{-2}) + S \cdot \bigg [ \frac{b_2}{100} + \bigg( \frac{2 \cdot b_3 \cdot T}{100^2}\bigg ) \bigg ]\end{aligned}\end{align} \]- Parameters:
temp_C (float) – temperature in degrees Celsius
S (float) – salinity in practical salinity units
- Returns:
derivative of solubility w.r.t temperature at a given temperature
- Return type:
float
Fractional uncertainty equations for Weiss (1974).
- fluxerror.solubility.weiss1974.frac.ko_wrt_salt(temp_C, delta_S, *args, **kwargs)[source]
Fractional uncertainty of K from salinity.
\[\frac{\partial K / \partial S}{\delta S}\]- Parameters:
temp_C (float) – temperature in degrees C
delta_S (float) – uncertainty in salinity
- Returns:
fractional uncertainty in K from salinity
- Return type:
frac
- fluxerror.solubility.weiss1974.frac.ko_wrt_temp(temp_C, S, delta_T, *args, **kwargs)[source]
Fractional uncertainty of K from temperature.
\[\frac{\partial K / \partial T]}{\delta T}\]- Parameters:
temp_C (float) – temperature in degrees C
S (float) – salinity in PSU
delta_T (float) – uncertainty in temperature in degrees C
- Returns:
fractional uncertainty in K from temperature
- Return type:
frac
Delta pCO2
Fractional uncertainty for delta pCO2.