Home > air_sea > as_consts.m

as_consts

PURPOSE ^

AS_CONSTS: returns values of many constants used in AIR_SEA TOOLBOX

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 AS_CONSTS: returns values of many constants used in AIR_SEA TOOLBOX
 AS_CONSTS: returns values of many constants used in the AIR_SEA
 TOOLBOX.  At end of this file are values of constants from COARE
 to be used when running the test program t_hfbulktc.m

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % AS_CONSTS: returns values of many constants used in AIR_SEA TOOLBOX
0002 % AS_CONSTS: returns values of many constants used in the AIR_SEA
0003 % TOOLBOX.  At end of this file are values of constants from COARE
0004 % to be used when running the test program t_hfbulktc.m
0005 
0006 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0007 % 8/19/98: version 1.1 (contributed by RP)
0008 % 4/7/99: version 1.2 (revised to include COARE test values by AA)
0009 % 8/5/99: version 2.0
0010 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0011 
0012 % ------- physical constants
0013 
0014 g           = 9.8;       % acceleration due to gravity [m/s^2]
0015 sigmaSB     = 5.6697e-8; % Stefan-Boltzmann constant [W/m^2/K^4]
0016 eps_air     = 0.62197;   % molecular weight ratio (water/air)
0017 gas_const_R = 287.04;    % gas constant for dry air [J/kg/K]
0018 CtoK        = 273.16;    % conversion factor for [C] to [K]
0019 
0020 
0021 % ------- meteorological constants
0022 
0023 kappa          = 0.4;    % von Karman's constant
0024 Charnock_alpha = 0.011;  % Charnock constant (for determining roughness length
0025                          % at sea given friction velocity), used in Smith
0026                          % formulas for drag coefficient and also in Fairall
0027                          % and Edson.  use alpha=0.011 for open-ocean and
0028                          % alpha=0.018 for fetch-limited (coastal) regions.
0029 R_roughness   = 0.11;    % limiting roughness Reynolds # for aerodynamically
0030                          % smooth flow
0031                          
0032                         
0033 % ------ defaults suitable for boundary-layer studies
0034 
0035 cp            = 1004.7;   % heat capacity of air [J/kg/K]
0036 rho_air       = 1.22;     % air density (when required as constant) [kg/m^2]
0037 Ta_default    = 10;       % default air temperature [C]
0038 P_default     = 1020;     % default air pressure for Kinneret [mbars]
0039 psych_default = 'screen'; % default psychmometer type (see relhumid.m)
0040 Qsat_coeff    = 0.98;     % satur. specific humidity coefficient reduced
0041                           % by 2% over salt water
0042 
0043 
0044 % the following are useful in hfbulktc.m
0045 %     (and are the default values used in Fairall et al, 1996)
0046 
0047 CVB_depth     = 600; % depth of convective boundary layer in atmosphere [m]
0048 min_gustiness = 0.5; % min. "gustiness" (i.e., unresolved fluctuations) [m/s]
0049                      % should keep this strictly >0, otherwise bad stuff
0050                      % might happen (divide by zero errors)
0051 beta_conv     = 1.25;% scaling constant for gustiness
0052 
0053 
0054 % ------ short-wave flux calculations
0055 
0056 Solar_const = 1368.0; % the solar constant [W/m^2] represents a
0057                       % mean of satellite measurements made over the
0058                       % last sunspot cycle (1979-1995) taken from
0059                       % Coffey et al (1995), Earth System Monitor, 6, 6-10.
0060                       
0061                       
0062 % ------ long-wave flux calculations
0063 
0064 emiss_lw = 0.985;     % long-wave emissivity of ocean from Dickey et al
0065                       % (1994), J. Atmos. Oceanic Tech., 11, 1057-1076.
0066 
0067 bulkf_default = 'berliand';  % default bulk formula when downward long-wave
0068                              % measurements are not made.
0069 
0070 
0071 % ------ constants used for COARE; to use simply delete the %
0072 % g           = 9.7803;   % acceleration due to gravity [m/s^2]
0073 % sigmaSB     = 5.67e-8;  % Stefan-Boltzmann constant [m^2/K^4]
0074 % gas_const_R = 287.1;    % gas constant for dry air [J/kg/K]
0075 % cp          = 1004.67;  % heat capacity of air [J/kg/K]
0076 % beta_conv   = 1.20;     % scaling constant for gustiness
0077 % emiss_lw    = 0.97;     % long-wave emissivity

Generated on Thu 26-Apr-2007 12:23:13 by m2html © 2003