compass.ocean.tests.drying_slope.default.Default

class compass.ocean.tests.drying_slope.default.Default(test_group, resolution, coord_type, method)[source]

The default drying_slope test case

Variables:
  • resolution (float) – The resolution of the test case in km

  • coord_type (str) – The type of vertical coordinate (sigma, single_layer, etc.)

__init__(test_group, resolution, coord_type, method)[source]

Create the test case

Parameters:
  • test_group (compass.ocean.tests.drying_slope.DryingSlope) – The test group that this test case belongs to

  • resolution (float) – The resolution of the test case in km

  • coord_type (str) – The type of vertical coordinate (sigma, single_layer)

  • method (str) – The type of wetting-and-drying algorithm

Methods

__init__(test_group, resolution, coord_type, ...)

Create the test case

add_step(step[, run_by_default])

Add a step to the test case

check_validation()

Check the test case's "validation" dictionary to see if validation failed.

configure()

Change config options as needed

run()

This method is deprecated.

validate()

Validate variables against a baseline