- Timestamp:
- 2016-10-28T11:13:57+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6999_CONFIGMAN_1/NEMOGCM/TOOLS/SIREN/src/create_coord.f90
r7025 r7153 44 44 !> - cn_varcfg : variable configuration file 45 45 !> (see ./SIREN/cfg/variable.cfg) 46 !> - cn_dimcfg : dimension configuration file. define dimension allowed to 47 !> be used (see ./SIREN/cfg/dimension.cfg). 46 48 !> - cn_dumcfg : useless (dummy) configuration file, for useless 47 49 !> dimension or variable (see ./SIREN/cfg/dummy.cfg). … … 110 112 !> @date September, 2016 111 113 !> - allow to use coordinate to define subdomain 114 !> @date October, 2016 115 !> - dimension to be used select from configuration file 112 116 !> 113 117 !> @note Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 181 185 ! namcfg 182 186 CHARACTER(LEN=lc) :: cn_varcfg = './cfg/variable.cfg' 187 CHARACTER(LEN=lc) :: cn_dimcfg = './cfg/dimension.cfg' 183 188 CHARACTER(LEN=lc) :: cn_dumcfg = './cfg/dummy.cfg' 184 189 … … 213 218 NAMELIST /namcfg/ & ! config namelist 214 219 & cn_varcfg, & !< variable configuration file 220 & cn_dimcfg, & !< dimension configuration file 215 221 & cn_dumcfg !< dummy configuration file 216 222 … … 277 283 CALL var_def_extra(TRIM(cn_varcfg)) 278 284 285 ! get dimension allowed 286 CALL dim_def_extra(TRIM(cn_dimcfg)) 287 279 288 ! get dummy variable 280 289 CALL var_get_dummy(TRIM(cn_dumcfg)) … … 340 349 IF( rn_lonmax0 >= -180. .AND. rn_lonmax0 <= 360 .AND. & 341 350 & rn_latmax0 >= -90. .AND. rn_latmax0 <= 90. )THEN 351 342 352 il_index(:)=grid_get_closest(tl_coord0, & 343 353 & REAL(rn_lonmax0,dp), REAL(rn_latmax0,dp), & … … 481 491 IF( il_attid == 0 )THEN 482 492 il_ind=var_get_index(tl_fileout%t_var(:),'longitude') 493 IF( il_ind == 0 )THEN 494 il_ind=var_get_index(tl_fileout%t_var(:),'longitude_T') 495 ENDIF 483 496 il_ew=grid_get_ew_overlap(tl_fileout%t_var(il_ind)) 484 497 IF( il_ew >= 0 )THEN … … 503 516 504 517 CALL file_clean(tl_fileout) 518 CALL var_clean_extra() 505 519 506 520 ! close log file
Note: See TracChangeset
for help on using the changeset viewer.