<p dir="ltr">Robert I would suggest let the user select either sea water or fresh water.  I know of no dive computer that does not have only those two options. For planning purposes keep the density as you have it but please get the terminology right: density means g/ml or kg/l which is the same number. Salinity means g of salt per litre of water. And even then the concept of 'salt'  is vague. Definitely not only NaCl. I doubt if divers really worry about that. <br>
Kind regards,  willem</p>
<div class="gmail_quote">On 26 Feb 2016 2:45 PM, "Robert Helling" <<a href="mailto:helling@lmu.de">helling@lmu.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>for those of you who do not follow the discussion in the google forum:</div><div><br></div><div>A user reported a wrongly calculated SAC in <a href="https://groups.google.com/d/msgid/subsurface-divelog/583da598-2554-4309-9387-a150e47997fd%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/subsurface-divelog/583da598-2554-4309-9387-a150e47997fd%40googlegroups.com</a> and I could track it down to a line in the xml file that specifies the salinity to 35g/l. But salinity value in subsurface is actually treated as the density of water (in the conversion of depth to ambient pressure) and the UI only displays this value but there is no way to set it manually (outside the planner). So my guess is it came from the dive computer which happens to be an Oceanic Oci 279. </div><div><br></div><div>My question is: what is the semantic of the salinity in libdivecomputer, is it “just the mass of salt per liter of water” (in which case we would need to change the translation in subsurface) or is it like in subsurface the density of water (i.e. mass of water plus salt per liter)? In the latter case, there needs to be a conversion when reading out this oceanic computer.</div><div><br></div><div>Best</div><div>Robert<br><div>
<div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br>-- <br>.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO<br>Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics<br>                      Scientific Coordinator<br>                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik<br>                      Phone: <a href="tel:%2B49%2089%202180-4523" value="+498921804523" target="_blank">+49 89 2180-4523</a>  Theresienstr. 39, rm. B339<br>                      <a href="http://www.atdotde.de" target="_blank">http://www.atdotde.de</a></div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">Enhance your privacy, use cryptography! My PGP keys have fingerprints</div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and</div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F</div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div></div></div><br></div><br><br>
</div>
<br></div></div><br>_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
<br></blockquote></div>