source: Roms_tools/Preprocessing_tools/get_dqdsst.m @ 2

Last change on this file since 2 was 1, checked in by cholod, 13 years ago

import Roms_Agrif

File size: 2.4 KB
Line 
1function dqdsst=get_dqdsst(sst,sat,rho_atm,U,qsea)
2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3%
4%  Compute the kinematic surface net heat flux sensitivity to the
5%  the sea surface temperature: dQdSST.
6%  Q_model ~ Q + dQdSST * (T_model - SST)
7%  dQdSST = - 4 * eps * stef * T^3  - rho_atm * Cp * CH * U
8%           - rho_atm * CE * L * U * 2353 * ln (10 * q_s / T^2)
9%
10% Input parameters:
11%
12%  sst     : sea surface temperature (Celsius)
13%  sat     : sea surface atmospheric temperature (Celsius)
14%  rho_atm : atmospheric density (kilogram meter-3)
15%  U       : wind speed (meter s-1)
16%  qsea    : sea level specific humidity
17%
18%
19% Ouput:
20%
21%  dqdsst  : kinematic surface net heat flux sensitivity to the
22%            the sea surface temperature (Watts meter-2 Celsius-1)
23%
24%  Further Information: 
25%  http://www.brest.ird.fr/Roms_tools/
26
27%  This file is part of ROMSTOOLS
28%
29%  ROMSTOOLS is free software; you can redistribute it and/or modify
30%  it under the terms of the GNU General Public License as published
31%  by the Free Software Foundation; either version 2 of the License,
32%  or (at your option) any later version.
33%
34%  ROMSTOOLS is distributed in the hope that it will be useful, but
35%  WITHOUT ANY WARRANTY; without even the implied warranty of
36%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37%  GNU General Public License for more details.
38%
39%  You should have received a copy of the GNU General Public License
40%  along with this program; if not, write to the Free Software
41%  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
42%  MA  02111-1307  USA
43%
44%  Copyright (c) 2002-2006 by Pierrick Penven
45%  e-mail:Pierrick.Penven@ird.fr 
46%
47%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
48%
49%  Specific heat of atmosphere.
50%
51Cp = 1004.8;
52%
53%  Sensible heat transfert coefficient (stable condition)
54%
55Ch = 0.66e-3;
56%
57%  Latent heat transfert coefficient (stable condition)
58%
59Ce = 1.15e-3;
60%
61%  Emissivity coefficient
62%
63eps = 0.98;
64%
65%  Stefan constant
66%
67stef = 5.6697e-8;
68%
69%  SST (Kelvin)
70%
71SST = sst + 273.15;
72%
73%  Latent heat of vaporisation (J.kg-1)
74%
75L = 2.5008e6 - 2.3e3 * sat;
76%
77%  Infrared contribution
78%
79q1 = -4.d0 .* stef .* (SST.^3);
80%
81%  Sensible heat contribution
82%
83q2 = -rho_atm .* Cp .* Ch .* U;
84%
85%  Latent heat contribution
86%
87dqsdt = 2353.d0 .* log(10.d0) .* qsea ./ (SST.^2);
88q3 = -rho_atm .* Ce .* L .* U .* dqsdt;
89%
90%  dQdSST
91%
92dqdsst = q1 + q2 + q3 ;
93
Note: See TracBrowser for help on using the repository browser.