I uncovered two bugs that affect the inactive top cells feature (i.e., when minLevelCell > 1), one in ocn_diagnostic_solve_ssh and the other affects the sea ice salinity flux in ocn_surface_bulk_forcing. In both instances, the vertical index was hard-coded as 1 and should instead be the minLevelCell or minLevelEdge*.
The test case that uncovered these bugs and related discussion is MPAS-Dev/compass#164.
I uncovered two bugs that affect the inactive top cells feature (i.e., when minLevelCell > 1), one in
ocn_diagnostic_solve_sshand the other affects the sea ice salinity flux inocn_surface_bulk_forcing. In both instances, the vertical index was hard-coded as 1 and should instead be theminLevelCellorminLevelEdge*.The test case that uncovered these bugs and related discussion is MPAS-Dev/compass#164.