polaris.tasks.ocean.analysis.heat_content_config.get_elevation_ranges

polaris.tasks.ocean.analysis.heat_content_config.get_elevation_ranges(config)[source]

Get the elevation ranges heat content is integrated over

Parameters:

config (polaris.config.PolarisConfigParser) – The config options for the analysis

Returns:

ranges (list of polaris.ocean.vertical.elevation.VerticalReduction) – The parsed ranges, in the order they were requested

Raises:

ValueError – If an entry is not an elevation range