"""Set the density as a linear function of either salinity, temperature or z coordinate. If this function is not set, density follows Jackett-McDougall
keyword arguments:
* mode
"salinity", "temperature" or "z_coordinate"
* constant_coefficient
value of the salinity, temperature or z coord for which rho = rho_0