This is a small library of Julia functions. The functions are in the following categories:
NetCDF: The ncvarget function is a simple wrapper around ncread that automatically applies scale and offset and is aware of missing_values.
Graphics: The functions mycontour, pcolor, and cbar (color-bar) are pretty useful.
Seawater: The gsw_* functions wrap their counterparts in the TEOS-10 library (equation of state and thermodynamic quantities related to seawater).
pre-Julia-1.0 compatibility functions: These are for backwards-compatibility with older Julia code.
Usage Notes
Put edzlib.jl in a standard location, so you know where to find it (I use ~/opt/julia/). In julia you can pull it in with 'include("~/opt/julia/edzlib.jl")'.
The path to libgswteos-10.so is hardwired in the gsw_* functions. Edit it as needed for your system.
The files cbar.jl and gswlib.jl are deprecated and the latest versions have been added to edzlib.jl.