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

Ignore:
Timestamp:
2020-08-10T11:09:15+02:00 (4 years ago)
Author:
mathiot
Message:

ticket #2502: merge ticket branch into trunk. DOMAIN_cfg namelist contains now fields to specify input files names (bathy meter and level files, coord file, isf draft meter and level files), save it into the netcdf (dom_doc.exe) and re-generate the namelist if needed (xtrac_namelist.bash). The usage is documented in the DOMAIN_cfg README.rst.

File:
1 edited

Legend:

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

    r13204 r13390  
    109109 
    110110      NAMELIST/namdom/ ln_read_cfg, nn_bathy, cn_domcfg, cn_topo, cn_bath, cn_lon, cn_lat, rn_scale, nn_interp, & 
    111          &              rn_bathy , rn_e3zps_min, rn_e3zps_rat, nn_msh, rn_hmin,            & 
     111         &             cn_topolvl, cn_fisfd, cn_visfd, cn_bathlvl, cn_fcoord,                       &  
     112         &             rn_bathy , rn_e3zps_min, rn_e3zps_rat, nn_msh, rn_hmin,                       & 
    112113         &             rn_atfp , rn_rdt   ,  ln_crs      , jphgr_msh ,                               & 
    113114         &             ppglam0, ppgphi0, ppe1_deg, ppe2_deg, ppe1_m, ppe2_m,                         & 
     
    169170         WRITE(numout,*) '   Namelist namdom : space & time domain' 
    170171         WRITE(numout,*) '      flag read/compute bathymetry      nn_bathy     = ', nn_bathy 
    171          IF( nn_bathy == 2 ) THEN 
     172         IF( nn_bathy == 1 ) THEN 
     173            WRITE(numout,*) '   read bathymetry from file      cn_topo      = ' ,TRIM(cn_topo) 
     174            WRITE(numout,*) '   bathymetry name in file        cn_bath      = ' ,TRIM(cn_bath) 
     175            WRITE(numout,*) '   read isf draft from file       cn_fisfd     = ' ,TRIM(cn_fisfd) 
     176            WRITE(numout,*) '   isf draft name in file         cn_visfd     = ' ,TRIM(cn_visfd) 
     177         ELSE IF( nn_bathy == 2 ) THEN 
    172178            WRITE(numout,*) '   compute bathymetry from file      cn_topo      = ' , cn_topo 
    173179            WRITE(numout,*) '   bathymetry name in file           cn_bath      = ' , cn_bath 
     
    435441   END SUBROUTINE cfg_write 
    436442 
    437  
    438  
    439443   !!====================================================================== 
    440444END MODULE domain 
Note: See TracChangeset for help on using the changeset viewer.