Domain: Initial State (istate.F90 and dtatsd.F90 modules)


!-----------------------------------------------------------------------
&namtsd    !   data : Temperature  & Salinity
!-----------------------------------------------------------------------
!-----------------------------------------------------------------------
!          !  file name                            ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask !
!          !                                       !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      !
   sn_tem  = 'data_1m_potential_temperature_nomask',         -1        ,'votemper' ,    .true.    , .true. , 'yearly'   , ''       ,   ''    ,    ''
   sn_sal  = 'data_1m_salinity_nomask'             ,         -1        ,'vosaline' ,    .true.    , .true. , 'yearly'   , ''       ,   ''    ,    ''
   !
   cn_dir        = './'     !  root directory for the location of the runoff files
   ln_tsd_init   = .true.   !  Initialisation of ocean T & S with T &S input data (T) or not (F)
   ln_tsd_tradmp = .true.   !  damping of ocean T & S toward T &S input data (T) or not (F)
/

Options are defined in namtsd. By default, the ocean start from rest (the velocity field is set to zero) and the initialization of temperature and salinity fields is controlled through the ln_tsd_ini namelist parameter.

ln_tsd_init = .true.
use a T and S input files that can be given on the model grid itself or on their native input data grid. In the latter case, the data will be interpolated on-the-fly both in the horizontal and the vertical to the model grid (see § 7.2.2). The information relative to the input files are given in the sn_tem and sn_sal structures. The computation is done in the dtatsd.F90 module.
ln_tsd_init = .false.
use constant salinity value of 35.5 psu and an analytical profile of temperature (typical of the tropical ocean), see istate_t_s subroutine called from istate.F90 module.

Gurvan Madec and the NEMO Team
NEMO European Consortium2017-02-17