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 3875 for branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/LBC/mppini_2.h90 – NEMO

Ignore:
Timestamp:
2013-04-18T16:38:06+02:00 (11 years ago)
Author:
clevy
Message:

Configuration Setting/Step? 1, see ticket:#1074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/LBC/mppini_2.h90

    r3818 r3875  
    4545      INTEGER ::  inum                        ! temporary logical unit 
    4646      INTEGER ::  idir                        ! temporary integers 
     47      INTEGER ::   ios                        ! Local integer output status for namelist read 
    4748      INTEGER ::   & 
    4849         ii, ij, ifreq, il1, il2,          &  ! temporary integers 
     
    7778      !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt 
    7879      !!---------------------------------------------------------------------- 
    79        
    80       REWIND ( numnam )              ! Read Namelist namzgr : vertical coordinate' 
    81       READ   ( numnam, namzgr ) 
     80 
     81      REWIND( numnam_ref )              ! Namelist namzgr in reference namelist : Vertical coordinate 
     82      READ  ( numnam_ref, namzgr, IOSTAT = ios, ERR = 901) 
     83901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzgr in reference namelist', lwp ) 
     84 
     85      REWIND( numnam_cfg )              ! Namelist namzgr in configuration namelist : Vertical coordinate 
     86      READ  ( numnam_cfg, namzgr, IOSTAT = ios, ERR = 902 ) 
     87902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzgr in configuration namelist', lwp ) 
     88      WRITE ( numond, namzgr ) 
    8289 
    8390      IF(lwp)WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.