polaris.tasks.ocean.single_column.frazil.init.FrazilInit._compute_temperature_salinity
- FrazilInit._compute_temperature_salinity(config, ds, x_cell)[source]
Compute the melting or freezing initial temperature and salinity profiles. Salinity increases linearly with depth in both cases. In the melting case, temperature is a constant value above a transition depth and a different constant value below it. In the freezing case, temperature is uniform, just above the warmest linear freezing point for MPAS-Ocean or set by
temperature_freezingfor Omega. It is exactly at the local freezing point ifat_freezingis set. In themelting_shortcase, temperature is constant above the transition depth and a fixed amount below the local freezing point beneath it.