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/sbcflx.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/sbcflx.F90

    r3625 r4147  
    7777      INTEGER  ::   ji, jj, jf            ! dummy indices 
    7878      INTEGER  ::   ierror                ! return error code 
     79      INTEGER  ::   ios                   ! Local integer output status for namelist read 
    7980      REAL(wp) ::   zfact                 ! temporary scalar 
    8081      REAL(wp) ::   zrhoa  = 1.22         ! Air density kg/m3 
     
    9091      IF( kt == nit000 ) THEN                ! First call kt=nit000   
    9192         ! set file information 
    92          cn_dir = './'        ! directory in which the model is executed 
    93          ! ... default values (NB: frequency positive => hours, negative => months) 
    94          !              !  file   ! frequency !  variable  ! time intep !  clim   ! 'yearly' or ! weights  ! rotation  ! 
    95          !              !  name   !  (hours)  !   name     !   (T/F)    !  (T/F)  !  'monthly'  ! filename ! pairs     ! 
    96          sn_utau = FLD_N(  'utau' ,    24     ,  'utau'    ,  .false.   , .false. ,   'yearly'  , ''       , ''        ) 
    97          sn_vtau = FLD_N(  'vtau' ,    24     ,  'vtau'    ,  .false.   , .false. ,   'yearly'  , ''       , ''        ) 
    98          sn_qtot = FLD_N(  'qtot' ,    24     ,  'qtot'    ,  .false.   , .false. ,   'yearly'  , ''       , ''        ) 
    99          sn_qsr  = FLD_N(  'qsr'  ,    24     ,  'qsr'     ,  .false.   , .false. ,   'yearly'  , ''       , ''        ) 
    100          sn_emp  = FLD_N(  'emp'  ,    24     ,  'emp'     ,  .false.   , .false. ,   'yearly'  , ''       , ''        ) 
    101          ! 
    102          REWIND ( numnam )                         ! read in namlist namflx 
    103          READ   ( numnam, namsbc_flx )  
     93         REWIND( numnam_ref )              ! Namelist namsbc_flx in reference namelist : Files for fluxes 
     94         READ  ( numnam_ref, namsbc_flx, IOSTAT = ios, ERR = 901) 
     95901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_flx in reference namelist', lwp ) 
     96 
     97         REWIND( numnam_cfg )              ! Namelist namsbc_flx in configuration namelist : Files for fluxes 
     98         READ  ( numnam_cfg, namsbc_flx, IOSTAT = ios, ERR = 902 ) 
     99902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_flx in configuration namelist', lwp ) 
     100         WRITE ( numond, namsbc_flx )  
    104101         ! 
    105102         !                                         ! check: do we plan to use ln_dm2dc with non-daily forcing? 
Note: See TracChangeset for help on using the changeset viewer.