Skip to content

Bug in bottom depth in MPAS-Ocean global_ocean init mode #6453

@xylar

Description

@xylar

A bug was introduced in #6310 in MPAS-Ocean's standalone init mode. In the global_ocean test case, the bottom depth is incorrectly altered, such that all but the shallowest layers have zero layer thickness.

As an example, see:
#6310 (comment)

This appears to be an incorrect change from a max() to a min() operator on this line:

bottomDepth(iCell) = min(bottomDepth(iCell), refBottomDepth(minimum_levels))

Metadata

Metadata

Assignees

Labels

MPAS-Ocean standaloneIssues and features for standalone MPAS-Ocean code that dont impact E3SM.bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions