GEUS-Glaciology-and-Climate / pypromice

Process AWS data from L0 (raw logger) through Lx (end user)
https://pypromice.readthedocs.io
GNU General Public License v2.0
12 stars 4 forks source link

Relative humidity averaging from specific humidity #193

Closed PennyHow closed 1 month ago

PennyHow commented 9 months ago

From @signehl #188 :

As far as I can see the resampling to hourly averages is the same for all variables, except for wind direction. Have I missed somewhere where rh is treated differently or are rh values also simple hourly averages? I am asking because I think for the average to make physical sense they need to be converted to specific humidity (and perhaps then back to rh?), but I am not sure?

Special averaging needed according to Campbell: https://www.campbellsci.com/blog/averaging-relative-humidity

PennyHow commented 9 months ago

Relative humidity exception should be raised here in the L3 resampling step:

https://github.com/GEUS-Glaciology-and-Climate/pypromice/blob/02b32a9136adc360a2205812aafab9b4f70b1915/src/pypromice/process/aws.py#L736-L744