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 14420 – NEMO

Changeset 14420


Ignore:
Timestamp:
2021-02-09T15:03:41+01:00 (3 years ago)
Author:
dancopsey
Message:

The ocean only fluxes have already been converted to grid box means on the atmosphere side so don't need to have ziceld multiplied to them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_penetrating_solar/src/OCE/SBC/sbccpl.F90

    r14393 r14420  
    18921892         ! Calculate the total non solar heat flux. The ocean only non solar heat flux (zqns_oce) will be recalculated after this CASE 
    18931893         ! statement to be consistent with other coupling methods even though .zqns_oce = frcv(jpr_qnsoce)%z3(:,:,1) 
    1894          zqns_tot(:,:) = frcv(jpr_qnsoce)%z3(:,:,1) * ziceld(:,:) + SUM( zqns_ice(:,:,:) * a_i(:,:,:), dim=3 ) 
     1894         zqns_tot(:,:) = frcv(jpr_qnsoce)%z3(:,:,1) + SUM( zqns_ice(:,:,:) * a_i(:,:,:), dim=3 ) 
    18951895          
    18961896      CASE( 'conservative' )     ! the required fields are directly provided 
     
    20322032      !                                                      ! ========================= ! 
    20332033      CASE( 'oce only' ) 
    2034          zqsr_tot(:,:  ) = MAX( 0._wp , frcv(jpr_qsroce)%z3(:,:,1) ) * ziceld(:,:) 
     2034         zqsr_tot(:,:  ) = MAX( 0._wp , frcv(jpr_qsroce)%z3(:,:,1) ) 
    20352035 
    20362036         ! For the Met Office the only sea ice solar flux is the transmitted qsr which is added onto zqsr_ice 
Note: See TracChangeset for help on using the changeset viewer.