Skip to content

Commit

Permalink
Fix for specified ice layout non repro issue
Browse files Browse the repository at this point in the history
- Closes issue NOAA-GFDL#199
- Fix ice_layout non-repro of amip using specified ice mode
  • Loading branch information
nikizadehgfdl committed Sep 13, 2023
1 parent fac2ec4 commit 5ee4af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ice_model.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ subroutine set_fast_ocean_sfc_properties( Atmos_boundary, Ice, IST, Rad, FIA, &
! timestep. However, it is safe (if wasteful) to call it more frequently.
if (Rad%do_sun_angle_for_alb) then
call set_ocean_albedo_from_astronomy(Ice, G, Time_start, Time_end)
elseif (coszen_changed) then
elseif (coszen_changed .or. Ice%sCS%specified_ice) then
call set_ocean_albedo_from_coszen(Ice, G, Rad%coszen_nextrad)
endif

Expand Down

0 comments on commit 5ee4af9

Please sign in to comment.