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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/SBC/sbcwave.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (11 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/SBC/sbcwave.F90

    r3680 r4147  
    6767      INTEGER                ::  ierror   ! return error code 
    6868      INTEGER                ::  ifpr, jj,ji,jk  
     69      INTEGER                ::   ios     ! Local integer output status for namelist read 
    6970      REAL(wp),DIMENSION(:,:,:),POINTER             ::  udummy,vdummy,hdivdummy,rotdummy 
    7071      REAL                                          ::  z2dt,z1_2dt 
     
    8283      IF( kt == nit000 ) THEN                   ! First call kt=nit000 ! 
    8384         !                                      ! -------------------- ! 
    84          !                                            !* set file information (default values) 
    85          ! ... default values (NB: frequency positive => hours, negative => months) 
    86          !              !   file   ! frequency !  variable  ! time intep !  clim   ! 'yearly' or ! weights  ! rotation ! 
    87          !              !   name   !  (hours)  !   name     !   (T/F)    !  (T/F)  !  'monthly'  ! filename ! pairs    ! 
    88          sn_cdg = FLD_N('cdg_wave'  ,    1     ,'drag_coeff',  .true.    , .false. ,   'daily'   , ''       , ''       ) 
    89          sn_usd = FLD_N('sdw_wave'  ,    1     ,'u_sd2d',      .true.    , .false. ,   'daily'   , ''       , ''       ) 
    90          sn_vsd = FLD_N('sdw_wave'  ,    1     ,'v_sd2d',      .true.    , .false. ,   'daily'   , ''       , ''       ) 
    91          sn_wn = FLD_N( 'sdw_wave'  ,    1     ,'wave_num',    .true.    , .false. ,   'daily'   , ''       , ''       ) 
    92          cn_dir = './'          ! directory in which the wave data are  
    9385          
     86         REWIND( numnam_ref )              ! Namelist namsbc_wave in reference namelist : File for drag coeff. from wave model 
     87         READ  ( numnam_ref, namsbc_wave, IOSTAT = ios, ERR = 901) 
     88901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_wave in reference namelist', lwp ) 
    9489 
    95          REWIND( numnam )                             !* read in namlist namsbc_wave 
    96          READ  ( numnam, namsbc_wave )  
     90         REWIND( numnam_cfg )              ! Namelist namsbc_wave in configuration namelist : File for drag coeff. from wave model 
     91         READ  ( numnam_cfg, namsbc_wave, IOSTAT = ios, ERR = 902 ) 
     92902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_wave in configuration namelist', lwp ) 
     93         WRITE ( numond, namsbc_wave ) 
    9794         ! 
    9895 
Note: See TracChangeset for help on using the changeset viewer.