You can get the oceanographic data collected by the NOAA over several years online. The data is among others the temperatures and the salinity data for all seas and oceans. With the help of the calculation methods publicated by the UNESCO one may calculate the sea water density from this data.
The NOAA provides tools for accessing and using the data, but these tools are DOS-based or only available as sourcecode. In the meantime some of the data was used to create grphical representation, but there is no general worldwide map. This was the reason for me to generate a map from the data and provide this map as PDF file.
Currently the NOAA published newer data on their website than the on I used, which were from the year 2001. It should be possible to use newer data also, but you have to do some data conversion first. Sorry there is no manual for that, please look for the conversion calculations in the sourcecode and do the reverse to the data.
As tool for data storage and programming I choose MS-Access with VBA. All data was scaled and converted to integer with (almost) no loss in accuracy which resulted in a 1.6GB-MS-Access-file. This is really close to the maximum allowed file size for Access files of 2GB. A second file contains the VBA code for data calculation and generation of the graphical data. The first prototype for the graphics was created using Access report graphics wich is awesomly slow and cannot be converted to an efficient output / print file format without loosing accuracy and creting JPEG artefacts. So a second approach was programmend which exports a PS file. This can be used directly, or can be converted using Adobe Acrobat Destiller to create an efficient PDF file. Please make sure to turn off graphics recalculation for the conversion because otherwise the files will grow bigger or show JPEG artefacts again.
Copyright ©2017 Sönke Huckfeldt
This software is free software, distributed under the terms of the GNU General Public License, version 3 or (at your choice) newer. This means that if you want to use this software or parts of the sourcecode in a program that you release or distribute to anyone, the program must be free software and have a GPL-compatible license. If you would like advice on making your license GPL-compatible, contact licensing@gnu.org.
This software is provided in the hope that it may be useful, but without any warranty, see GNU General Public License for further details.
You should have received a copy of the GNU General Public License together with this software. If not please download from http://www.gnu.org/licenses/.
The part of the software created by me is free of third party rights. All used libraries are free software, but the respective licence terms apply. Please notice all details and information on this topic in this file.
/***************************************************************************** * Salinity, Temperature and Density of Seawater * * * * Copyright ©2017 by Sönke Huckfeldt webmaster (at) huckfeldt.eu * * * * Licensed under GNU General Public License 3.0 or later. * * Some rights reserved. See this README and COPYING. * * * * License http://www.gnu.org/licenses/ * *****************************************************************************/
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.