Open navidcy opened 5 months ago
We need to clear up this code here
It might be cleaner if we convert this into a function. But definitely we should avoid hardcoding numbers in, but rather define variables with values so that it's obvious what's happening here.
At https://regional-mom6.readthedocs.io/en/latest/demo_notebooks/reanalysis-forced.html#Step-7:-Set-up-ERA5-forcing: there are some issues:
You should also say you are using the Antoine equation for vapour pressure as a function of temperature.
q = 0.622 * RH * P_sat / P = 0.622 * P_vap / P
Where does the 0.001 come from?
The
T
in the first equation should really beT_d
.found by @CallumJShakespeare