Changeset 11628 for NEMO/branches
- Timestamp:
- 2019-10-01T18:12:05+02:00 (5 years ago)
- Location:
- NEMO/branches/2019/ENHANCE-03_domcfg
- Files:
-
- 1 added
- 5 deleted
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/ENHANCE-03_domcfg/README.rst
r11599 r11628 19 19 NOTA: it can be run in multiproc mode, but in output there will be domain_cfg_00xx.nc files 20 20 21 === Closed seas (closea module) ===22 23 If you want to define closed seas in the bathymetry either to suppress them at runtime or24 redistribute freshwater fluxes, then you need to run make_closea_masks.py after you have25 created the basic domain_cfg file. This utility will add "closea_mask*" fields to the26 domain_cfg file to define the closed seas in the configuration. (If you have closed seas27 but don't want to treat them in a special way then you can ignore this step).28 29 21 ================================ 30 22 = HOW TO USE … … 33 25 IMPORTANT : keep the namelist_ref committed inchanged. !!! 34 26 35 NEW OPTION ln_e3_dep in the namelist_ref: 27 NEW OPTION: 28 * ln_e3_dep 36 29 till nemo_v3.6_stable e3 were done like an analytical derivative of depth function 37 30 now e3=dk[depth] in discret sens … … 44 37 ! ! only there for backward compatibility test with v3.6 45 38 ! 39 40 * ln_domclo 41 The definition of closed sea are now integrated into ./make_domain_cfg.exe. The need on an external python script and hard coded indices has been removed. 42 ln_domclo=T will generate the masks needed to mask or correct 43 the fwf unbalance over closed sea. If non defined closed sea are detected, a mask containing this will also be generated. 44 The detection of the lake is done using a lat/lon seed and a flood filling algorithm (the default namelist should work for any resolution). 45 The definition of the target area is done by defining a lat/lon position center, then all wet points at a defined distance of it will be selected. 46 Options are available to select only coastal points if needed. 46 47 47 48 2) copy in DOMAINcfg directory same input files (of related configuration) required in v3.6_stable. -
NEMO/branches/2019/ENHANCE-03_domcfg/namelist_cfg
r10727 r11628 1 1 !!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2 !! NEMO/O PA Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_ref2 !! NEMO/OCE : Reference namelist_ref !! 3 3 !!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4 ! 4 !! NEMO/OCE : 1 - Domain & run manager (namrun, namcfg, namdom, namzgr, namzgr_sco ) 5 !! 2 - diagnostics (namnc4) 6 !! 3 - miscellaneous (nammpp, namctl) 7 !! 8 !! namelist skeleton : egrep -E '(^/ *$|^! *$|^ *$|&nam.*|!---.*|!! .*|!!==.*|!!>>>.*)' namelist_ref > namelist_skl 9 !!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 5 10 !----------------------------------------------------------------------- 6 11 &namrun ! parameters of the run 7 12 !----------------------------------------------------------------------- 8 nn_no = 0 ! job number (no more used...) 9 cn_exp = "domaincfg" ! experience name 10 nn_it000 = 1 ! first time step 11 nn_itend = 75 ! last time step (std 5475) 13 / 14 !----------------------------------------------------------------------- 15 &namdom ! space and time domain (bathymetry, mesh, timestep) 16 !----------------------------------------------------------------------- 12 17 / 13 18 !----------------------------------------------------------------------- 14 19 &namcfg ! parameters of the configuration 15 20 !----------------------------------------------------------------------- 16 !17 ln_e3_dep = .true. ! =T : e3=dk[depth] in discret sens.18 ! ! ===>>> will become the only possibility in v4.019 ! ! =F : e3 analytical derivative of depth function20 ! ! only there for backward compatibility test with v3.621 ! !22 cp_cfg = "orca" ! name of the configuration23 jp_cfg = 2 ! resolution of the configuration24 jpidta = 182 ! 1st lateral dimension ( >= jpi )25 jpjdta = 149 ! 2nd " " ( >= jpj )26 jpkdta = 31 ! number of levels ( >= jpk )27 jpiglo = 182 ! 1st dimension of global domain --> i =jpidta28 jpjglo = 149 ! 2nd - - --> j =jpjdta29 jpizoom = 1 ! left bottom (i,j) indices of the zoom30 jpjzoom = 1 ! in data domain indices31 jperio = 4 ! lateral cond. type (between 0 and 6)32 21 / 33 22 !----------------------------------------------------------------------- 34 &namzgr ! vertical coordinate 35 !----------------------------------------------------------------------- 36 ln_zps = .true. ! z-coordinate - partial steps 37 ln_linssh = .true. ! linear free surface 38 / 39 &namzgr_sco 40 / 41 &namlbc 42 / 43 &namagrif 44 / 45 &nambdy 46 / 47 &nam_vvl 48 / 49 50 !----------------------------------------------------------------------- 51 &namdom ! space and time domain (bathymetry, mesh, timestep) 52 !----------------------------------------------------------------------- 53 jphgr_msh = 0 ! type of horizontal mesh 54 ppglam0 = 999999.0 ! longitude of first raw and column T-point (jphgr_msh = 1) 55 ppgphi0 = 999999.0 ! latitude of first raw and column T-point (jphgr_msh = 1) 56 ppe1_deg = 999999.0 ! zonal grid-spacing (degrees) 57 ppe2_deg = 999999.0 ! meridional grid-spacing (degrees) 58 ppe1_m = 999999.0 ! zonal grid-spacing (degrees) 59 ppe2_m = 999999.0 ! meridional grid-spacing (degrees) 60 ppsur = -4762.96143546300 ! ORCA r4, r2 and r05 coefficients 61 ppa0 = 255.58049070440 ! (default coefficients) 62 ppa1 = 245.58132232490 ! 63 ppkth = 21.43336197938 ! 64 ppacr = 3.0 ! 65 ppdzmin = 999999. ! Minimum vertical spacing 66 pphmax = 999999. ! Maximum depth 67 ldbletanh = .FALSE. ! Use/do not use double tanf function for vertical coordinates 68 ppa2 = 999999. ! Double tanh function parameters 69 ppkth2 = 999999. ! 70 ppacr2 = 999999. ! 71 / 72 !----------------------------------------------------------------------- 73 &nammpp ! Massively Parallel Processing ("key_mpp_mpi) 23 &namzgr ! vertical coordinate (default: NO selection) 74 24 !----------------------------------------------------------------------- 75 25 / 76 26 !----------------------------------------------------------------------- 77 &namctl ! Control prints & Benchmark 27 &namzgr_sco ! s-coordinate or hybrid z-s-coordinate (default F) 28 !----------------------------------------------------------------------- 29 !!!!!!! Envelop bathymetry 30 !!!!!!! SH94 stretching coefficients (ln_s_sh94 = .true.) 31 !!!!!!! SF12 stretching coefficient (ln_s_sf12 = .true.) 32 !!!!!!!! Other stretching (not SH94 or SF12) [also uses rn_theta above] 33 / 34 !----------------------------------------------------------------------- 35 &namclo ! (closed sea : need ln_domclo = .true. in namcfg) 78 36 !----------------------------------------------------------------------- 79 37 / 38 !----------------------------------------------------------------------- 39 &namlbc ! lateral momentum boundary condition (default: NO selection) 40 !----------------------------------------------------------------------- 41 / 42 !----------------------------------------------------------------------- 43 &namagrif ! AGRIF zoom ("key_agrif") 44 !----------------------------------------------------------------------- 45 / 46 !----------------------------------------------------------------------- 47 &nambdy ! unstructured open boundaries (default: OFF) 48 !----------------------------------------------------------------------- 49 / 50 !----------------------------------------------------------------------- 51 &namnc4 ! netcdf4 chunking and compression settings ("key_netcdf4") 52 !----------------------------------------------------------------------- 53 / 54 !----------------------------------------------------------------------- 55 &nammpp ! Massively Parallel Processing ("key_mpp_mpi") 56 !----------------------------------------------------------------------- 57 / 58 !----------------------------------------------------------------------- 59 &namctl ! Control prints (default: OFF) 60 !----------------------------------------------------------------------- 61 / -
NEMO/branches/2019/ENHANCE-03_domcfg/namelist_ref
r11201 r11628 3 3 !!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4 4 !! NEMO/OCE : 1 - Domain & run manager (namrun, namcfg, namdom, namzgr, namzgr_sco ) 5 !! 8- diagnostics (namnc4)6 !! 10- miscellaneous (nammpp, namctl)5 !! 2 - diagnostics (namnc4) 6 !! 3 - miscellaneous (nammpp, namctl) 7 7 !!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 8 8 !----------------------------------------------------------------------- … … 139 139 &namclo ! (closed sea : need ln_domclo = .true. in namcfg) 140 140 !----------------------------------------------------------------------- 141 rn_lon_opnsea = - 2.0! longitude seed of open ocean142 rn_lat_opnsea = - 2.0! latitude seed of open ocean141 rn_lon_opnsea = -0.0 ! longitude seed of open ocean 142 rn_lat_opnsea = -0.0 ! latitude seed of open ocean 143 143 nn_closea = 8 ! number of closed seas ( = 0; only the open_sea mask will be computed) 144 ! name ! lon_src ! lat_src ! lon_trg ! lat_trg ! river mouth area ! net evap/precip correction scheme ! radius tgt ! id trg 145 ! ! (degree)! (degree)! (degree)! (degree)! local/coast/global ! (glo/rnf/emp) ! (m) ! 144 ! 145 ! name ! lon_src ! lat_src ! lon_trg ! lat_trg ! river mouth area ! correction scheme ! radius trg ! id trg 146 ! ! (degree)! (degree)! (degree)! (degree)! local/coast/global ! (glo/rnf/emp) ! (m) ! 146 147 ! North American lakes 147 sn_lake(1) = 'superior' , -86.57 , 47.30 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0, 2148 sn_lake(2) = 'michigan' , -87.06 , 42.74 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0, 2149 sn_lake(3) = 'huron' , -82.51 , 44.74 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0, 2150 sn_lake(4) = 'erie' , -81.13 , 42.25 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0, 2151 sn_lake(5) = 'ontario' , -77.72 , 43.62 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0, 2148 sn_lake(1) = 'superior' , -86.57 , 47.30 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0 , 2 149 sn_lake(2) = 'michigan' , -87.06 , 42.74 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0 , 2 150 sn_lake(3) = 'huron' , -82.51 , 44.74 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0 , 2 151 sn_lake(4) = 'erie' , -81.13 , 42.25 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0 , 2 152 sn_lake(5) = 'ontario' , -77.72 , 43.62 , -66.49 , 50.45 , 'local' , 'rnf' , 550000.0 , 2 152 153 ! African Lake 153 sn_lake(6) = 'victoria' , 32.93 , -1.08 , 30.44 , 31.37 , 'coast' , 'emp' , 100000.0, 3154 sn_lake(6) = 'victoria' , 32.93 , -1.08 , 30.44 , 31.37 , 'coast' , 'emp' , 100000.0 , 3 154 155 ! Asian Lakes 155 sn_lake(7) = 'caspian' , 50.0 , 44.0 , 0.0 , 0.0 , 'global' , 'glo' , 0.0, 1156 sn_lake(8) = 'aral' , 60.0 , 45.0 , 0.0 , 0.0 , 'global' , 'glo' , 0.0, 1156 sn_lake(7) = 'caspian' , 50.0 , 44.0 , 0.0 , 0.0 , 'global' , 'glo' , 0.0 , 1 157 sn_lake(8) = 'aral' , 60.0 , 45.0 , 0.0 , 0.0 , 'global' , 'glo' , 0.0 , 1 157 158 / 158 159 !----------------------------------------------------------------------- -
NEMO/branches/2019/ENHANCE-03_domcfg/src/domclo.F90
r11604 r11628 238 238 239 239 !! define estuary 240 !! deal with local/coastcases240 !! deal with global/local/coastal cases 241 241 SELECT CASE (cloc) 242 242 CASE ('global')
Note: See TracChangeset
for help on using the changeset viewer.