Skip to content

Commit

Permalink
tuning meteo
Browse files Browse the repository at this point in the history
  • Loading branch information
cfontana00 committed Apr 10, 2024
1 parent ad8a3e3 commit 1e40124
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions meteo/ECMWF/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
## Reference for conversion to specific humidity

Td=d2m-273.15; % K to deg C

p=msl./100; % Pa to mb

e = 6.112.*exp((17.67.*Td)./(Td + 243.5));

q = (0.622 .* e)./(p - (0.378 .* e));

% https://www.eol.ucar.edu/projects/ceop/dm/documents/refdata_report/eqns.html
% (Bolton 1980)
% where:
% e = vapor pressure in mb;
% Td = dew point in deg C;
% p = surface pressure in mb;
% q = specific humidity in kg/kg.
%
% (Note the final specific humidity units are in g/kg = (kg/kg)*1000.0)
https://www.eol.ucar.edu/projects/ceop/dm/documents/refdata_report/eqns.html

(Bolton 1980)
where:

e = vapor pressure in mb;

Td = dew point in deg C;

p = surface pressure in mb;

q = specific humidity in kg/kg.

(Note the final specific humidity units are in g/kg = (kg/kg)*1000.0)

0 comments on commit 1e40124

Please sign in to comment.