TEOS-10 / GSW-Python

Python implementation of TEOS-10 GSW based on ufunc wrappers of GSW-C
https://teos-10.github.io/GSW-Python
Other
142 stars 30 forks source link

units for `gsw.density.rho`? #178

Closed davjfish closed 3 days ago

davjfish commented 4 days ago

I'm wondering if there is a mistake in the docs with respect to the unit for gsw.density.rho. Should it be kg/m^3 instead of kg/m?

image

efiring commented 4 days ago

You are correct. The information in the docstrings, including these units, are taken from a Matlab version, so that is the origin of this error. We will look into getting it fixed. I don't know whether the error is still present in the latest Matlab version; since it is not developed using revision control we will need to check the latest zipfile.