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.
namelist on Ticket #1134 – Attachment – NEMO

Ticket #1134: namelist

File namelist, 70.4 KB (added by mouchet, 11 years ago)
Line 
1!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
3!!>>>>>>
4!!>>>>>>
5!!>>>>>>            DO NOT FORGET :
6!!>>>>>>                 MODIFY namelist-original <=====================
7!!>>>>>>
8!!>>>>>>
9!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
10!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
11!! NEMO/OPA  :  1 - run manager      (namrun)
12!! namelists    2 - Domain           (namzgr, namzgr_sco, namdom, namtsd)
13!!              3 - Surface boundary (namsbc, namsbc_ana, namsbc_flx, namsbc_clio, namsbc_core
14!!                                    namsbc_cpl, namtra_qsr, namsbc_rnf,
15!!                                    namsbc_apr, namsbc_ssr, namsbc_alb)
16!!              4 - lateral boundary (namlbc, namcla, namobc, namagrif, nambdy, nambdy_tide)
17!!              5 - bottom  boundary (nambfr, nambbc, nambbl)
18!!              6 - Tracer           (nameos, namtra_adv, namtra_ldf, namtra_dmp)
19!!              7 - dynamics         (namdyn_adv, namdyn_vor, namdyn_hpg, namdyn_spg, namdyn_ldf)
20!!              8 - Verical physics  (namzdf, namzdf_ric, namzdf_tke, namzdf_kpp, namzdf_ddm, namzdf_tmx)
21!!              9 - diagnostics      (namnc4, namtrd, namspr, namflo, namptr, namhsb)
22!!             10 - miscellaneous    (namsol, nammpp, nammpp_dyndist, namctl)
23!!             11 - Obs & Assim      (namobs, nam_asminc)
24!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
25
26!!======================================================================
27!!                   ***  Run management namelists  ***
28!!======================================================================
29!!   namrun        parameters of the run
30!!======================================================================
31!
32!-----------------------------------------------------------------------
33&namrun        !   parameters of the run
34!-----------------------------------------------------------------------
35   nn_no       =       0   !  job number (no more used...)
36   cn_exp      = "TESTcon" !  experience name  <------------------**
37   nn_it000    = 1   !  first time step <------------------**
38   nn_itend    =  73000   !  last  time step (std 5475) (4 = 1jour) <------------------**
39   nn_date0    =  010101   !  date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1)
40   nn_leapy    =       0   !  Leap year calendar (1) or not (0)
41   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T)
42   nn_rstctl   =       0   !  restart control => activated only if ln_rstart = T
43                           !    = 0 nn_date0 read in namelist ; nn_it000 : read in namelist
44                           !    = 1 nn_date0 read in namelist ; nn_it000 : check consistancy between namelist and restart
45                           !    = 2 nn_date0 read in restart  ; nn_it000 : check consistancy between namelist and restart
46   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input)
47   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output)
48   nn_istate   =       0   !  output the initial state (1) or not (0)
49   nn_stock    =  14600  !  frequency of creation of a restart file (modulo referenced to 1) <------------------**
50   nn_write    =  14600  !  frequency of write in the output file   (modulo referenced to nn_it000) <------------------**
51   ln_dimgnnn  = .false.   !  DIMG file format: 1 file for all processors (F) or by processor (T)
52   ln_mskland  = .false.   !  mask land points in NetCDF outputs (costly: + ~15%)
53   ln_clobber  = .false.   !  clobber (overwrite) an existing file
54   nn_chunksz  =       0   !  chunksize (bytes) for NetCDF file (works only with iom_nf90 routines)
55/
56
57!!======================================================================
58!!                      ***  Domain namelists  ***
59!!======================================================================
60!!   namzgr       vertical coordinate
61!!   namzgr_sco   s-coordinate or hybrid z-s-coordinate
62!!   namdom       space and time domain (bathymetry, mesh, timestep)
63!!   namtsd       data: temperature & salinity                         
64!!======================================================================
65!
66!-----------------------------------------------------------------------
67&namzgr        !   vertical coordinate
68!-----------------------------------------------------------------------
69   ln_zco      = .false.   !  z-coordinate - full    steps   (T/F)      ("key_zco" may also be defined)
70   ln_zps      = .true.    !  z-coordinate - partial steps   (T/F)
71   ln_sco      = .false.   !  s- or hybrid z-s-coordinate    (T/F)
72/
73!-----------------------------------------------------------------------
74&namzgr_sco    !   s-coordinate or hybrid z-s-coordinate
75!-----------------------------------------------------------------------
76   rn_sbot_min =  300.     !  minimum depth of s-bottom surface (>0) (m)
77   rn_sbot_max = 5250.     !  maximum depth of s-bottom surface (= ocean depth) (>0) (m)
78   rn_theta    =    6.0    !  surface control parameter (0<=rn_theta<=20)
79   rn_thetb    =    0.75   !  bottom control parameter  (0<=rn_thetb<= 1)
80   rn_rmax     =    0.15   !  maximum cut-off r-value allowed (0<rn_max<1)
81   ln_s_sigma  = .false.   !  hybrid s-sigma coordinates
82   rn_bb       =    0.8    !  stretching with s-sigma
83   rn_hc       =  150.0    !  critical depth with s-sigma
84/
85!-----------------------------------------------------------------------
86&namdom        !   space and time domain (bathymetry, mesh, timestep)
87!-----------------------------------------------------------------------
88   nn_bathy    =    1      !  compute (=0) or read (=1) the bathymetry file
89   nn_closea    =   0      !  remove (=0) or keep (=1) closed seas and lakes (ORCA)
90   nn_msh      =    1      !  create (=1) a mesh file or not (=0)
91   rn_hmin     =   -3.     !  min depth of the ocean (>0) or min number of ocean level (<0)
92   rn_e3zps_min=   20.     !  partial step thickness is set larger than the minimum of
93   rn_e3zps_rat=    0.1    !  rn_e3zps_min and rn_e3zps_rat*e3t, with 0<rn_e3zps_rat<1
94                           !
95   rn_rdt      = 21600.    !  time step for the dynamics (and tracer if nn_acc=0)
96   nn_baro     =   64      !  number of barotropic time step            ("key_dynspg_ts")
97   rn_atfp     =    0.1    !  asselin time filter parameter
98   nn_acc      =    0      !  acceleration of convergence : =1      used, rdt < rdttra(k)
99                                 !                          =0, not used, rdt = rdttra
100   rn_rdtmin   = 21600.          !  minimum time step on tracers (used if nn_acc=1)
101   rn_rdtmax   = 21600.          !  maximum time step on tracers (used if nn_acc=1)
102   rn_rdth     =  800.           !  depth variation of tracer time step  (used if nn_acc=1)
103/
104!-----------------------------------------------------------------------
105&namtsd    !   data : Temperature  & Salinity                           
106!-----------------------------------------------------------------------
107!          ! file name ! frequency (hours)    ! variable ! time interp. ! clim  !'yearly' or ! weights  ! rotation !
108!          !           !  (if <0  months)     !   name   !  (logical)   ! (T/F) ! 'monthly'  ! filename ! pairing  !
109   sn_tem  = 'data_1m_potential_temperature_nomask', -1,'votemper',  .true.  , .true., 'yearly'   , ' '      , ' '
110   sn_sal  = 'data_1m_salinity_nomask'             , -1,'vosaline',  .true.  , .true., 'yearly'   , ''       , ' '
111   !
112   cn_dir        = './'     !  root directory for the location of the runoff files
113   ln_tsd_init   = .true.   !  Initialisation of ocean T & S with T &S input data (T) or not (F)
114   ln_tsd_tradmp = .true.   !  damping of ocean T & S toward T &S input data (T) or not (F)
115/
116!!======================================================================
117!!            ***  Surface Boundary Condition namelists  ***
118!!======================================================================
119!!   namsbc          surface boundary condition
120!!   namsbc_ana      analytical         formulation
121!!   namsbc_flx      flux               formulation
122!!   namsbc_clio     CLIO bulk formulae formulation
123!!   namsbc_core     CORE bulk formulae formulation
124!!   namsbc_mfs      MFS  bulk formulae formulation
125!!   namsbc_cpl      CouPLed            formulation                     ("key_coupled")
126!!   namtra_qsr      penetrative solar radiation
127!!   namsbc_rnf      river runoffs
128!!   namsbc_apr      Atmospheric Pressure
129!!   namsbc_ssr      sea surface restoring term (for T and/or S)
130!!   namsbc_alb      albedo parameters
131!!======================================================================
132!
133!-----------------------------------------------------------------------
134&namsbc        !   Surface Boundary Condition (surface module)
135!-----------------------------------------------------------------------
136   nn_fsbc     = 1         !  frequency of surface boundary condition computation
137                           !     (also = the frequency of sea-ice model call)
138   ln_ana      = .false.   !  analytical formulation                    (T => fill namsbc_ana )
139   ln_flx      = .false.   !  flux formulation                          (T => fill namsbc_flx )
140   ln_blk_clio = .false.   !  CLIO bulk formulation                     (T => fill namsbc_clio)
141   ln_blk_core = .true.    !  CORE bulk formulation                     (T => fill namsbc_core)
142   ln_blk_mfs  = .false.   !  MFS bulk formulation                      (T => fill namsbc_mfs )
143   ln_cpl      = .false.   !  Coupled formulation                       (T => fill namsbc_cpl )
144   ln_apr_dyn  = .false.   !  Patm gradient added in ocean & ice Eqs.   (T => fill namsbc_apr )
145   nn_ice      = 2         !  =0 no ice boundary condition   ,
146                           !  =1 use observed ice-cover      ,
147                           !  =2 ice-model used                         ("key_lim3" or "key_lim2)
148   ln_dm2dc    = .false.   !  daily mean to diurnal cycle on short wave
149   ln_rnf      = .true.    !  runoffs                                   (T => fill namsbc_rnf)
150   ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr)
151   nn_fwb      = 3         !  FreshWater Budget: =0 unchecked
152                           !     =1 global mean of e-p-r set to zero at each time step
153                           !     =2 annual global mean of e-p-r set to zero
154                           !     =3 global emp set to zero and spread out over erp area
155   ln_cdgw = .false.       !  Neutral drag coefficient read from wave model (T => fill namsbc_wave )
156/
157!-----------------------------------------------------------------------
158&namsbc_ana    !   analytical surface boundary condition
159!-----------------------------------------------------------------------
160   nn_tau000   =   0       !  gently increase the stress over the first ntau_rst time-steps
161   rn_utau0    =   0.5     !  uniform value for the i-stress
162   rn_vtau0    =   0.e0    !  uniform value for the j-stress
163   rn_qns0     =   0.e0    !  uniform value for the total heat flux
164   rn_qsr0     =   0.e0    !  uniform value for the solar radiation
165   rn_emp0     =   0.e0    !  uniform value for the freswater budget (E-P)
166/
167!-----------------------------------------------------------------------
168&namsbc_flx    !   surface boundary condition : flux formulation
169!-----------------------------------------------------------------------
170!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
171!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
172   sn_utau     = 'utau'      ,        24         , 'utau'    , .false.      , .false., 'yearly'  , ''       , ''
173   sn_vtau     = 'vtau'      ,        24         , 'vtau'    , .false.      , .false., 'yearly'  , ''       , ''
174   sn_qtot     = 'qtot'      ,        24         , 'qtot'    , .false.      , .false., 'yearly'  , ''       , ''
175   sn_qsr      = 'qsr'       ,        24         , 'qsr'     , .false.      , .false., 'yearly'  , ''       , ''
176   sn_emp      = 'emp'       ,        24         , 'emp'     , .false.      , .false., 'yearly'  , ''       , ''
177
178   cn_dir      = './'      !  root directory for the location of the flux files
179/     
180!-----------------------------------------------------------------------
181&namsbc_clio   !   namsbc_clio  CLIO bulk formulae
182!-----------------------------------------------------------------------
183!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
184!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
185   sn_utau     = 'taux_1m'   ,       -1          , 'sozotaux',   .true.     , .true. , 'yearly'  , ''       , ''
186   sn_vtau     = 'tauy_1m'   ,       -1          , 'sometauy',   .true.     , .true. , 'yearly'  , ''       , ''
187   sn_wndm     = 'flx'       ,       -1          , 'socliowi',   .true.     , .true. , 'yearly'  , ''       , ''
188   sn_tair     = 'flx'       ,       -1          , 'socliot2',   .true.     , .true. , 'yearly'  , ''       , ''
189   sn_humi     = 'flx'       ,       -1          , 'socliohu',   .true.     , .true. , 'yearly'  , ''       , ''
190   sn_ccov     = 'flx'       ,       -1          , 'socliocl',   .false.    , .true. , 'yearly'  , ''       , ''
191   sn_prec     = 'flx'       ,       -1          , 'socliopl',   .false.    , .true. , 'yearly'  , ''       , ''
192
193   cn_dir      = './'      !  root directory for the location of the bulk files are
194/
195!-----------------------------------------------------------------------
196&namsbc_core   !   namsbc_core  CORE bulk formulae
197!-----------------------------------------------------------------------
198!              !  file name                    ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
199!              !                               !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
200   sn_wndi     = 'u_10.15JUNE2009_orca2'       ,         6         , 'U_10_MOD',   .false.    , .true. , 'yearly'  , ''       , 'Uwnd'
201   sn_wndj     = 'v_10.15JUNE2009_orca2'       ,         6         , 'V_10_MOD',   .false.    , .true. , 'yearly'  , ''       , 'Vwnd'
202   sn_qsr      = 'ncar_rad.15JUNE2009_orca2'   ,        24         , 'SWDN_MOD',   .false.    , .true. , 'yearly'  , ''       , ''
203   sn_qlw      = 'ncar_rad.15JUNE2009_orca2'   ,        24         , 'LWDN_MOD',   .false.    , .true. , 'yearly'  , ''       , ''
204   sn_tair     = 't_10.15JUNE2009_orca2'       ,         6         , 'T_10_MOD',   .false.    , .true. , 'yearly'  , ''       , ''
205   sn_humi     = 'q_10.15JUNE2009_orca2'       ,         6         , 'Q_10_MOD',   .false.    , .true. , 'yearly'  , ''       , ''
206   sn_prec     = 'ncar_precip.15JUNE2009_orca2',        -1         , 'PRC_MOD1',   .false.    , .true. , 'yearly'  , ''       , ''
207   sn_snow     = 'ncar_precip.15JUNE2009_orca2',        -1         , 'SNOW'    ,   .false.    , .true. , 'yearly'  , ''       , ''
208   sn_tdif     = 'taudif_core'                 ,        24         , 'taudif'  ,   .false.    , .true. , 'yearly'  , ''       , ''
209
210   cn_dir      = './'      !  root directory for the location of the bulk files
211   ln_2m       = .false.   !  air temperature and humidity referenced at 2m (T) instead 10m (F)
212   ln_taudif   = .false.   !  HF tau contribution: use "mean of stress module - module of the mean stress" data
213   rn_pfac     = 1.        !  multiplicative factor for precipitation (total & snow)
214/
215!-----------------------------------------------------------------------
216&namsbc_mfs   !   namsbc_mfs  MFS bulk formulae
217!-----------------------------------------------------------------------
218!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
219!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
220   sn_wndi     =   'ecmwf'   ,        6          , 'u10'     ,    .true.    , .false. , 'daily'  ,'bicubic.nc' , ''
221   sn_wndj     =   'ecmwf'   ,        6          , 'v10'     ,    .true.    , .false. , 'daily'  ,'bicubic.nc' , ''
222   sn_clc      =   'ecmwf'   ,        6          , 'clc'     ,    .true.    , .false. , 'daily'  ,'bilinear.nc', ''
223   sn_msl      =   'ecmwf'   ,        6          , 'msl'     ,    .true.    , .false. , 'daily'  ,'bicubic.nc' , ''
224   sn_tair     =   'ecmwf'   ,        6          , 't2'      ,    .true.    , .false. , 'daily'  ,'bicubic.nc' , ''
225   sn_rhm      =   'ecmwf'   ,        6          , 'rh'      ,    .true.    , .false. , 'daily'  ,'bilinear.nc', ''
226   sn_prec     =   'ecmwf'   ,        6          , 'precip'  ,    .true.    , .true.  , 'daily'  ,'bicubic.nc' , ''
227
228   cn_dir      = './ECMWF/'      !  root directory for the location of the bulk files
229/
230!-----------------------------------------------------------------------
231&namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_coupled")
232!-----------------------------------------------------------------------
233!                    !     description       !  multiple  !    vector   !      vector          ! vector !
234!                    !                       ! categories !  reference  !    orientation       ! grids  !
235! send
236sn_snd_temp   =       'weighted oce and ice' ,    'no'    ,     ''      ,         ''           ,   ''   
237sn_snd_alb    =       'weighted ice'         ,    'no'    ,     ''      ,         ''           ,   ''   
238sn_snd_thick  =       'none'                 ,    'no'   ,     ''      ,         ''           ,   ''   
239sn_snd_crt    =       'none'                 ,    'no'    , 'spherical' , 'eastward-northward' ,  'T'       
240sn_snd_co2    =       'coupled'              ,    'no'    ,     ''      ,         ''           ,   ''       
241! receive
242sn_rcv_w10m   =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''   
243sn_rcv_taumod =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   ''   
244sn_rcv_tau    =       'oce only'             ,    'no'    , 'cartesian' , 'eastward-northward',  'U,V'   
245sn_rcv_dqnsdt =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   ''   
246sn_rcv_qsr    =       'oce and ice'          ,    'no'    ,     ''      ,         ''          ,   ''   
247sn_rcv_qns    =       'oce and ice'          ,    'no'    ,     ''      ,         ''          ,   ''   
248sn_rcv_emp    =       'conservative'         ,    'no'    ,     ''      ,         ''          ,   ''   
249sn_rcv_rnf    =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   ''   
250sn_rcv_cal    =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   ''   
251sn_rcv_co2    =       'coupled'              ,    'no'    ,     ''      ,         ''          ,   ''   
252/
253&namtra_qsr    !   penetrative solar radiation
254!-----------------------------------------------------------------------
255!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
256!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
257   sn_chl      ='chlorophyll',        -1         , 'CHLA'    ,   .true.     , .true. , 'yearly'  , ''       , ''
258
259   cn_dir      = './'      !  root directory for the location of the runoff files
260   ln_traqsr   = .false.   !  Light penetration (T) or not (F)
261   ln_qsr_rgb  = .true.    !  RGB (Red-Green-Blue) light penetration
262   ln_qsr_2bd  = .false.   !  2 bands              light penetration
263   ln_qsr_bio  = .false.   !  bio-model light penetration
264   nn_chldta   =      1    !  RGB : Chl data (=1) or cst value (=0)
265   rn_abs      =   0.58    !  RGB & 2 bands: fraction of light (rn_si1)
266   rn_si0      =   0.35    !  RGB & 2 bands: shortess depth of extinction
267   rn_si1      =   23.0    !  2 bands: longest depth of extinction
268/
269!-----------------------------------------------------------------------
270&namsbc_rnf    !   runoffs namelist surface boundary condition
271!-----------------------------------------------------------------------
272!              !  file name           ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
273!              !                      !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
274   sn_rnf      = 'runoff_core_monthly',        -1         , 'sorunoff',   .true.     , .true. , 'yearly'  , ''       , ''
275   sn_cnf      = 'runoff_core_monthly',         0         , 'socoefr0',   .false.    , .true. , 'yearly'  , ''       , ''
276   sn_s_rnf    = 'runoffs'            ,        24         , 'rosaline',   .true.     , .true. , 'yearly'  , ''       , ''
277   sn_t_rnf    = 'runoffs'            ,        24         , 'rotemper',   .true.     , .true. , 'yearly'  , ''       , ''
278   sn_dep_rnf  = 'runoffs'            ,         0         , 'rodepth' ,   .false.    , .true. , 'yearly'  , ''       , ''
279
280   cn_dir       = './'      !  root directory for the location of the runoff files
281   ln_rnf_emp   = .false.   !  runoffs included into precipitation field (T) or into a file (F)
282   ln_rnf_mouth = .true.    !  specific treatment at rivers mouths
283   rn_hrnf      =  15.e0    !  depth over which enhanced vertical mixing is used
284   rn_avt_rnf   =   1.e-3   !  value of the additional vertical mixing coef. [m2/s]
285   rn_rfact     =   1.e0    !  multiplicative factor for runoff
286   ln_rnf_depth = .false.   !  read in depth information for runoff
287   ln_rnf_tem   = .false.   !  read in temperature information for runoff
288   ln_rnf_sal   = .false.   !  read in salinity information for runoff
289/
290!-----------------------------------------------------------------------
291&namsbc_apr    !   Atmospheric pressure used as ocean forcing or in bulk
292!-----------------------------------------------------------------------
293!              ! file name ! frequency (hours) ! variable ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
294!              !           !  (if <0  months)  !   name   !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
295   sn_apr      = 'patm'    ,         -1        ,'somslpre',    .true.      , .true.  , 'yearly'  ,  ''      ,   ''
296
297   cn_dir      = './'      !  root directory for the location of the bulk files
298   ln_ref_apr  = .false.   !  ref. pressure: global mean Patm (T) or a constant (F)
299/
300!-----------------------------------------------------------------------
301&namsbc_ssr    !   surface boundary condition : sea surface restoring
302!-----------------------------------------------------------------------
303!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
304!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
305   sn_sst      = 'sst_data'  ,        24         ,  'sst'    ,    .false.   , .false., 'yearly'  , ''       , ''
306   sn_sss      = 'sss_data'  ,        -1         ,  'sss'    ,    .true.    , .true. , 'yearly'  , ''       , ''
307
308   cn_dir      = './'      !  root directory for the location of the runoff files
309   nn_sstr     =     0     !  add a retroaction term in the surface heat       flux (=1) or not (=0)
310   nn_sssr     =     2     !  add a damping     term in the surface freshwater flux (=2)
311                           !  or to SSS only (=1) or no damping term (=0)
312   rn_dqdt     =   -40.    !  magnitude of the retroaction on temperature   [W/m2/K]
313   rn_deds     =  -166.67  !  magnitude of the damping on salinity   [mm/day]
314   ln_sssr_bnd =   .true.  !  flag to bound erp term (associated with nn_sssr=2)
315   rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day]
316/     
317!-----------------------------------------------------------------------
318&namsbc_alb    !   albedo parameters
319!-----------------------------------------------------------------------
320   rn_cloud    =    0.06   !  cloud correction to snow and ice albedo
321   rn_albice   =    0.53   !  albedo of melting ice in the arctic and antarctic
322   rn_alphd    =    0.80   !  coefficients for linear interpolation used to
323   rn_alphc    =    0.65   !  compute albedo between two extremes values
324   rn_alphdi   =    0.72   !  (Pyane, 1972)
325/
326
327!!======================================================================
328!!               ***  Lateral boundary condition  ***
329!!======================================================================
330!!   namlbc        lateral momentum boundary condition
331!!   namcla        cross land advection
332!!   namobc        open boundaries parameters                           ("key_obc")
333!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif")
334!!   nambdy        Unstructured open boundaries                         ("key_bdy")
335!!   namtide       Tidal forcing at open boundaries                     ("key_bdy_tides")
336!!======================================================================
337!
338!-----------------------------------------------------------------------
339&namlbc        !   lateral momentum boundary condition
340!-----------------------------------------------------------------------
341   rn_shlat    =    2.     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat
342                           !  free slip  !   partial slip  !   no slip   ! strong slip
343   ln_vorlat   = .false.   !  consistency of vorticity boundary condition with analytical eqs.
344/
345!-----------------------------------------------------------------------
346&namcla        !   cross land advection
347!-----------------------------------------------------------------------
348   nn_cla      =    0      !  advection between 2 ocean pts separates by land
349/
350!-----------------------------------------------------------------------
351&namobc        !   open boundaries parameters                           ("key_obc")
352!-----------------------------------------------------------------------
353   ln_obc_clim = .false.   !  climatological obc data files (T) or not (F)
354   ln_vol_cst  = .true.    !  impose the total volume conservation (T) or not (F)
355   ln_obc_fla  = .false.   !  Flather open boundary condition
356   nn_obcdta   =    1      !  = 0 the obc data are equal to the initial state
357                           !  = 1 the obc data are read in 'obc.dta' files
358   cn_obcdta   = 'annual'  !  set to annual if obc datafile hold 1 year of data
359                           !  set to monthly if obc datafile hold 1 month of data
360   rn_dpein    =    1.     !  damping time scale for inflow at east  open boundary
361   rn_dpwin    =    1.     !     -           -         -       west    -      -
362   rn_dpnin    =    1.     !     -           -         -       north   -      -
363   rn_dpsin    =    1.     !     -           -         -       south   -      -
364   rn_dpeob    = 3000.     !  time relaxation (days) for the east  open boundary
365   rn_dpwob    =   15.     !     -           -         -     west    -      -
366   rn_dpnob    = 3000.     !     -           -         -     north   -      -
367   rn_dpsob    =   15.     !     -           -         -     south   -      -
368   rn_volemp   =    1.     !  = 0 the total volume change with the surface flux (E-P-R)
369                           !  = 1 the total volume remains constant
370/
371!-----------------------------------------------------------------------
372&namagrif      !  AGRIF zoom                                            ("key_agrif")
373!-----------------------------------------------------------------------
374   nn_cln_update =    3    !  baroclinic update frequency
375   ln_spc_dyn    = .true.  !  use 0 as special value for dynamics
376   rn_sponge_tra = 2880.   !  coefficient for tracer   sponge layer [m2/s]
377   rn_sponge_dyn = 2880.   !  coefficient for dynamics sponge layer [m2/s]
378/
379!-----------------------------------------------------------------------
380&nambdy        !  unstructured open boundaries                          ("key_bdy")
381!-----------------------------------------------------------------------
382    nb_bdy = 1                            !  number of open boundary sets       
383    ln_coords_file = .true.               !  =T : read bdy coordinates from file
384    cn_coords_file = 'coordinates.bdy.nc' !  bdy coordinates files
385    ln_mask_file = .false.                !  =T : read mask from file
386    cn_mask_file = ''                     !  name of mask file (if ln_mask_file=.TRUE.)
387    nn_dyn2d      =  2                    !  boundary conditions for barotropic fields
388    nn_dyn2d_dta  =  3                    !  = 0, bdy data are equal to the initial state
389                                          !  = 1, bdy data are read in 'bdydata   .nc' files
390                                          !  = 2, use tidal harmonic forcing data from files
391                                          !  = 3, use external data AND tidal harmonic forcing
392    nn_dyn3d      =  0                    !  boundary conditions for baroclinic velocities
393    nn_dyn3d_dta  =  0                    !  = 0, bdy data are equal to the initial state
394                           !  = 1, bdy data are read in 'bdydata   .nc' files
395    nn_tra        =  1                    !  boundary conditions for T and S
396    nn_tra_dta    =  1                    !  = 0, bdy data are equal to the initial state
397                           !  = 1, bdy data are read in 'bdydata   .nc' files
398    nn_rimwidth  = 10                      !  width of the relaxation zone
399    ln_vol     = .false.                  !  total volume correction (see nn_volctl parameter)
400    nn_volctl  = 1                        !  = 0, the total water flux across open boundaries is zero
401/
402!-----------------------------------------------------------------------
403&nambdy_dta      !  open boundaries - external data           ("key_bdy")
404!-----------------------------------------------------------------------
405!              !   file name    ! frequency (hours) !  variable  ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
406!              !                !  (if <0  months)  !    name    !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
407   bn_ssh =     'amm12_bdyT_u2d' ,         24        , 'sossheig' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''
408   bn_u2d =     'amm12_bdyU_u2d' ,         24        , 'vobtcrtx' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''
409   bn_v2d =     'amm12_bdyV_u2d' ,         24        , 'vobtcrty' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''
410   bn_u3d  =    'amm12_bdyU_u3d' ,         24        , 'vozocrtx' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''
411   bn_v3d  =    'amm12_bdyV_u3d' ,         24        , 'vomecrty' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''
412   bn_tem  =    'amm12_bdyT_tra' ,         24        , 'votemper' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''
413   bn_sal  =    'amm12_bdyT_tra' ,         24        , 'vosaline' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''
414   cn_dir  =    'bdydta/'
415   ln_full_vel = .false.
416/
417!-----------------------------------------------------------------------
418&nambdy_tide     ! tidal forcing at open boundaries             
419!-----------------------------------------------------------------------
420   filtide      = 'bdydta/amm12_bdytide_'         !  file name root of tidal forcing files
421    tide_cpt(1)   ='Q1'  !  names of tidal components used
422    tide_cpt(2)   ='O1'  !  names of tidal components used
423    tide_cpt(3)   ='P1'  !  names of tidal components used
424    tide_cpt(4)   ='S1'  !  names of tidal components used
425    tide_cpt(5)   ='K1'  !  names of tidal components used
426    tide_cpt(6)   ='2N2' !  names of tidal components used
427    tide_cpt(7)   ='MU2' !  names of tidal components used
428    tide_cpt(8)   ='N2'  !  names of tidal components used
429    tide_cpt(9)   ='NU2' !  names of tidal components used
430    tide_cpt(10)   ='M2'  !  names of tidal components used
431    tide_cpt(11)   ='L2'  !  names of tidal components used
432    tide_cpt(12)   ='T2'  !  names of tidal components used
433    tide_cpt(13)   ='S2'  !  names of tidal components used
434    tide_cpt(14)   ='K2'  !  names of tidal components used
435    tide_cpt(15)   ='M4'  !  names of tidal components used
436    tide_speed(1)   = 13.398661 !  phase speeds of tidal components (deg/hour)
437    tide_speed(2)   = 13.943036 !  phase speeds of tidal components (deg/hour)
438    tide_speed(3)   = 14.958932 !  phase speeds of tidal components (deg/hour)
439    tide_speed(4)   = 15.000001 !  phase speeds of tidal components (deg/hour)
440    tide_speed(5)   = 15.041069 !  phase speeds of tidal components (deg/hour)
441    tide_speed(6)   = 27.895355 !  phase speeds of tidal components (deg/hour)
442    tide_speed(7)   = 27.968210 !  phase speeds of tidal components (deg/hour)
443    tide_speed(8)   = 28.439730 !  phase speeds of tidal components (deg/hour)
444    tide_speed(9)   = 28.512585 !  phase speeds of tidal components (deg/hour)
445    tide_speed(10)   = 28.984106 !  phase speeds of tidal components (deg/hour)
446    tide_speed(11)   = 29.528479 !  phase speeds of tidal components (deg/hour)
447    tide_speed(12)   = 29.958935 !  phase speeds of tidal components (deg/hour)
448    tide_speed(13)   = 30.000002 !  phase speeds of tidal components (deg/hour)
449    tide_speed(14)   = 30.082138 !  phase speeds of tidal components (deg/hour)
450    tide_speed(15)   = 57.968212 !  phase speeds of tidal components (deg/hour)
451    ln_tide_date = .true.               !  adjust tidal harmonics for start date of run
452/
453!!======================================================================
454!!                 ***  Bottom boundary condition  ***
455!!======================================================================
456!!   nambfr        bottom friction
457!!   nambbc        bottom temperature boundary condition               
458!!   nambbl        bottom boundary layer scheme                         ("key_trabbl")
459!!======================================================================
460!
461!-----------------------------------------------------------------------
462&nambfr        !   bottom friction
463!-----------------------------------------------------------------------
464   nn_bfr      =    1      !  type of bottom friction :   = 0 : free slip,  = 1 : linear friction
465                           !                              = 2 : nonlinear friction
466   rn_bfri1    =    4.e-4  !  bottom drag coefficient (linear case)
467   rn_bfri2    =    1.e-3  !  bottom drag coefficient (non linear case)
468   rn_bfeb2    =    2.5e-3 !  bottom turbulent kinetic energy background  (m2/s2)
469   ln_bfr2d    = .false.   !  horizontal variation of the bottom friction coef (read a 2D mask file )
470   rn_bfrien   =    50.    !  local multiplying factor of bfr (ln_bfr2d=T)
471   ln_bfrimp   = .true.    !  implicit bottom friction (requires ln_zdfexp = .false. if true)
472/
473!-----------------------------------------------------------------------
474&nambbc        !   bottom temperature boundary condition
475!-----------------------------------------------------------------------
476   ln_trabbc   = .true.    !  Apply a geothermal heating at the ocean bottom
477   nn_geoflx   =    2      !  geothermal heat flux: = 0 no flux
478                           !     = 1 constant flux
479                           !     = 2 variable flux (read in geothermal_heating.nc in mW/m2)
480   rn_geoflx_cst = 86.4e-3 !  Constant value of geothermal heat flux [W/m2]
481/
482!-----------------------------------------------------------------------
483&nambbl        !   bottom boundary layer scheme
484!-----------------------------------------------------------------------
485   nn_bbl_ldf  =  1      !  diffusive bbl (=1)   or not (=0)
486   nn_bbl_adv  =  0      !  advective bbl (=1/2) or not (=0)
487   rn_ahtbbl   =  1000.  !  lateral mixing coefficient in the bbl  [m2/s]
488   rn_gambbl   =  10.    !  advective bbl coefficient                 [s]
489/
490
491!!======================================================================
492!!                        Tracer (T & S ) namelists
493!!======================================================================
494!!   nameos        equation of state
495!!   namtra_adv    advection scheme
496!!   namtra_ldf    lateral diffusion scheme
497!!   namtra_dmp    T & S newtonian damping                       
498!!======================================================================
499!
500!-----------------------------------------------------------------------
501&nameos        !   ocean physical parameters
502!-----------------------------------------------------------------------
503   nn_eos      =   0       !  type of equation of state and Brunt-Vaisala frequency
504                           !     = 0, UNESCO (formulation of Jackett and McDougall (1994) and of McDougall (1987) )
505                           !     = 1, linear: rho(T)   = rau0 * ( 1.028 - ralpha * T )
506                           !     = 2, linear: rho(T,S) = rau0 * ( rbeta * S - ralpha * T )
507   rn_alpha    =   2.0e-4  !  thermal expension coefficient (nn_eos= 1 or 2)
508   rn_beta     =   7.7e-4  !  saline  expension coefficient (nn_eos= 2)
509/
510!-----------------------------------------------------------------------
511&namtra_adv    !   advection scheme for tracer
512!-----------------------------------------------------------------------
513   ln_traadv_cen2   =  .false.  !  2nd order centered scheme   
514   ln_traadv_tvd    =  .true.   !  TVD scheme               
515   ln_traadv_muscl  =  .false.  !  MUSCL scheme             
516   ln_traadv_muscl2 =  .false.  !  MUSCL2 scheme + cen2 at boundaries 
517   ln_traadv_ubs    =  .false.  !  UBS scheme                 
518   ln_traadv_qck    =  .false.  !  QUICKEST scheme
519/
520!----------------------------------------------------------------------------------
521&namtra_ldf    !   lateral diffusion scheme for tracers
522!----------------------------------------------------------------------------------
523   !                       !  Operator type:
524   ln_traldf_lap    =  .true.   !  laplacian operator
525   ln_traldf_bilap  =  .false.  !  bilaplacian operator
526   !                       !  Direction of action:
527   ln_traldf_level  =  .false.  !  iso-level
528   ln_traldf_hor    =  .false.  !  horizontal (geopotential)   (needs "key_ldfslp" when ln_sco=T)
529   ln_traldf_iso    =  .true.   !  iso-neutral                 (needs "key_ldfslp")
530   !                 !  Griffies parameters              (all need "key_ldfslp")
531   ln_traldf_grif   =  .false.  !  use griffies triads
532   ln_traldf_gdia   =  .false.  !  output griffies eddy velocities
533   ln_triad_iso     =  .false.  !  pure lateral mixing in ML
534   ln_botmix_grif   =  .false.  !  lateral mixing on bottom
535   !                       !  Coefficients
536   ! Eddy-induced (GM) advection always used with Griffies; otherwise needs "key_traldf_eiv"
537   ! Value rn_aeiv_0 is ignored unless = 0 with Held-Larichev spatially varying aeiv
538   !                                  (key_traldf_c2d & key_traldf_eiv & key_orca_r2, _r1 or _r05)
539   rn_aeiv_0        =  2000.    !  eddy induced velocity coefficient [m2/s]
540   rn_aht_0         =  2000.    !  horizontal eddy diffusivity for tracers [m2/s]
541   rn_ahtb_0        =     0.    !  background eddy diffusivity for ldf_iso [m2/s]
542   !                                           (normally=0; not used with Griffies)
543/
544!-----------------------------------------------------------------------
545&namtra_dmp    !   tracer: T & S newtonian damping                 
546!-----------------------------------------------------------------------
547   ln_tradmp   =  .true.   !  add a damping termn (T) or not (F)
548   nn_hdmp     =   -1      !  horizontal shape =-1, damping in Med and Red Seas only
549                           !                   =XX, damping poleward of XX degrees (XX>0)
550                           !                      + F(distance-to-coast) + Red and Med Seas
551   nn_zdmp     =    0      !  vertical   shape =0    damping throughout the water column
552                           !                   =1 no damping in the mixing layer (kz  criteria)
553                           !                   =2 no damping in the mixed  layer (rho crieria)
554   rn_surf     =   50.     !  surface time scale of damping   [days]
555   rn_bot      =  360.     !  bottom  time scale of damping   [days]
556   rn_dep      =  800.     !  depth of transition between rn_surf and rn_bot [meters]
557   nn_file     =    0      !  create a damping.coeff NetCDF file (=1) or not (=0)
558/
559
560!!======================================================================
561!!                      ***  Dynamics namelists  ***
562!!======================================================================
563!!   namdyn_adv    formulation of the momentum advection
564!!   namdyn_vor    advection scheme
565!!   namdyn_hpg    hydrostatic pressure gradient
566!!   namdyn_spg    surface pressure gradient                            (CPP key only)
567!!   namdyn_ldf    lateral diffusion scheme
568!!======================================================================
569!
570!-----------------------------------------------------------------------
571&namdyn_adv    !   formulation of the momentum advection
572!-----------------------------------------------------------------------
573   ln_dynadv_vec = .true.  !  vector form (T) or flux form (F) 
574   ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme
575   ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme
576
577!-----------------------------------------------------------------------
578&namdyn_vor    !   option of physics/algorithm (not control by CPP keys)
579!-----------------------------------------------------------------------
580   ln_dynvor_ene = .false. !  enstrophy conserving scheme 
581   ln_dynvor_ens = .false. !  energy conserving scheme   
582   ln_dynvor_mix = .false. !  mixed scheme               
583   ln_dynvor_een = .true.  !  energy & enstrophy scheme 
584/
585!-----------------------------------------------------------------------
586&namdyn_hpg    !   Hydrostatic pressure gradient option
587!-----------------------------------------------------------------------
588   ln_hpg_zco  = .false.   !  z-coordinate - full steps                   
589   ln_hpg_zps  = .true.    !  z-coordinate - partial steps (interpolation)
590   ln_hpg_sco  = .false.   !  s-coordinate (standard jacobian formulation)
591   ln_hpg_djc  = .false.   !  s-coordinate (Density Jacobian with Cubic polynomial)
592   ln_hpg_prj  = .false.   !  s-coordinate (Pressure Jacobian scheme)
593   ln_dynhpg_imp = .false. !  time stepping: semi-implicit time scheme  (T)
594                                 !           centered      time scheme  (F)
595/
596!-----------------------------------------------------------------------
597!namdyn_spg    !   surface pressure gradient   (CPP key only)
598!-----------------------------------------------------------------------
599!                          !  explicit free surface                     ("key_dynspg_exp")
600!                          !  filtered free surface                     ("key_dynspg_flt")
601!                          !  split-explicit free surface               ("key_dynspg_ts")
602
603!-----------------------------------------------------------------------
604&namdyn_ldf    !   lateral diffusion on momentum
605!-----------------------------------------------------------------------
606   !                       !  Type of the operator :
607   ln_dynldf_lap    =  .true.   !  laplacian operator         
608   ln_dynldf_bilap  =  .false.  !  bilaplacian operator   
609   !                       !  Direction of action  :
610   ln_dynldf_level  =  .false.  !  iso-level               
611   ln_dynldf_hor    =  .true.   !  horizontal (geopotential)            (require "key_ldfslp" in s-coord.)
612   ln_dynldf_iso    =  .false.  !  iso-neutral                          (require "key_ldfslp")
613   !                       !  Coefficient
614   rn_ahm_0_lap     = 40000.    !  horizontal laplacian eddy viscosity   [m2/s]
615   rn_ahmb_0        =     0.    !  background eddy viscosity for ldf_iso [m2/s]
616   rn_ahm_0_blp     =     0.    !  horizontal bilaplacian eddy viscosity [m4/s]
617/
618!-----------------------------------------------------------------------
619&namdta_dyn        !   offline dynamics read in files                ("key_offline")
620!-----------------------------------------------------------------------
621!            !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
622!            !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
623   sn_tem  = 'dyna_grid_T' ,    120            , 'votemper' ,  .true.    , .true. ,   'yearly'  , ''       , ''
624   sn_sal  = 'dyna_grid_T' ,    120            , 'vosaline' ,  .true.    , .true. ,   'yearly'  , ''       , ''
625   sn_mld  = 'dyna_grid_T' ,    120            , 'somixhgt' ,  .true.    , .true. ,   'yearly'  , ''       , ''
626   sn_emp  = 'dyna_grid_T' ,    120            , 'sowaflcd' ,  .true.    , .true. ,   'yearly'  , ''       , ''
627   sn_ice  = 'dyna_grid_T' ,    120            , 'soicecov' ,  .true.    , .true. ,   'yearly'  , ''       , ''
628   sn_qsr  = 'dyna_grid_T' ,    120            , 'soshfldo' ,  .true.    , .true. ,   'yearly'  , ''       , ''
629   sn_wnd  = 'dyna_grid_T' ,    120            , 'sowindsp' ,  .true.    , .true. ,   'yearly'  , ''       , ''
630   sn_uwd  = 'dyna_grid_U' ,    120            , 'vozocrtx' ,  .true.    , .true. ,   'yearly'  , ''       , ''
631   sn_vwd  = 'dyna_grid_V' ,    120            , 'vomecrty' ,  .true.    , .true. ,   'yearly'  , ''       , ''
632   sn_wwd  = 'dyna_grid_W' ,    120            , 'vovecrtz' ,  .true.    , .true. ,   'yearly'  , ''       , ''
633   sn_avt  = 'dyna_grid_W' ,    120            , 'voddmavs' ,  .true.    , .true. ,   'yearly'  , ''       , ''
634   sn_ubl  = 'dyna_grid_U' ,    120            , 'sobblcox' ,  .true.    , .true. ,   'yearly'  , ''       , ''
635   sn_vbl  = 'dyna_grid_V' ,    120            , 'sobblcoy' ,  .true.    , .true. ,   'yearly'  , ''       , ''
636   sn_eiw  = 'dyna_grid_W' ,    120            , 'soleaeiw' ,  .true.    , .true. ,   'yearly'  , ''       , ''
637!
638!  cn_dir      = './'      !  root directory for the location of the dynamical files
639! AM:
640   cn_dir      = '../DYNA/'      !  root directory for the location of the dynamical files
641   ln_degrad   =  .false.  !  flag for degradation -                requires ("key_degrad")
642   ln_dynwzv   =  .true.   !  computation of vertical velocity instead of using the one read in file
643   ln_dynbbl   =  .true.   !  bbl coef are in files, so read them - requires ("key_trabbl")
644/
645!!======================================================================
646!!             Tracers & Dynamics vertical physics namelists
647!!======================================================================
648!!    namzdf        vertical physics
649!!    namzdf_ric    richardson number dependent vertical mixing         ("key_zdfric")
650!!    namzdf_tke    TKE dependent vertical mixing                       ("key_zdftke")
651!!    namzdf_kpp    KPP dependent vertical mixing                       ("key_zdfkpp")
652!!    namzdf_ddm    double diffusive mixing parameterization            ("key_zdfddm")
653!!    namzdf_tmx    tidal mixing parameterization                       ("key_zdftmx")
654!!======================================================================
655!
656!-----------------------------------------------------------------------
657&namzdf        !   vertical physics
658!-----------------------------------------------------------------------
659   rn_avm0     =   1.2e-4  !  vertical eddy viscosity   [m2/s]          (background Kz if not "key_zdfcst")
660   rn_avt0     =   1.2e-5  !  vertical eddy diffusivity [m2/s]          (background Kz if not "key_zdfcst")
661   nn_avb      =    0      !  profile for background avt & avm (=1) or not (=0)
662   nn_havtb    =    0      !  horizontal shape for avtb (=1) or not (=0)
663   ln_zdfevd   = .true.    !  enhanced vertical diffusion (evd) (T) or not (F)
664   nn_evdm     =    0      !  evd apply on tracer (=0) or on tracer and momentum (=1)
665   rn_avevd    =  100.     !  evd mixing coefficient [m2/s]
666   ln_zdfnpc   = .false.   !  Non-Penetrative Convective algorithm (T) or not (F)
667   nn_npc      =    1            !  frequency of application of npc
668   nn_npcp     =  365            !  npc control print frequency
669   ln_zdfexp   = .false.   !  time-stepping: split-explicit (T) or implicit (F) time stepping
670   nn_zdfexp   =    3            !  number of sub-timestep for ln_zdfexp=T
671/
672!-----------------------------------------------------------------------
673&namzdf_ric    !   richardson number dependent vertical diffusion       ("key_zdfric" )
674!-----------------------------------------------------------------------
675   rn_avmri    = 100.e-4   !  maximum value of the vertical viscosity
676   rn_alp      =   5.      !  coefficient of the parameterization
677   nn_ric      =   2       !  coefficient of the parameterization
678   rn_ekmfc    =   0.7     !  Factor in the Ekman depth Equation
679   rn_mldmin   =   1.0     !  minimum allowable mixed-layer depth estimate (m)
680   rn_mldmax   =1000.0     !  maximum allowable mixed-layer depth estimate (m)
681   rn_wtmix    =  10.0     !  vertical eddy viscosity coeff [m2/s] in the mixed-layer
682   rn_wvmix    =  10.0     !  vertical eddy diffusion coeff [m2/s] in the mixed-layer
683   ln_mldw     = .true.    !  Flag to use or not the mized layer depth param.
684/
685!-----------------------------------------------------------------------
686&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  ("key_zdftke")
687!-----------------------------------------------------------------------
688   rn_ediff    =   0.1     !  coef. for vertical eddy coef. (avt=rn_ediff*mxl*sqrt(e) )
689   rn_ediss    =   0.7     !  coef. of the Kolmogoroff dissipation
690   rn_ebb      =  67.83    !  coef. of the surface input of tke (=67.83 suggested when ln_mxl0=T)
691   rn_emin     =   1.e-6   !  minimum value of tke [m2/s2]
692   rn_emin0    =   1.e-4   !  surface minimum value of tke [m2/s2]
693   nn_mxl      =   2       !  mixing length: = 0 bounded by the distance to surface and bottom
694                           !                 = 1 bounded by the local vertical scale factor
695                           !                 = 2 first vertical derivative of mixing length bounded by 1
696                           !                 = 3 as =2 with distinct disspipative an mixing length scale
697   nn_pdl      =   1       !  Prandtl number function of richarson number (=1, avt=pdl(Ri)*avm) or not (=0, avt=avm)
698   ln_mxl0     = .true.    !  surface mixing length scale = F(wind stress) (T) or not (F)
699   rn_mxl0     =   0.04    !  surface  buoyancy lenght scale minimum value
700   ln_lc       = .true.    !  Langmuir cell parameterisation (Axell 2002)
701   rn_lc       =   0.15    !  coef. associated to Langmuir cells
702   nn_etau     =   1       !  penetration of tke below the mixed layer (ML) due to internal & intertial waves
703                           !        = 0 no penetration
704                           !        = 1 add a tke source below the ML
705                           !        = 2 add a tke source just at the base of the ML
706                           !        = 3 as = 1 applied on HF part of the stress    ("key_coupled")
707   rn_efr      =   0.05    !  fraction of surface tke value which penetrates below the ML (nn_etau=1 or 2)
708   nn_htau     =   1       !  type of exponential decrease of tke penetration below the ML
709                           !        = 0  constant 10 m length scale
710                           !        = 1  0.5m at the equator to 30m poleward of 40 degrees
711/
712!------------------------------------------------------------------------
713&namzdf_kpp    !   K-Profile Parameterization dependent vertical mixing  ("key_zdfkpp", and optionally:
714!------------------------------------------------------------------------ "key_kppcustom" or "key_kpplktb")
715   ln_kpprimix = .true.    !  shear instability mixing
716   rn_difmiw   =  1.0e-04  !  constant internal wave viscosity [m2/s]
717   rn_difsiw   =  0.1e-04  !  constant internal wave diffusivity [m2/s]
718   rn_riinfty  =  0.8      !  local Richardson Number limit for shear instability
719   rn_difri    =  0.0050   !  maximum shear mixing at Rig = 0    [m2/s]
720   rn_bvsqcon  = -0.01e-07 !  Brunt-Vaisala squared for maximum convection [1/s2]
721   rn_difcon   =  1.       !  maximum mixing in interior convection [m2/s]
722   nn_avb      =  0        !  horizontal averaged (=1) or not (=0) on avt and amv
723   nn_ave      =  1        !  constant (=0) or profile (=1) background on avt
724/
725!-----------------------------------------------------------------------
726&namzdf_gls                !   GLS vertical diffusion                   ("key_zdfgls")
727!-----------------------------------------------------------------------
728   rn_emin       = 1.e-6   !  minimum value of e   [m2/s2]
729   rn_epsmin     = 1.e-12  !  minimum value of eps [m2/s3]
730   ln_length_lim = .true.  !  limit on the dissipation rate under stable stratification (Galperin et al., 1988)
731   rn_clim_galp  = 0.53    !  galperin limit
732   ln_crban      = .true.  !  Use Craig & Banner (1994) surface wave mixing parametrisation
733   ln_sigpsi     = .true.  !  Activate or not Burchard 2001 mods on psi schmidt number in the wb case
734   rn_crban      = 100.    !  Craig and Banner 1994 constant for wb tke flux
735   rn_charn      = 70000.  !  Charnock constant for wb induced roughness length
736   nn_tkebc_surf =   1     !  surface tke condition (0/1/2=Dir/Neum/Dir Mellor-Blumberg)
737   nn_tkebc_bot  =   1     !  bottom tke condition (0/1=Dir/Neum)
738   nn_psibc_surf =   1     !  surface psi condition (0/1/2=Dir/Neum/Dir Mellor-Blumberg)
739   nn_psibc_bot  =   1     !  bottom psi condition (0/1=Dir/Neum)
740   nn_stab_func  =   2     !  stability function (0=Galp, 1= KC94, 2=CanutoA, 3=CanutoB)
741   nn_clos       =   1     !  predefined closure type (0=MY82, 1=k-eps, 2=k-w, 3=Gen)
742/
743!-----------------------------------------------------------------------
744&namzdf_ddm    !   double diffusive mixing parameterization             ("key_zdfddm")
745!-----------------------------------------------------------------------
746   rn_avts     = 1.e-4     !  maximum avs (vertical mixing on salinity)
747   rn_hsbfr    = 1.6       !  heat/salt buoyancy flux ratio
748/
749!-----------------------------------------------------------------------
750&namzdf_tmx    !   tidal mixing parameterization                        ("key_zdftmx")
751!-----------------------------------------------------------------------
752   rn_htmx     = 500.      !  vertical decay scale for turbulence (meters)
753   rn_n2min    = 1.e-8     !  threshold of the Brunt-Vaisala frequency (s-1)
754   rn_tfe      = 0.333     !  tidal dissipation efficiency
755   rn_me       = 0.2       !  mixing efficiency
756   ln_tmx_itf  = .true.    !  ITF specific parameterisation
757   rn_tfe_itf  = 1.        !  ITF tidal dissipation efficiency
758/
759
760!!======================================================================
761!!                  ***  Miscellaneous namelists  ***
762!!======================================================================
763!!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi)
764!!   namctl            Control prints & Benchmark
765!!   namsol            elliptic solver / island / free surface
766!!======================================================================
767!
768!-----------------------------------------------------------------------
769&namsol        !   elliptic solver / island / free surface
770!-----------------------------------------------------------------------
771   nn_solv     =      1    !  elliptic solver: =1 preconditioned conjugate gradient (pcg)
772                           !                   =2 successive-over-relaxation (sor)
773   nn_sol_arp  =      0    !  absolute/relative (0/1) precision convergence test
774   rn_eps      =  1.e-6    !  absolute precision of the solver
775   nn_nmin     =    300    !  minimum of iterations for the SOR solver
776   nn_nmax     =    800    !  maximum of iterations for the SOR solver
777   nn_nmod     =     10    !  frequency of test for the SOR solver
778   rn_resmax   =  1.e-10   !  absolute precision for the SOR solver
779   rn_sor      =  1.92     !  optimal coefficient for SOR solver (to be adjusted with the domain)
780/
781!-----------------------------------------------------------------------
782&nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi)
783!-----------------------------------------------------------------------
784   cn_mpi_send =  'I'      !  mpi send/recieve type   ='S', 'B', or 'I' for standard send,
785                           !  buffer blocking send or immediate non-blocking sends, resp.
786   nn_buffer   =   0       !  size in bytes of exported buffer ('B' case), 0 no exportation
787   ln_nnogather=  .false.  !  activate code to avoid mpi_allgather use at the northfold
788   jpni        =   0       !  jpni   number of processors following i (set automatically if < 1)
789   jpnj        =   0       !  jpnj   number of processors following j (set automatically if < 1)
790   jpnij       =   0       !  jpnij  number of local domains (set automatically if < 1)
791/
792!-----------------------------------------------------------------------
793&namctl        !   Control prints & Benchmark
794!-----------------------------------------------------------------------
795   ln_ctl      = .false.   !  trends control print (expensive!)
796   nn_print    =    0      !  level of print (0 no extra print)
797   nn_ictls    =    0      !  start i indice of control sum (use to compare mono versus
798   nn_ictle    =    0      !  end   i indice of control sum        multi processor runs
799   nn_jctls    =    0      !  start j indice of control               over a subdomain)
800   nn_jctle    =    0      !  end   j indice of control
801   nn_isplt    =    1      !  number of processors in i-direction
802   nn_jsplt    =    1      !  number of processors in j-direction
803   nn_bench    =    0      !  Bench mode (1/0): CAUTION use zero except for bench
804                           !     (no physical validity of the results)
805   nn_timing   =    0      !  timing by routine activated (=1) creates timing.output file, or not (=0)
806/
807
808!!======================================================================
809!!                  ***  Diagnostics namelists  ***
810!!======================================================================
811!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4")
812!!   namtrd       dynamics and/or tracer trends                         ("key_trddyn","key_trdtra","key_trdmld")
813!!   namflo       float parameters                                      ("key_float")
814!!   namptr       Poleward Transport Diagnostics
815!!   namhsb       Heat and salt budgets
816!!======================================================================
817!
818!-----------------------------------------------------------------------
819&namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4")
820!-----------------------------------------------------------------------
821   nn_nchunks_i=   4       !  number of chunks in i-dimension
822   nn_nchunks_j=   4       !  number of chunks in j-dimension
823   nn_nchunks_k=   31      !  number of chunks in k-dimension
824                           !  setting nn_nchunks_k = jpk will give a chunk size of 1 in the vertical which
825                           !  is optimal for postprocessing which works exclusively with horizontal slabs
826   ln_nc4zip   = .true.    !  (T) use netcdf4 chunking and compression
827                           !  (F) ignore chunking information and produce netcdf3-compatible files
828/
829!-----------------------------------------------------------------------
830&namtrd        !   diagnostics on dynamics and/or tracer trends         ("key_trddyn" and/or "key_trdtra")
831!              !       or mixed-layer trends or barotropic vorticity    ("key_trdmld" or     "key_trdvor")
832!-----------------------------------------------------------------------
833   nn_trd      = 365       !  time step frequency dynamics and tracers trends
834   nn_ctls     =   0       !  control surface type in mixed-layer trends (0,1 or n<jpk)
835   rn_ucf      =   1.      !  unit conversion factor (=1 -> /seconds ; =86400. -> /day)
836   cn_trdrst_in      = "restart_mld"   ! suffix of ocean restart name (input)
837   cn_trdrst_out     = "restart_mld"   ! suffix of ocean restart name (output)
838   ln_trdmld_restart = .false.         !  restart for ML diagnostics
839   ln_trdmld_instant = .false.         !  flag to diagnose trends of instantantaneous or mean ML T/S
840/
841!-----------------------------------------------------------------------
842&namflo       !   float parameters                                      ("key_float")
843!-----------------------------------------------------------------------
844   jpnfl         = 1          !  total number of floats during the run
845   jpnnewflo     = 0          !  number of floats for the restart
846   ln_rstflo     = .false.    !  float restart (T) or not (F)
847   nn_writefl    =      75    !  frequency of writing in float output file
848   nn_stockfl    =    5475    !  frequency of creation of the float restart file
849   ln_argo       = .false.    !  Argo type floats (stay at the surface each 10 days)
850   ln_flork4     = .false.    !  trajectories computed with a 4th order Runge-Kutta (T)
851                              !  or computed with Blanke' scheme (F)
852   ln_ariane     = .true.     !  Input with Ariane tool convention(T)
853   ln_flo_ascii  = .true.     !  Output with Ariane tool netcdf convention(F) or ascii file (T)
854/
855!-----------------------------------------------------------------------
856&namptr       !   Poleward Transport Diagnostic
857!-----------------------------------------------------------------------
858   ln_diaptr  = .false.    !  Poleward heat and salt transport (T) or not (F)
859   ln_diaznl  = .true.     !  Add zonal means and meridional stream functions
860   ln_subbas  = .true.     !  Atlantic/Pacific/Indian basins computation (T) or not
861                           !  (orca configuration only, need input basins mask file named "subbasins.nc"
862   ln_ptrcomp = .true.     !  Add decomposition : overturning
863   nn_fptr    =  1         !  Frequency of ptr computation [time step]
864   nn_fwri    =  15        !  Frequency of ptr outputs [time step]
865/
866!-----------------------------------------------------------------------
867&namhsb       !  Heat and salt budgets
868!-----------------------------------------------------------------------
869   ln_diahsb  = .false.    !  check the heat and salt budgets (T) or not (F)
870/
871!-----------------------------------------------------------------------
872&namdct        ! transports through sections
873!-----------------------------------------------------------------------
874    nn_dct      = 15       !  time step frequency for transports computing
875    nn_dctwri   = 15       !  time step frequency for transports writing
876    nn_secdebug = 112      !      0 : no section to debug
877                           !     -1 : debug all section
878                           !  0 < n : debug section number n
879/
880
881!!======================================================================
882!!            ***  Observation & Assimilation namelists ***
883!!======================================================================
884!!   namobs       observation and model comparison                      ('key_diaobs')
885!!   nam_asminc   assimilation increments                               ('key_asminc')
886!!======================================================================
887!
888!-----------------------------------------------------------------------
889&namobs       !  observation usage switch                               ('key_diaobs')
890!-----------------------------------------------------------------------
891   ln_t3d     = .false.    ! Logical switch for T profile observations         
892   ln_s3d     = .false.    ! Logical switch for S profile observations         
893   ln_ena     = .false.    ! Logical switch for ENACT insitu data set           
894   !                       !     ln_cor                  Logical switch for Coriolis insitu data set       
895   ln_profb   = .false.    ! Logical switch for feedback insitu data set     
896   ln_sla     = .false.    ! Logical switch for SLA observations               
897
898   ln_sladt   = .false.    ! Logical switch for AVISO SLA data             
899
900   ln_slafb   = .false.    ! Logical switch for feedback SLA data           
901                           !     ln_ssh                  Logical switch for SSH observations             
902
903   ln_sst     = .false.    ! Logical switch for SST observations             
904                           !     ln_reysst               Logical switch for Reynolds observations       
905                           !     ln_ghrsst               Logical switch for GHRSST observations         
906
907   ln_sstfb   = .false.    ! Logical switch for feedback SST data         
908                           !     ln_sss                  Logical switch for SSS observations             
909                           !     ln_seaice               Logical switch for Sea Ice observations       
910                           !     ln_vel3d                Logical switch for velocity observations         
911                           !     ln_velavcur             Logical switch for velocity daily av. cur.   
912                           !     ln_velhrcur             Logical switch for velocity high freq. cur.   
913                           !     ln_velavadcp            Logical switch for velocity daily av. ADCP 
914                           !     ln_velhradcp            Logical switch for velocity high freq. ADCP
915                           !     ln_velfb                Logical switch for feedback velocity data       
916                           !     ln_grid_global          Global distribtion of observations         
917                           !     ln_grid_search_lookup   Logical switch for obs grid search w/lookup table 
918                           !     grid_search_file        Grid search lookup file header
919                           !     enactfiles              ENACT input observation file names
920                           !     coriofiles              Coriolis input observation file name 
921   !                       ! profbfiles: Profile feedback input observation file name
922   profbfiles = 'profiles_01.nc'
923                           !     ln_profb_enatim         Enact feedback input time setting switch   
924                           !     slafilesact             Active SLA input observation file name
925                           !     slafilespas             Passive SLA input observation file name
926   !                       ! slafbfiles: Feedback SLA input observation file name
927   slafbfiles = 'sla_01.nc'
928                           !     sstfiles                GHRSST input observation file name       
929   !                       ! sstfbfiles: Feedback SST input observation file name
930   sstfbfiles = 'sst_01.nc' 'sst_02.nc' 'sst_03.nc' 'sst_04.nc' 'sst_05.nc'
931                           !     seaicefiles             Sea Ice input observation file name
932                           !     velavcurfiles           Vel. cur. daily av. input file name 
933                           !     velhvcurfiles           Vel. cur. high freq. input file name 
934                           !     velavadcpfiles          Vel. ADCP daily av. input file name   
935                           !     velhvadcpfiles          Vel. ADCP high freq. input file name
936                           !     velfbfiles              Vel. feedback input observation file name
937                           !     dobsini                 Initial date in window YYYYMMDD.HHMMSS       
938                           !     dobsend                 Final date in window YYYYMMDD.HHMMSS         
939                           !     n1dint                  Type of vertical interpolation method       
940                           !     n2dint                  Type of horizontal interpolation method       
941                           !     ln_nea                  Rejection of observations near land switch   
942   nmsshc     = 0          ! MSSH correction scheme                         
943                           !     mdtcorr                 MDT  correction                               
944                           !     mdtcutoff               MDT cutoff for computed correction         
945   ln_altbias = .false.    ! Logical switch for alt bias               
946   ln_ignmis  = .true.     ! Logical switch for ignoring missing files   
947                           !     endailyavtypes   ENACT daily average types                   
948   ln_grid_global = .true.
949   ln_grid_search_lookup = .false.
950/
951!-----------------------------------------------------------------------
952&nam_asminc   !   assimilation increments                               ('key_asminc')
953!-----------------------------------------------------------------------
954    ln_bkgwri = .false.    !  Logical switch for writing out background state
955    ln_trjwri = .false.    !  Logical switch for writing out state trajectory
956    ln_trainc = .false.    !  Logical switch for applying tracer increments
957    ln_dyninc = .false.    !  Logical switch for applying velocity increments
958    ln_sshinc = .false.    !  Logical switch for applying SSH increments
959    ln_asmdin = .false.    !  Logical switch for Direct Initialization (DI)
960    ln_asmiau = .false.    !  Logical switch for Incremental Analysis Updating (IAU)
961    nitbkg    = 0          !  Timestep of background in [0,nitend-nit000-1]
962    nitdin    = 0          !  Timestep of background for DI in [0,nitend-nit000-1]
963    nitiaustr = 1          !  Timestep of start of IAU interval in [0,nitend-nit000-1]
964    nitiaufin = 15         !  Timestep of end of IAU interval in [0,nitend-nit000-1]
965    niaufn    = 0          !  Type of IAU weighting function
966    nittrjfrq = 0          !  Frequency of trajectory output for 4D-VAR
967    ln_salfix = .false.    !  Logical switch for ensuring that the sa > salfixmin
968    salfixmin = -9999      !  Minimum salinity after applying the increments
969    nn_divdmp = 0          !  Number of iterations of divergence damping operator
970/
971!-----------------------------------------------------------------------
972&namsbc_wave   ! External fields from wave model
973!-----------------------------------------------------------------------
974!              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation !
975!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  !
976   sn_cdg      =  'cdg_wave' ,        1          , 'drag_coeff' , .true.   , .false. , 'daily'  ,''         , ''
977!
978   cn_dir_cdg  = './'  !  root directory for the location of drag coefficient files
979/
980!-----------------------------------------------------------------------
981&namdyn_nept  !   Neptune effect (simplified: lateral and vertical diffusions removed)
982!-----------------------------------------------------------------------
983   ! Suggested lengthscale values are those of Eby & Holloway (1994) for a coarse model
984   ln_neptsimp       = .false.  ! yes/no use simplified neptune
985
986   ln_smooth_neptvel = .false.  ! yes/no smooth zunep, zvnep
987   rn_tslse          =  1.2e4   ! value of lengthscale L at the equator
988   rn_tslsp          =  3.0e3   ! value of lengthscale L at the pole
989   ! Specify whether to ramp down the Neptune velocity in shallow
990   ! water, and if so the depth range controlling such ramping down
991   ln_neptramp       = .false.  ! ramp down Neptune velocity in shallow water
992   rn_htrmin         =  100.0   ! min. depth of transition range
993   rn_htrmax         =  200.0   ! max. depth of transition range
994/