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 13792 for NEMO – NEMO

Changeset 13792 for NEMO


Ignore:
Timestamp:
2020-11-13T13:22:04+01:00 (3 years ago)
Author:
dancopsey
Message:

Merge in changes from NEMO4.0.1_fix_nans branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.3_fix_nans/src/ICE/icesbc.F90

    r13587 r13792  
    133133      CALL ice_alb( t_su, h_i, h_s, ln_pnd_alb, a_ip_eff, h_ip, cloud_fra, alb_ice ) 
    134134 
     135      ! Apply a limit to the ice fraction to avoid NANs being generated in ice_thd_snwblow 
     136      ! (negative number to power of 0.66)  
     137      WHERE( at_i_b(:,:) > 1._wp ) at_i_b(:,:) = 1._wp 
     138 
    135139      ! 
    136140      SELECT CASE( ksbc )   !== fluxes over sea ice ==! 
Note: See TracChangeset for help on using the changeset viewer.