Skip to content

Commit

Permalink
fixing adjustHumidity
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteVandecrux committed Nov 8, 2024
1 parent b2be7ce commit 161a380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pypromice/process/L1toL2.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def adjustHumidity(rh, T, T_0, T_100, ews, ei0): #TODO fi

# Set to Groff & Gratch values when freezing, otherwise just rh
rh_wrt_ice_or_water = rh.where(~freezing, other = rh*(e_s_wtr / e_s_ice))
return rh_cor
return rh_wrt_ice_or_water


def correctPrecip(precip, wspd):
Expand Down

0 comments on commit 161a380

Please sign in to comment.