polaris.tasks.ocean.mixed_layer_eddies.init.compute_density_anomaly

polaris.tasks.ocean.mixed_layer_eddies.init.compute_density_anomaly(config, y, z, y_period)[source]

Compute the density anomaly of the mixed layer and its fronts, Z_S(z) [Delta rho_y Y_S(y) - Delta rho_z], from Shrestha & Manucharyan (2022), their eq. 5

Parameters:
Returns:

density_anomaly (xarray.DataArray) – The density anomaly (kg m-3)