helikite.processing.post.co2
These functions are used for CO2 monitor corrections
Functions
|
Convert a measurement to STP conditions for dry air. |
|
Module Contents
- helikite.processing.post.co2.stp_convert_dry(x, t, p1)
Convert a measurement to STP conditions for dry air.
This function adjusts a measurement from actual conditions to standard temperature and pressure (STP) conditions for dry air. It follows the approach of stp.convert.dry by Roman Pohorsky.
- Parameters:
x (float or array-like) – Measured value to be converted.
t (float or array-like) – Temperature in °C.
p1 (float or array-like) – Pressure in hPa.
- Returns:
Measurement converted to STP conditions.
- Return type:
float or array-like
Notes
- The conversion process involves:
Converting the pressure from hPa to Pa.
Converting the temperature from °C to Kelvin.
Calculating the STP conversion factor and applying it to measurement.
Examples
>>> df_level0['FC_CO2_STP'] = stp_convert_dry( ... df_level0['FC_CO2'], ... df_level0['T ref'], ... df_level0['FC_P corr'] ... )
- helikite.processing.post.co2.stp_moist_test(x, t, p1, rh)