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 9567 for branches/2015/nemo_v3_6_STABLE/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_mfs.F90 – NEMO

Ignore:
Timestamp:
2018-05-10T16:26:43+02:00 (6 years ago)
Author:
mathiot
Message:

apply tmask(:,:,1) to erp, qrp, precip, snow, rnf, qns to fix #2083

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/nemo_v3_6_STABLE/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_mfs.F90

    r8145 r9567  
    461461      !!---------------------------------------------------------------------- 
    462462 
    463             esre  = shms(ji,jj) - shnow(ji,jj)   ! --- calculates the term : qs(Ta)-qa(t2d) 
    464  
    465             cseep = ce(ji,jj) * wndm(ji,jj) * esre     ! --- calculates the term : Ce*|V|*[qs(Ts)-qa(t2d)] 
    466  
    467             evap(ji,jj) = (cseep * rhom(ji,jj)) ! in [kg/m2/sec] !! --- calculates the EVAPORATION RATE [m/yr] 
    468  
    469             elat(ji,jj) = rhom(ji,jj) * cseep * heatlat(sst(ji,jj)) 
     463            esre  = shms(ji,jj) - shnow(ji,jj) * tmask(ji,jj,1)   ! --- calculates the term : qs(Ta)-qa(t2d) 
     464 
     465            cseep = ce(ji,jj) * wndm(ji,jj) * esre * tmask(ji,jj,1)     ! --- calculates the term : Ce*|V|*[qs(Ts)-qa(t2d)] 
     466 
     467            evap(ji,jj) = (cseep * rhom(ji,jj)) * tmask(ji,jj,1) ! in [kg/m2/sec] !! --- calculates the EVAPORATION RATE [m/yr] 
     468 
     469            elat(ji,jj) = rhom(ji,jj) * cseep * heatlat(sst(ji,jj)) * tmask(ji,jj,1) 
    470470 
    471471      !!---------------------------------------------------------------------- 
     
    635635 
    636636          IF(cldnow(ji,jj).LT.0.3) THEN 
    637              qsw(ji,jj) = qtot * (1.-albedo) 
     637             qsw(ji,jj) = qtot * (1.-albedo) * tmask(ji,jj,1) 
    638638          ELSE 
    639639             qsw(ji,jj) = qtot*(1.-0.62*cldnow(ji,jj)              & 
    640                                 + .0019*sunbet)*(1.-albedo) 
     640                                + .0019*sunbet)*(1.-albedo) * tmask(ji,jj,1) 
    641641          ENDIF 
    642642 
Note: See TracChangeset for help on using the changeset viewer.