Thank you for your help in advance. There are some problems with my result of water temperature.
My roms result of water temperature is much higher than data from ECMWF or HYCOM from attached figure 1. And I think there is something wrong with heat flux so I compared each component in heat flux in attached figure 2. The problem is, apparently, the sensible heat flux is almost 0 all the time and latent heat flux is positive (latent heat should be negative).
The matlab code used to generate input netcdf is:
Code: Select all
% D_ECMWF2ROMS: Driver script to create ROMS forcing NetCDF from ECMWF
% ERA-Interim Dataset
%
% This is a user modifiable script showing how to create ROMS forcing
% NetCDF files. The data source is the ECMWF's ERA-Interim Dataset
Code: Select all
% http://apps.ecmwf.int/datasets/data/interim_full_daily/
%
% This global data is available from Jan 1, 1979 to the present. It is
% usually extracted to a regional grid from the ECMWF data server. No
% attempt is made to interpolate the forcing fields to a particular
% ROMS grid. ROMS has the capability to perform the spatial and
% temporal interpolation of 2D forcing fields.
%
% This is a template script showing how to create several NetCDF files
% (one per each atmospheric forcing field) using ROMS metadata structure,
% which follows the schema of "nc_inq" or native 'ncinfo" function.
%
% The following parameters are used to extract ERA-Interim fields:
%
% Select time: 00:00:00 12:00:00
%
% Select step: 0 3 6 9 12
Code: Select all
% Uwind (m s-1) v10u
% Vwind (m s-1) v10v
% swrad (W m-2) ssr / (3*3600); 3-hour step
% lwrad_down (W m-2) strd / (3*3600); 3-hour step
% rain (kg m-2 s-1) tp * Rho_w / (3*3600)
% Pair (mb) msl / 100; (1 mb = 100 Pa)
% Tair (Celsius) t2m - 273.15; (1 C = 273.15 K)
% Qair (percentage) 100 * (E/Es)
Activated C-preprocessing Options:
Code: Select all
ADD_FSOBC Adding tidal elevation to processed OBC data
ADD_M2OBC Adding tidal currents to processed OBC data
ALBEDO_CURVE Ocean shortwave radiation adjusted by albedo curve
ANA_BSFLUX Analytical kinematic bottom salinity flux
ANA_BTFLUX Analytical kinematic bottom temperature flux
ANA_DRAG_GRID Analytical spatially varying quadratic drag coefficient
ANA_ICE Analytical ice initial conditions
ASSUMED_SHAPE Using assumed-shape arrays
AVERAGES Writing out time-averaged nonlinear model fields
BULK_FLUXES Surface bulk fluxes parameterization
CCSM_FLUXES Surface bulk fluxes parameterization
CHARNOK Charnok surface roughness from wind stress
CRAIG_BANNER Craig and Banner wave breaking surface flux
CORE_FORCING Specific humidity from CORE forcing files
DJ_GRADPS Parabolic Splines density Jacobian (Shchepetkin, 2002)
DOUBLE_PRECISION Double precision arithmetic numerical kernel
EMINUSP Compute Salt Flux using E-P
FILTERED Writing out time-filtered output
FILTERED_RST Reading and writing time-filtered restart files
GLS_MIXING Generic Length-Scale turbulence closure
ICE_ADVECT Advection of ice tracers
ICE_ALB_EC92 Ebert and Curry albedo formula
ICE_BULK_FLUXES Ice bulk fluxes from the atmosphere
ICE_EVP Elastic-viscous-plastic ice rheology
ICE_I_O Put shortwave heat into ice interior
ICE_MK Mellor-Kantha ice thermodynamics
ICE_MODEL Include sea ice model
ICE_MOMENTUM Compute ice momentum equations
ICE_SMOLAR Advect ice tracers with MPDATA scheme
ICE_STRENGTH_QUAD Ice strength a quadratic function of thickness
ICE_THERMO Include ice thermodynamics
KANTHA_CLAYSON Kantha and Clayson stability function formulation
LIMIT_BSTRESS Limit bottom stress to maintain bottom velocity direction
LONGWAVE_OUT Compute outgoing longwave radiation internally
MASKING Land/Sea masking
MIX_S_UV Mixing of momentum along constant S-surfaces
NONLINEAR Nonlinear Model
NONLIN_EOS Nonlinear Equation of State for seawater
NO_SCORRECTION_ICE Not including SCORRECTION under the ice
NO_WRITE_GRID Not Writing grid arrays into NetCDF ouput files
N2S2_HORAVG Horizontal smoothing of buoyancy and shear
ONE_TRACER_SOURCE One value per tracer for all sources
PERFECT_RESTART Processing perfect restart variables
POWER_LAW Power-law shape time-averaging barotropic filter
PROFILE Time profiling activated
K_GSCHEME Third-order upstream advection of TKE fields
RADIATION_2D Use tangential phase speed in radiation conditions
RI_SPLINES Parabolic Spline Reconstruction for Richardson Number
!RST_SINGLE Double precision fields in restart NetCDF file
SALINITY Using salinity
SCORRECTION Surface salinity flux correction
SOLAR_SOURCE Solar Radiation Source Term
SOLVE3D Solving 3D Primitive Equations
SPLINES_VDIFF Parabolic Spline Reconstruction for Vertical Diffusion
SPLINES_VVISC Parabolic Spline Reconstruction for Vertical Viscosity
SPHERICAL Spherical grid configuration
SSH_TIDES Add tidal elevation to SSH climatology
TIDES_ASTRO Compute astronomical (long-period tide) corrections
TS_U3HADVECTION Third-order upstream horizontal advection of tracers
TS_C4VADVECTION Fourth-order centered vertical advection of tracers
UV_ADV Advection of momentum
UV_COR Coriolis term
UV_U3HADVECTION Third-order upstream horizontal advection of 3D momentum
UV_C4VADVECTION Fourth-order centered vertical advection of momentum
UV_DRAG_GRID Spatially varying quadratic drag coefficient
UV_QDRAG Quadratic bottom stress
UV_TIDES Add tidal currents to 2D momentum climatologies
UV_VIS2 Harmonic mixing of momentum
VAR_RHO_2D Variable density barotropic mode
VISC_GRID Horizontal viscosity coefficient scaled by grid size