New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
namsbc_ssr_YRR_v2.f on Ticket #2071 – Attachment – NEMO

Ticket #2071: namsbc_ssr_YRR_v2.f

File namsbc_ssr_YRR_v2.f, 2.3 KB (added by nemo, 6 years ago)
Line 
1!-----------------------------------------------------------------------
2!-----------------------------------------------------------------------
3&namsbc        !   Surface Boundary Condition (surface module)
4!-----------------------------------------------------------------------
5   ln_ssr      = .TRUE. !  Sea Surface Restoring on T and/or S (T => fill namsbc_ssr)
6/
7!-----------------------------------------------------------------------
8&namsbc_ssr    !   surface boundary condition : sea surface restoring
9!-----------------------------------------------------------------------
10!
11! 02/2018 - Yohan Ruprich-Robert adds mask_ssr reading
12!
13   !             ! filename          ! freq  ! variable name  ! time     ! clim     ! year or   ! weights   ! rot     ! mask
14   !             !                   !       !                ! interp   !          ! monthly   ! filename  ! pair    ! filename
15   !----------------------------------------------------------------------------------------------------------------------------------------
16   sn_sss      = 'sss_restore_data'  , -1.   , 'so'           , .true.   , .true.  , 'yearly'   , ''        , ''      , ''
17   sn_sst      = 'sst_restore_data'  , -1.   , 'thetao'       , .true.   , .true.  , 'yearly'   , ''        , ''      , ''
18   sn_msk      = 'mask_restore'      , -12.  , 'mask_ssr'     , .false.  , .true.  , 'yearly'   , ''        , ''      , ''
19   !
20   cn_dir      = './'    !  root directory for the location of the runoff files 
21   nn_sstr     = 1       !  add a retroaction term in the surface heat flux (=1) or not (=0)
22   nn_sssr     = 2       !  add a damping term in the surface freshwater flux (=2) or to SSS only (=1) or no damping term (=0)
23   nn_icer     = 0       !  perform sea surface restoring (=1) or not (=0) where there is sea-ice
24   nn_msk      = 1       !  add a sub-regional masking to the surface restoring (=1) or not (=0)
25                         !  sn_msk can be empty if nn_msk = 0
26   rn_dqdt     = -40.    !  magnitude of the retroaction on temperature   [W/m2/K]
27   rn_deds     = -27.7 ! -166.67 !  magnitude of the damping on salinity   [kg/m2/s/psu]
28   ln_sssr_bnd = .false. ! .true. !  flag to bound erp term (associated with nn_sssr=2)
29   rn_sssr_bnd = 4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day]
30/