Changeset 13666 for NEMO/branches/UKMO/NEMO_4.0.1_fix_nans
- Timestamp:
- 2020-10-23T16:33:46+02:00 (4 years ago)
- Location:
- NEMO/branches/UKMO/NEMO_4.0.1_fix_nans/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.1_fix_nans/src/ICE/icesbc.F90
r11715 r13666 138 138 alb_ice(:,:,:) = ( 1. - cldf_ice ) * zalb_cs(:,:,:) + cldf_ice * zalb_os(:,:,:) 139 139 ! 140 141 ! Apply a limit to the ice fraction to avoid NANs being generated in ice_thd_snwblow 142 ! (negative number to power of 0.66) 143 WHERE( at_i_b(:,:) > 1._wp ) at_i_b(:,:) = 1._wp 144 140 145 ! 141 146 SELECT CASE( ksbc ) !== fluxes over sea ice ==! -
NEMO/branches/UKMO/NEMO_4.0.1_fix_nans/src/OCE/SBC/sbccpl.F90
r13665 r13666 1647 1647 ! 1648 1648 IF( ln_mixcpl ) zmsk(:,:) = 1. - xcplmask(:,:,0) 1649 1650 ! Apply a limit to the ice fraction to avoid NANs being generated in ice_thd_snwblow1651 ! (negative number to power of 0.66)1652 WHERE( picefr(:,:) > 1._wp ) picefr(:,:) = 1._wp1653 1654 1649 ziceld(:,:) = 1._wp - picefr(:,:) 1655 1650 zcptn (:,:) = rcp * sst_m(:,:)
Note: See TracChangeset
for help on using the changeset viewer.