static constexpr float HEIGHT = 135; // https://de.wikipedia.org/wiki/Barometrische_H%C3%B6henformel#Reduktion_auf_Meeresh%C3%B6he // https://carnotcycle.wordpress.com/2012/08/04/how-to-convert-relative-humidity-to-absolute-humidity/ float absolute_humidity = (6.112*exp((17.67*sd.temperature)/(sd.temperature+243.5))*(sd.humidity/100)*18.02)/((273.15+sd.temperature)*1000*0.08314); float pressure_compensation_factor = exp((9.80665/(287.05*(sd.temperature+273.15+0.12*((absolute_humidity*461.5*(sd.temperature+273.15)/100)/100)+0.0065*(HEIGHT/2))))*HEIGHT); pressureObject2["value"] = sd.pressure*pressure_compensation_factor;
fixed by 583a26a6
583a26a6
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?
fixed by
583a26a6