Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pdziekan committed May 8, 2023
1 parent 4e4fb85 commit 8495f53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions histograms/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ def calc_RH(th, rv, p):
filename = directory + "/timestep" + str(time_start_idx).zfill(10) + ".h5"

# special case of RH calculated from th and rv
# NOTE: RH_derived is calculated with r_v / r_vs, where r_vs comes from the Tetens formula
# in UWLCM r_vs comes from clausius-clapeyron.
# RH_derived is shifted to the right with respect to RH from UWLCM - maybe due to this difference?
# NOTE: RH_derived is calculated with r_v / r_vs, where r_vs comes from clausius-clapeyron
if(var == "RH_derived"):
w3d = h5py.File(filename, "r")["th"][:,:,:]
elif(can_plot_refined_RH_derived and var == "refined RH_derived"):
Expand Down

0 comments on commit 8495f53

Please sign in to comment.