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 673 for trunk/NEMO – NEMO

Changeset 673 for trunk/NEMO


Ignore:
Timestamp:
2007-06-01T19:37:07+02:00 (17 years ago)
Author:
ctlod
Message:

nemo_v2_bugfix_044 : SM : bugfix when reading tbif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC/limistate.F90

    r508 r673  
    218218      !!------------------------------------------------------------------- 
    219219      INTEGER :: inum_ice 
     220      INTEGER :: ji,jj 
    220221 
    221222      NAMELIST/namiceini/ ln_limini, ln_limdmp, ttest, hninn, hginn, alinn, & 
     
    262263            CALL iom_get( inum_ice, jpdom_data, 'frld' , frld   (:,:) )      
    263264            CALL iom_get( inum_ice, jpdom_data, 'ts'   , sist   (:,:) ) 
    264             CALL iom_get( inum_ice, jpdom_unknown, 'tbif', tbif(:,:,:),   & 
     265            CALL iom_get( inum_ice, jpdom_unknown, 'tbif', tbif(1:nlci,1:nlcj,:),   & 
    265266                 &        kstart = (/ mig(1),mjg(1),1 /), kcount = (/ nlci,nlcj,jplayersp1 /) ) 
     267            ! put some values in the extra-halo... 
     268            DO jj = nlcj+1, jpj   ;   tbif(1:nlci,jj,:) = tbif(1:nlci,nlej,:)   ;   END DO 
     269            DO ji = nlci+1, jpi   ;   tbif(ji    ,: ,:) = tbif(nlei  ,:   ,:)   ;   END DO 
    266270 
    267271            CALL iom_close( inum_ice) 
Note: See TracChangeset for help on using the changeset viewer.