compass.landice.tests.ismip7_calibration.quadratic.mean_slope

compass.landice.tests.ismip7_calibration.quadratic.mean_slope(draft, floating, dx, dy, x_dim='x', y_dim='y')[source]

Antarctic-mean ice-draft slope angle over floating ice, in radians.

This is the “constant slope” used by the protocol’s worked example. Note that it is a mean of angles, not of sin(theta), and that its value is resolution dependent; both points are raised in protocol-and-toolbox-questions.md A4.

Parameters:
  • draft (xarray.DataArray) – Ice draft on a regular grid.

  • floating (xarray.DataArray) – Boolean mask, True on floating ice.

  • dx (float) – Grid spacing in m.

  • dy (float) – Grid spacing in m.

  • x_dim (str, optional) – Names of the horizontal dimensions.

  • y_dim (str, optional) – Names of the horizontal dimensions.

Returns:

float – Mean slope angle in radians.