These days we can do it much easier and we do it electrically, so we can use a relationship between conductivity  which has to be er compensated for temperature and pressure at which you're doing your readings, and that gives us a measure of our chlorinity and then that gives us a measure back to our salinity.