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/SBC/sbcrnf.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/OPA_SRC/SBC/sbcrnf.F90

    r3832 r3875  
    245245      INTEGER           ::   ji, jj, jk    ! dummy loop indices 
    246246      INTEGER           ::   ierror, inum  ! temporary integer 
     247      INTEGER           ::   ios           ! Local integer output status for namelist read 
    247248      ! 
    248249      NAMELIST/namsbc_rnf/ cn_dir, ln_rnf_emp, ln_rnf_depth, ln_rnf_tem, ln_rnf_sal,   & 
     
    264265      sn_dep_rnf = FLD_N( 'runoffs',   0.  , 'rodepth'  ,  .FALSE.   , .true. ,   'yearly'  , ''    , ''  ) 
    265266      ! 
    266       REWIND ( numnam )                         ! Read Namelist namsbc_rnf 
    267       READ   ( numnam, namsbc_rnf ) 
     267      REWIND( numnam_ref )              ! Namelist namsbc_rnf in reference namelist : Runoffs  
     268      READ  ( numnam_ref, namsbc_rnf, IOSTAT = ios, ERR = 901) 
     269901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_rnf in reference namelist', lwp ) 
     270 
     271      REWIND( numnam_cfg )              ! Namelist namsbc_rnf in configuration namelist : Runoffs 
     272      READ  ( numnam_cfg, namsbc_rnf, IOSTAT = ios, ERR = 902 ) 
     273902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_rnf in configuration namelist', lwp ) 
     274      WRITE ( numond, namsbc_rnf ) 
    268275      ! 
    269276      !                                         ! Control print 
Note: See TracChangeset for help on using the changeset viewer.