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 13056 for utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/domain.F90 – NEMO

Ignore:
Timestamp:
2020-06-07T18:26:09+02:00 (4 years ago)
Author:
rblod
Message:

ticket #2129 : cleaning domcfg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/domain.F90

    r13024 r13056  
    6868      !!---------------------------------------------------------------------- 
    6969      ! 
    70      ! IF( nn_timing == 1 )   CALL timing_start('dom_init') 
    71       ! 
    7270      IF(lwp) THEN 
    7371         WRITE(numout,*) 
     
    105103      !!---------------------------------------------------------------------- 
    106104      USE ioipsl 
    107       NAMELIST/namrun/ cn_ocerst_indir, cn_ocerst_outdir, nn_stocklist, ln_rst_list,                 & 
    108                        nn_no   , cn_exp   , cn_ocerst_in, cn_ocerst_out, ln_rstart , nn_rstctl ,     & 
    109          &             nn_it000, nn_itend , nn_date0    , nn_time0     , nn_leapy  , nn_istate ,     & 
    110          &             nn_stock, nn_write , ln_mskland  , ln_clobber   , nn_chunksz, nn_euler  ,     & 
     105      NAMELIST/namrun/ cn_exp   ,    &           
     106         &             nn_it000, nn_itend , nn_date0    , nn_time0     , nn_leapy  ,     & 
     107         &             ln_mskland  , ln_clobber   , nn_chunksz,     & 
    111108         &             ln_cfmeta, ln_iscpl 
    112   !    NAMELIST/namdom/ nn_bathy, cn_topo, cn_bath, cn_lon, cn_lat, nn_interp,                        & 
    113   !       &             rn_bathy , rn_e3zps_min, rn_e3zps_rat, nn_msh, rn_hmin,                       & 
    114   !       &             rn_atfp , rn_rdt   , ln_crs      , jphgr_msh ,                                & 
    115   !       &             ppglam0, ppgphi0, ppe1_deg, ppe2_deg, ppe1_m, ppe2_m,                         & 
    116   !       &             ppsur, ppa0, ppa1, ppkth, ppacr, ppdzmin, pphmax, ldbletanh,                  & 
    117   !       &             ppa2, ppkth2, ppacr2 
    118109 
    119110      NAMELIST/namdom/ nn_bathy, cn_topo, cn_bath, cn_lon, cn_lat, rn_scale, nn_interp, & 
     
    149140 
    150141      cexper = cn_exp 
    151       nrstdt = nn_rstctl 
    152142      nit000 = nn_it000 
    153143      nitend = nn_itend 
    154144      ndate0 = nn_date0 
    155145      nleapy = nn_leapy 
    156       ninist = nn_istate 
    157       nstock = nn_stock 
    158       nstocklist = nn_stocklist 
    159       nwrite = nn_write 
    160       neuler = nn_euler 
    161       IF ( neuler == 1 .AND. .NOT. ln_rstart ) THEN 
    162          WRITE(ctmp1,*) 'ln_rstart =.FALSE., nn_euler is forced to 0 ' 
    163          CALL ctl_warn( ctmp1 ) 
    164          neuler = 0 
    165       ENDIF 
    166  
    167       !                             ! control of output frequency 
    168       IF ( nstock == 0 .OR. nstock > nitend ) THEN 
    169          WRITE(ctmp1,*) 'nstock = ', nstock, ' it is forced to ', nitend 
    170          CALL ctl_warn( ctmp1 ) 
    171          nstock = nitend 
    172       ENDIF 
    173       IF ( nwrite == 0 ) THEN 
    174          WRITE(ctmp1,*) 'nwrite = ', nwrite, ' it is forced to ', nitend 
    175          CALL ctl_warn( ctmp1 ) 
    176          nwrite = nitend 
    177       ENDIF 
    178  
    179  
    180  
    181  
    182       SELECT CASE ( nleapy )        ! Choose calendar for IOIPSL 
    183       CASE (  1 )  
    184          CALL ioconf_calendar('gregorian') 
    185          IF(lwp) WRITE(numout,*) '   The IOIPSL calendar is "gregorian", i.e. leap year' 
    186       CASE (  0 ) 
    187          CALL ioconf_calendar('noleap') 
    188          IF(lwp) WRITE(numout,*) '   The IOIPSL calendar is "noleap", i.e. no leap year' 
    189       CASE ( 30 ) 
    190          CALL ioconf_calendar('360d') 
    191          IF(lwp) WRITE(numout,*) '   The IOIPSL calendar is "360d", i.e. 360 days in a year' 
    192       END SELECT 
    193  
    194146 
    195147      !  
Note: See TracChangeset for help on using the changeset viewer.