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 7646 for trunk/NEMOGCM/TOOLS/SIREN/src/create_restart.f90 – NEMO

Ignore:
Timestamp:
2017-02-06T10:25:03+01:00 (7 years ago)
Author:
timgraham
Message:

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/TOOLS/SIREN/src/create_restart.f90

    r6393 r7646  
    4848!>       - cn_varcfg : variable configuration file 
    4949!> (see ./SIREN/cfg/variable.cfg) 
     50!>       - cn_dimcfg : dimension configuration file. define dimensions allowed 
     51!> (see ./SIREN/cfg/dimension.cfg). 
    5052!>       - cn_dumcfg : useless (dummy) configuration file, for useless  
    5153!> dimension or variable (see ./SIREN/cfg/dummy.cfg). 
     
    6264!> 
    6365!>    * _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 
    7576!>       - in_nlevel             : number of vertical level 
    7677!> 
     78!>     @note If ppa1 and ppa0 and ppsur are undefined 
     79!>           NEMO will compute them from ppdzmin , pphmax, ppkth, ppacr 
     80!> 
    7781!>    * _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 
    8084!> 
    8185!>    * _variable namelist (namvar)_:<br/> 
     
    158162!> @date September, 2015 
    159163!> - 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 
    160169!> 
    161170!> @note Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    196205   INTEGER(i4)                                        :: il_status 
    197206   INTEGER(i4)                                        :: il_fileid 
     207   INTEGER(i4)                                        :: il_attid 
    198208   INTEGER(i4)                                        :: il_nvar 
    199    INTEGER(i4)                                        :: il_attid 
    200209   INTEGER(i4)                                        :: il_imin1 
    201210   INTEGER(i4)                                        :: il_imax1 
     
    249258 
    250259   ! 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' 
    253263 
    254264   ! namcrs 
     
    262272 
    263273   !namzgr 
    264    REAL(dp)                                :: dn_pp_to_be_computed = 0._dp 
    265274   REAL(dp)                                :: dn_ppsur   = -3958.951371276829_dp 
    266275   REAL(dp)                                :: dn_ppa0    =   103.953009600000_dp 
     
    304313   NAMELIST /namcfg/ &  !< configuration namelist 
    305314   &  cn_varcfg, &      !< variable configuration file 
     315   &  cn_dimcfg, &      !< dimension configuration file 
    306316   &  cn_dumcfg         !< dummy configuration file 
    307317 
     
    309319   &  cn_coord0,  &     !< coordinate file 
    310320   &  in_perio0         !< periodicity index 
    311     
     321 
    312322   NAMELIST /namfin/ &  !< fine grid namelist 
    313323   &  cn_coord1,   &    !< coordinate file 
     
    316326  
    317327   NAMELIST /namzgr/ & 
    318    &  dn_pp_to_be_computed, & 
    319328   &  dn_ppsur,     & 
    320329   &  dn_ppa0,      & 
     
    336345   &  cn_varfile, &     !< list of variable file 
    337346   &  cn_varinfo        !< list of variable and interpolation method to be used. 
    338     
     347 
    339348   NAMELIST /namnst/ &  !< nesting namelist 
    340349   &  in_rhoi,    &     !< refinement factor in i-direction 
     
    387396      CALL var_def_extra(TRIM(cn_varcfg)) 
    388397 
     398      ! get dimension allowed 
     399      CALL dim_def_extra(TRIM(cn_dimcfg)) 
     400 
    389401      ! get dummy variable 
    390402      CALL var_get_dummy(TRIM(cn_dumcfg)) 
     
    402414      ! match variable with file 
    403415      tl_multi=multi_init(cn_varfile) 
    404        
     416  
    405417      READ( il_fileid, NML = namnst ) 
    406418      READ( il_fileid, NML = namout ) 
     
    592604               !- check grid coincidence 
    593605               IF( ll_sameGrid )THEN 
     606                  il_rho(:)=1 
    594607                  CALL grid_check_coincidence( tl_mpp, tl_coord1, & 
    595608                  &                            il_imin1, il_imax1, & 
     
    896909   CALL mpp_clean(tl_mppout) 
    897910   CALL mpp_clean(tl_coord1) 
     911   CALL var_clean_extra() 
    898912 
    899913   ! close log file 
     
    12001214            &        tl_depth%d_value(:,:,:,:) ) )THEN 
    12011215 
    1202                CALL logger_warn("CREATE BOUNDARY: depth value from "//& 
     1216               CALL logger_warn("CREATE RESTART: depth value from "//& 
    12031217               &  TRIM(td_mpp%c_name)//" not conform "//& 
    12041218               &  " to those from former file(s).") 
Note: See TracChangeset for help on using the changeset viewer.