Open ladsmund opened 3 weeks ago
To me there is no doubt that
rh_[uli]
should have a range of 0-100rh_[uli]_cor
should have a range of 0-150 to allow supersaturationWould it be more appropriate to validate and filter the inferred values before computing the corrected humidity variables?
I am not sure what you are suggesting here.
The
clip_values
function currently restrictsrh_[uli]_cor
to the range of 0 to 100.Is this approach valid, given that the allowable range for these values was initially set between 0 and 150%, accommodating supersaturated states?
Would it be more appropriate to validate and filter the inferred values before computing the corrected humidity variables? Clipping might be overly restrictive in cases where supersaturation is expected or meaningful.
https://github.com/GEUS-Glaciology-and-Climate/pypromice/pull/307#pullrequestreview-2354291734