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/LIM_SRC_2/limwri_2.F90 – 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/LIM_SRC_2/limwri_2.F90

    r3764 r3875  
    230230      !!------------------------------------------------------------------- 
    231231      INTEGER ::   nf      ! ??? 
     232      INTEGER ::   ios     ! Local integer output status for namelist read 
    232233      TYPE FIELD  
    233234         CHARACTER(len = 35) :: ztitle  
     
    255256         CALL ctl_stop( 'STOP', 'lim_wri_init_2 : unable to allocate standard arrays' )   ;   RETURN 
    256257      ENDIF 
    257  
    258       REWIND ( numnam_ice )                ! Read Namelist namicewri 
    259       READ   ( numnam_ice  , namiceout ) 
     258                     
     259      REWIND( numnam_ice_ref )              ! Namelist namiceout in reference namelist : Ice outputs 
     260      READ  ( numnam_ice_ref, namiceout, IOSTAT = ios, ERR = 901) 
     261901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceout in reference namelist', lwp ) 
     262 
     263      REWIND( numnam_ice_cfg )              ! Namelist namiceout in configuration namelist : Ice outputs 
     264      READ  ( numnam_ice_cfg, namiceout, IOSTAT = ios, ERR = 902 ) 
     265902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceout in configuration namelist', lwp ) 
     266      WRITE ( numoni, namiceout ) 
    260267       
    261268      zfield( 1) = field_1 
Note: See TracChangeset for help on using the changeset viewer.