⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ep.m

📁 一个计算海天背景的工程模型。由matlab编写
💻 M
字号:
function [E,P]=ep(rfd,Qlat)

% EP: computes evap and precip accumulation

% [E,P]=EP(rfd,Qlat) computes precipitation and evaporation 

% accumulation from rainfall rate rfd and latent heat 

% flux Qlat. Assumes hourly input. 

%

% INPUT:   rfd - precip rate  [mm/min]

%          Qlat - latent heat flux  [W/m^2]

%

% OUTPUT:  P - precip accumulation  [m] 

%          E - evaporation accumulation  [m]



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% 8/5/99: version 2.0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



% compute P

P=cumsum(rfd)./1000; % convert mm to m

dt=60; % for hourly data, dt = 60 min

P=P.*dt;



% compute E

Le=2.5e6; % heat of vaporization (W/m^2)

pw=1025; % density of seawater (kg/m^3) at 32 psu, 10 degC, 0 db

dt=3600; % seconds per hour

E=cumsum(Qlat).*dt./(Le.*pw);







⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -