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/sbcblk_clio.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 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/sbcblk_clio.F90

    r3625 r4147  
    124124      INTEGER, INTENT( in  ) ::   kt   ! ocean time step 
    125125      !! 
    126       INTEGER  ::   ifpr, jfpr   ! dummy indices 
     126      INTEGER  ::   ifpr, jfpr                   ! dummy indices 
    127127      INTEGER  ::   ierr0, ierr1, ierr2, ierr3   ! return error code 
     128      INTEGER  ::   ios                          ! Local integer output status for namelist read 
    128129      !! 
    129130      CHARACTER(len=100) ::  cn_dir                            !   Root directory for location of CLIO files 
     
    139140      IF( kt == nit000 ) THEN                   !  First call kt=nit000  ! 
    140141         !                                      ! ====================== ! 
    141          ! set file information (default values) 
    142          cn_dir = './'       ! directory in which the model is executed 
    143  
    144          ! (NB: frequency positive => hours, negative => months) 
    145          !            !    file    ! frequency ! variable ! time intep !  clim   ! 'yearly' or ! weights  ! rotation ! 
    146          !            !    name    !  (hours)  !  name    !   (T/F)    !  (T/F)  !  'monthly'  ! filename ! pairs    ! 
    147          sn_utau = FLD_N( 'utau'   ,    24     , 'utau'   ,  .true.    , .false. ,   'yearly'  , ''       , ''       )  
    148          sn_vtau = FLD_N( 'vtau'   ,    24     , 'vtau'   ,  .true.    , .false. ,   'yearly'  , ''       , ''       )  
    149          sn_wndm = FLD_N( 'mwnd10m',    24     , 'm_10'   ,  .true.    , .false. ,   'yearly'  , ''       , ''       )  
    150          sn_tair = FLD_N( 'tair10m',    24     , 't_10'   ,  .false.   , .false. ,   'yearly'  , ''       , ''       )  
    151          sn_humi = FLD_N( 'humi10m',    24     , 'q_10'   ,  .false.   , .false. ,   'yearly'  , ''       , ''       )  
    152          sn_ccov = FLD_N( 'ccover' ,    -1     , 'cloud'  ,  .true.    , .false. ,   'yearly'  , ''       , ''       )  
    153          sn_prec = FLD_N( 'precip' ,    -1     , 'precip' ,  .true.    , .false. ,   'yearly'  , ''       , ''       )  
    154  
    155          REWIND( numnam )                    ! ... read in namlist namsbc_clio 
    156          READ  ( numnam, namsbc_clio ) 
     142 
     143         REWIND( numnam_ref )              ! Namelist namsbc_clio in reference namelist : CLIO files 
     144         READ  ( numnam_ref, namsbc_clio, IOSTAT = ios, ERR = 901) 
     145901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in reference namelist', lwp ) 
     146 
     147         REWIND( numnam_cfg )              ! Namelist namsbc_clio in configuration namelist : CLIO files 
     148         READ  ( numnam_cfg, namsbc_clio, IOSTAT = ios, ERR = 902 ) 
     149902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in configuration namelist', lwp ) 
     150         WRITE ( numond, namsbc_clio ) 
    157151 
    158152         ! store namelist information in an array 
Note: See TracChangeset for help on using the changeset viewer.