Changeset 10115 for NEMO/branches/2018/dev_r5003_MERCATOR6_CRS/NEMOGCM/TOOLS/SIREN/src/create_restart.f90
- Timestamp:
- 2018-09-12T15:59:13+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r5003_MERCATOR6_CRS/NEMOGCM/TOOLS/SIREN/src/create_restart.f90
r7261 r10115 48 48 !> - cn_varcfg : variable configuration file 49 49 !> (see ./SIREN/cfg/variable.cfg) 50 !> - cn_dimcfg : dimension configuration file. define dimensions allowed 51 !> (see ./SIREN/cfg/dimension.cfg). 50 52 !> - cn_dumcfg : useless (dummy) configuration file, for useless 51 53 !> dimension or variable (see ./SIREN/cfg/dummy.cfg). … … 63 65 !> * _vertical grid namelist (namzgr)_:<br/> 64 66 !> - dn_pp_to_be_computed : 65 !> - dn_ppsur : 66 !> - dn_ppa0 : 67 !> - dn_ppa1 : 68 !> - dn_ppa2 : 69 !> - dn_ppkth : 70 !> - dn_ppkth2 : 71 !> - dn_ppacr : 72 !> - dn_ppacr2 : 73 !> - dn_ppdzmin : 74 !> - dn_pphmax : 67 !> - dn_ppsur : coefficient to compute vertical grid 68 !> - dn_ppa0 : coefficient to compute vertical grid 69 !> - dn_ppa1 : coefficient to compute vertical grid 70 !> - dn_ppa2 : double tanh function parameter 71 !> - dn_ppkth : coefficient to compute vertical grid 72 !> - dn_ppkth2 : double tanh function parameter 73 !> - dn_ppacr : coefficient to compute vertical grid 74 !> - dn_ppacr2 : double tanh function parameter 75 !> - dn_ppdzmin : minimum vertical spacing 76 !> - dn_pphmax : maximum depth 75 77 !> - in_nlevel : number of vertical level 76 78 !> 77 79 !> * _partial step namelist (namzps)_:<br/> 78 !> - dn_e3zps_min : 79 !> - dn_e3zps_rat : 80 !> - dn_e3zps_min : minimum thickness of partial step level (meters) 81 !> - dn_e3zps_rat : minimum thickness ratio of partial step level 80 82 !> 81 83 !> * _variable namelist (namvar)_:<br/> … … 158 160 !> @date September, 2015 159 161 !> - manage useless (dummy) variable, attributes, and dimension 162 !> @date October, 2016 163 !> - dimension to be used select from configuration file 160 164 !> 161 165 !> @note Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 196 200 INTEGER(i4) :: il_status 197 201 INTEGER(i4) :: il_fileid 202 INTEGER(i4) :: il_attid 198 203 INTEGER(i4) :: il_nvar 199 INTEGER(i4) :: il_attid200 204 INTEGER(i4) :: il_imin1 201 205 INTEGER(i4) :: il_imax1 … … 249 253 250 254 ! namcfg 251 CHARACTER(LEN=lc) :: cn_varcfg = 'variable.cfg' 252 CHARACTER(LEN=lc) :: cn_dumcfg = 'dummy.cfg' 255 CHARACTER(LEN=lc) :: cn_varcfg = './cfg/variable.cfg' 256 CHARACTER(LEN=lc) :: cn_dimcfg = './cfg/dimension.cfg' 257 CHARACTER(LEN=lc) :: cn_dumcfg = './cfg/dummy.cfg' 253 258 254 259 ! namcrs … … 304 309 NAMELIST /namcfg/ & !< configuration namelist 305 310 & cn_varcfg, & !< variable configuration file 311 & cn_dimcfg, & !< dimension configuration file 306 312 & cn_dumcfg !< dummy configuration file 307 313 … … 309 315 & cn_coord0, & !< coordinate file 310 316 & in_perio0 !< periodicity index 311 317 312 318 NAMELIST /namfin/ & !< fine grid namelist 313 319 & cn_coord1, & !< coordinate file … … 336 342 & cn_varfile, & !< list of variable file 337 343 & cn_varinfo !< list of variable and interpolation method to be used. 338 344 339 345 NAMELIST /namnst/ & !< nesting namelist 340 346 & in_rhoi, & !< refinement factor in i-direction … … 387 393 CALL var_def_extra(TRIM(cn_varcfg)) 388 394 395 ! get dimension allowed 396 CALL dim_def_extra(TRIM(cn_dimcfg)) 397 389 398 ! get dummy variable 390 399 CALL var_get_dummy(TRIM(cn_dumcfg)) … … 402 411 ! match variable with file 403 412 tl_multi=multi_init(cn_varfile) 404 413 405 414 READ( il_fileid, NML = namnst ) 406 415 READ( il_fileid, NML = namout ) … … 592 601 !- check grid coincidence 593 602 IF( ll_sameGrid )THEN 603 il_rho(:)=1 594 604 CALL grid_check_coincidence( tl_mpp, tl_coord1, & 595 605 & il_imin1, il_imax1, & … … 896 906 CALL mpp_clean(tl_mppout) 897 907 CALL mpp_clean(tl_coord1) 908 CALL var_clean_extra() 898 909 899 910 ! close log file … … 1200 1211 & tl_depth%d_value(:,:,:,:) ) )THEN 1201 1212 1202 CALL logger_warn("CREATE BOUNDARY: depth value from "//&1213 CALL logger_warn("CREATE RESTART: depth value from "//& 1203 1214 & TRIM(td_mpp%c_name)//" not conform "//& 1204 1215 & " to those from former file(s).")
Note: See TracChangeset
for help on using the changeset viewer.