apetcho / tsdiagram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TEMPERATURE - SALINITY DIAGRAM

Given temperature (T, in degree C), absolute salinity (S, in PSU), and seawater pressure level, tsdiagram handle the inputs and plot the so called TS-diagram often used in ocean sciences.

Temperature and salinity fields must be of the same size, either in form of 1D or 2D numpy array. The pressure level is scalar.

Requirements:

numpy
For handling array numerics
matplotlib
For plotting utilities
gsw: Gibbs SeaWater Oceanographic Package of TEOS-10
For seawater equation of state. Mainly used here to calculate the absolute density.

tsplot.png

Author:Eyram K. Apetcho
Contact:eyram.apetcho@gmail.com
Version:0.1

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:MATLAB 76.7%Language:Python 23.3%