polaris.tasks.ocean.mixed_layer_eddies.diagnostics.get_density

polaris.tasks.ocean.mixed_layer_eddies.diagnostics.get_density(config, ds)[source]

Compute the density from the tracers with the configured equation of state. Temperature does not affect density in these tasks, so the configured constant stands in for it where output omits it.