source: trunk/src/lwnet_clark.pro @ 152

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

suppress blank lines trailing blank

  • Property svn:keywords set to URL
File size: 1.2 KB
Line 
1;+
2;-
3;----------------------------------------------
4function lwnet_clark, sst,qair,cld,tair,ps
5;
6; Net longwave from the Clark et al. (1974) bulk formula
7;    Clark, N. E., L. Eber, R. M. Laurs, J. A. Renner, and J. F. T. Saur,
8;           1974: Heat exchange between ocean and atmosphere in the
9;           eastern North Pacific for 1961-71. NOAA Tech. Rep. NMRS
10;           SSRF-682, National Oceanic and Atmospheric Administration,
11;           U.S. Department of Commerce, Washington, DC, 108 pp.
12;     See also Gill, p34.
13;
14; INPUTS
15;   sst :    Sea surface temperature (degC)
16;   qair:    specific humidity (g/kg)
17;   cld :    cloud cover
18;   tair:    surface air temperature (degC)
19;   ps  :    surface pressure (mb)
20; OUTPUT
21;   lw :    estimated longwave (W/m2)
22;
23@common
24;----------------------------------------------
25;
26eps=.97                 ; emissivity of sea-water
27sig=5.67e-8             ; Stefan-Boltzman constant (W/m2/K4)
28Ts=(sst+273.15)         ; SST in K
29Ta=(tair+273.15)        ; Tair in K
30q=qair/1000.            ; specific humidity (kg/kg)
31r=q/(1-q)               ; Mixing ratio
32ea=ps*r/(r+.62197)      ; Specific humidity into vapor pressure
33;
34lw=    eps*sig*Ts^4*(.39-.05*ea^.5)*(1.-.51*cld^2) $
35   +4.*eps*sig*Ts^3*(Ts-Ta)
36;
37return, lw
38;
39end
Note: See TracBrowser for help on using the repository browser.