Changeset 7646 for trunk/NEMOGCM/TOOLS/SIREN/src/create_restart.f90
- Timestamp:
- 2017-02-06T10:25:03+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/TOOLS/SIREN/src/create_restart.f90
r6393 r7646 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). … … 62 64 !> 63 65 !> * _vertical grid namelist (namzgr)_:<br/> 64 !> - 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 : 66 !> - dn_ppsur : coefficient to compute vertical grid 67 !> - dn_ppa0 : coefficient to compute vertical grid 68 !> - dn_ppa1 : coefficient to compute vertical grid 69 !> - dn_ppa2 : double tanh function parameter 70 !> - dn_ppkth : coefficient to compute vertical grid 71 !> - dn_ppkth2 : double tanh function parameter 72 !> - dn_ppacr : coefficient to compute vertical grid 73 !> - dn_ppacr2 : double tanh function parameter 74 !> - dn_ppdzmin : minimum vertical spacing 75 !> - dn_pphmax : maximum depth 75 76 !> - in_nlevel : number of vertical level 76 77 !> 78 !> @note If ppa1 and ppa0 and ppsur are undefined 79 !> NEMO will compute them from ppdzmin , pphmax, ppkth, ppacr 80 !> 77 81 !> * _partial step namelist (namzps)_:<br/> 78 !> - dn_e3zps_min : 79 !> - dn_e3zps_rat : 82 !> - dn_e3zps_min : minimum thickness of partial step level (meters) 83 !> - dn_e3zps_rat : minimum thickness ratio of partial step level 80 84 !> 81 85 !> * _variable namelist (namvar)_:<br/> … … 158 162 !> @date September, 2015 159 163 !> - manage useless (dummy) variable, attributes, and dimension 164 !> @date October, 2016 165 !> - dimension to be used select from configuration file 166 !> 167 !> @todo 168 !> - rewrite using meshmask instead of bathymetry and coordinates files 160 169 !> 161 170 !> @note Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 196 205 INTEGER(i4) :: il_status 197 206 INTEGER(i4) :: il_fileid 207 INTEGER(i4) :: il_attid 198 208 INTEGER(i4) :: il_nvar 199 INTEGER(i4) :: il_attid200 209 INTEGER(i4) :: il_imin1 201 210 INTEGER(i4) :: il_imax1 … … 249 258 250 259 ! namcfg 251 CHARACTER(LEN=lc) :: cn_varcfg = 'variable.cfg' 252 CHARACTER(LEN=lc) :: cn_dumcfg = 'dummy.cfg' 260 CHARACTER(LEN=lc) :: cn_varcfg = './cfg/variable.cfg' 261 CHARACTER(LEN=lc) :: cn_dimcfg = './cfg/dimension.cfg' 262 CHARACTER(LEN=lc) :: cn_dumcfg = './cfg/dummy.cfg' 253 263 254 264 ! namcrs … … 262 272 263 273 !namzgr 264 REAL(dp) :: dn_pp_to_be_computed = 0._dp265 274 REAL(dp) :: dn_ppsur = -3958.951371276829_dp 266 275 REAL(dp) :: dn_ppa0 = 103.953009600000_dp … … 304 313 NAMELIST /namcfg/ & !< configuration namelist 305 314 & cn_varcfg, & !< variable configuration file 315 & cn_dimcfg, & !< dimension configuration file 306 316 & cn_dumcfg !< dummy configuration file 307 317 … … 309 319 & cn_coord0, & !< coordinate file 310 320 & in_perio0 !< periodicity index 311 321 312 322 NAMELIST /namfin/ & !< fine grid namelist 313 323 & cn_coord1, & !< coordinate file … … 316 326 317 327 NAMELIST /namzgr/ & 318 & dn_pp_to_be_computed, &319 328 & dn_ppsur, & 320 329 & dn_ppa0, & … … 336 345 & cn_varfile, & !< list of variable file 337 346 & cn_varinfo !< list of variable and interpolation method to be used. 338 347 339 348 NAMELIST /namnst/ & !< nesting namelist 340 349 & in_rhoi, & !< refinement factor in i-direction … … 387 396 CALL var_def_extra(TRIM(cn_varcfg)) 388 397 398 ! get dimension allowed 399 CALL dim_def_extra(TRIM(cn_dimcfg)) 400 389 401 ! get dummy variable 390 402 CALL var_get_dummy(TRIM(cn_dumcfg)) … … 402 414 ! match variable with file 403 415 tl_multi=multi_init(cn_varfile) 404 416 405 417 READ( il_fileid, NML = namnst ) 406 418 READ( il_fileid, NML = namout ) … … 592 604 !- check grid coincidence 593 605 IF( ll_sameGrid )THEN 606 il_rho(:)=1 594 607 CALL grid_check_coincidence( tl_mpp, tl_coord1, & 595 608 & il_imin1, il_imax1, & … … 896 909 CALL mpp_clean(tl_mppout) 897 910 CALL mpp_clean(tl_coord1) 911 CALL var_clean_extra() 898 912 899 913 ! close log file … … 1200 1214 & tl_depth%d_value(:,:,:,:) ) )THEN 1201 1215 1202 CALL logger_warn("CREATE BOUNDARY: depth value from "//&1216 CALL logger_warn("CREATE RESTART: depth value from "//& 1203 1217 & TRIM(td_mpp%c_name)//" not conform "//& 1204 1218 & " to those from former file(s).")
Note: See TracChangeset
for help on using the changeset viewer.