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 12150 for NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcssm.F90 – NEMO

Ignore:
Timestamp:
2019-12-10T15:16:33+01:00 (4 years ago)
Author:
davestorkey
Message:

2019/dev_r11943_MERGE_2019: Merge in UKMO_MERGE_2019.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcssm.F90

    r11949 r12150  
    6161      ! 
    6262      !                                        !* surface T-, U-, V- ocean level variables (T, S, depth, velocity) 
    63       DO jj = 1, jpj 
    64          DO ji = 1, jpi 
    65             zts(ji,jj,jp_tem) = ts(ji,jj,mikt(ji,jj),jp_tem,Kmm) 
    66             zts(ji,jj,jp_sal) = ts(ji,jj,mikt(ji,jj),jp_sal,Kmm) 
    67          END DO 
    68       END DO 
     63      zts(:,:,jp_tem) = ts(:,:,1,jp_tem,Kmm) 
     64      zts(:,:,jp_sal) = ts(:,:,1,jp_sal,Kmm) 
    6965      ! 
    7066      IF( nn_fsbc == 1 ) THEN                             !   Instantaneous surface fields        ! 
     
    7369         ssv_m(:,:) = vv(:,:,1,Kbb) 
    7470         IF( l_useCT )  THEN    ;   sst_m(:,:) = eos_pt_from_ct( zts(:,:,jp_tem), zts(:,:,jp_sal) ) 
    75          ELSE                    ;   sst_m(:,:) = zts(:,:,jp_tem) 
     71         ELSE                   ;   sst_m(:,:) = zts(:,:,jp_tem) 
    7672         ENDIF 
    7773         sss_m(:,:) = zts(:,:,jp_sal) 
Note: See TracChangeset for help on using the changeset viewer.