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 4230 for branches/2013/dev_LOCEAN_CMCC_INGV_2013/NEMOGCM/NEMO/TOP_SRC/trcbc.F90 – NEMO

Ignore:
Timestamp:
2013-11-18T12:57:11+01:00 (10 years ago)
Author:
cetlod
Message:

dev_LOCEAN_CMCC_INGV_2013 : merge LOCEAN & CMCC_INGV branches, see ticket #1182

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_CMCC_INGV_2013/NEMOGCM/NEMO/TOP_SRC/trcbc.F90

    r4226 r4230  
    134134      IF( lwp ) WRITE(numout,*) ' ' 
    135135 
    136       ! Initialize the namelists with default values 
    137       cn_dir  = './'            ! directory in which the model is executed 
    138       DO jn = 1, ntrc 
    139          WRITE( clndta,'("TR_",I1)' ) jn 
    140          clndta = TRIM( clndta ) 
    141          !                 !  file      ! frequency ! variable  ! time inter !  clim   ! 'yearly' or ! weights  ! rotation ! land/sea mask ! 
    142          !                 !  name      !  (hours)  !  name     !   (T/F)    !  (T/F)  !  'monthly'  ! filename ! pairs    ! filename      ! 
    143          sn_trcobc(jn)  = FLD_N( clndta ,   -1      , clndta    ,  .false.   , .true.  ,  'monthly'  , ''       , & 
    144               & ''       , ''            ) 
    145          sn_trcsbc(jn)  = FLD_N( clndta ,   -1      , clndta    ,  .false.   , .true.  ,  'monthly'  , ''       , & 
    146               & ''       , ''            ) 
    147          sn_trccbc(jn)  = FLD_N( clndta ,   -1      , clndta    ,  .false.   , .true.  ,  'monthly'  , ''       , & 
    148               & ''       , ''            ) 
    149          rn_trofac(jn) = 1._wp 
    150          rn_trsfac(jn) = 1._wp 
    151          rn_trcfac(jn) = 1._wp 
    152       END DO 
    153       ! 
    154 !MAV temporary code for 3.5 
    155       REWIND( numnat )               ! read nattrc 
    156       READ  ( numnat, namtrc_bc ) 
    157 !MAV future code for 3.6 
    158 !      REWIND( numnat_ref )              ! Namelist namtrc_bc in reference namelist : Passive tracer data structure 
    159 !      READ  ( numnat_ref, namtrc_bc, IOSTAT = ios, ERR = 901) 
    160 !901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_bc in reference namelist', lwp ) 
    161 ! 
    162 !      REWIND( numnat_cfg )              ! Namelist namtrc_bc in configuration namelist : Passive tracer data structure 
    163 !      READ  ( numnat_cfg, namtrc_bc, IOSTAT = ios, ERR = 902 ) 
    164 !902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_bc in configuration namelist', lwp ) 
    165 !      WRITE ( numont, namtrc_bc ) 
     136      REWIND( numnat_ref )              ! Namelist namtrc_bc in reference namelist : Passive tracer data structure 
     137      READ  ( numnat_ref, namtrc_bc, IOSTAT = ios, ERR = 901) 
     138901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_bc in reference namelist', lwp ) 
     139 
     140      REWIND( numnat_cfg )              ! Namelist namtrc_bc in configuration namelist : Passive tracer data structure 
     141      READ  ( numnat_cfg, namtrc_bc, IOSTAT = ios, ERR = 902 ) 
     142902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_bc in configuration namelist', lwp ) 
     143      WRITE ( numont, namtrc_bc ) 
    166144 
    167145      ! print some information for each  
Note: See TracChangeset for help on using the changeset viewer.