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.
Changeset 7153 for branches/2016/dev_r6999_CONFIGMAN_1/NEMOGCM/TOOLS/SIREN/src/create_restart.f90 – NEMO

Ignore:
Timestamp:
2016-10-28T11:13:57+02:00 (8 years ago)
Author:
jpaul
Message:

see ticket #1781

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6999_CONFIGMAN_1/NEMOGCM/TOOLS/SIREN/src/create_restart.f90

    r7025 r7153  
    4848!>       - cn_varcfg : variable configuration file 
    4949!> (see ./SIREN/cfg/variable.cfg) 
     50!>       - cn_dimcfg : dimension configuration file. define dimension allowed to 
     51!> be used (see ./SIREN/cfg/dimension.cfg). 
    5052!>       - cn_dumcfg : useless (dummy) configuration file, for useless  
    5153!> dimension or variable (see ./SIREN/cfg/dummy.cfg). 
     
    160162!> @date September, 2015 
    161163!> - manage useless (dummy) variable, attributes, and dimension 
     164!> @date October, 2016 
     165!> - dimension to be used select from configuration file 
    162166!> 
    163167!> @todo 
     
    201205   INTEGER(i4)                                        :: il_status 
    202206   INTEGER(i4)                                        :: il_fileid 
     207   INTEGER(i4)                                        :: il_attid 
    203208   INTEGER(i4)                                        :: il_nvar 
    204    INTEGER(i4)                                        :: il_attid 
    205209   INTEGER(i4)                                        :: il_imin1 
    206210   INTEGER(i4)                                        :: il_imax1 
     
    254258 
    255259   ! namcfg 
    256    CHARACTER(LEN=lc)                       :: cn_varcfg = 'variable.cfg'  
    257    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' 
    258263 
    259264   ! namcrs 
     
    308313   NAMELIST /namcfg/ &  !< configuration namelist 
    309314   &  cn_varcfg, &      !< variable configuration file 
     315   &  cn_dimcfg, &      !< dimension configuration file 
    310316   &  cn_dumcfg         !< dummy configuration file 
    311317 
     
    313319   &  cn_coord0,  &     !< coordinate file 
    314320   &  in_perio0         !< periodicity index 
    315     
     321 
    316322   NAMELIST /namfin/ &  !< fine grid namelist 
    317323   &  cn_coord1,   &    !< coordinate file 
     
    339345   &  cn_varfile, &     !< list of variable file 
    340346   &  cn_varinfo        !< list of variable and interpolation method to be used. 
    341     
     347 
    342348   NAMELIST /namnst/ &  !< nesting namelist 
    343349   &  in_rhoi,    &     !< refinement factor in i-direction 
     
    389395      ! get variable extra information 
    390396      CALL var_def_extra(TRIM(cn_varcfg)) 
     397 
     398      ! get dimension allowed 
     399      CALL dim_def_extra(TRIM(cn_dimcfg)) 
    391400 
    392401      ! get dummy variable 
     
    900909   CALL mpp_clean(tl_mppout) 
    901910   CALL mpp_clean(tl_coord1) 
     911   CALL var_clean_extra() 
    902912 
    903913   ! close log file 
     
    12041214            &        tl_depth%d_value(:,:,:,:) ) )THEN 
    12051215 
    1206                CALL logger_warn("CREATE BOUNDARY: depth value from "//& 
     1216               CALL logger_warn("CREATE RESTART: depth value from "//& 
    12071217               &  TRIM(td_mpp%c_name)//" not conform "//& 
    12081218               &  " to those from former file(s).") 
Note: See TracChangeset for help on using the changeset viewer.