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 | ;-------------------------------------------------------- |
---|
2 | function qsat, T,P |
---|
3 | ; |
---|
4 | ; Air humidity at saturation (g/kg) |
---|
5 | ; T: SST (degC) |
---|
6 | ; P : surface pressure (mb) |
---|
7 | ;-------------------------------------------------------- |
---|
8 | x=T |
---|
9 | es=6.112*exp(17.502*x/(x+241.))*(1.0007+3.46e-6*p) |
---|
10 | y=es*622/(p-.378*es) |
---|
11 | |
---|
12 | return, y |
---|
13 | |
---|
14 | end |
---|
15 | ;-------------------------------------------------------- |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.