source: trunk/src/qsat.pro @ 79

Last change on this file since 79 was 79, checked in by pinsard, 13 years ago

add missing humidity tool

  • Property svn:keywords set to URL
File size: 384 bytes
Line 
1;--------------------------------------------------------
2function qsat, T,P
3;
4; Air humidity at saturation (g/kg)
5; T: SST (degC)
6; P : surface pressure (mb)
7;--------------------------------------------------------
8x=T
9es=6.112*exp(17.502*x/(x+241.))*(1.0007+3.46e-6*p)
10y=es*622/(p-.378*es)
11
12return, y
13
14end
15;--------------------------------------------------------
16
Note: See TracBrowser for help on using the repository browser.