Seawater Library for Python
Project description
python-seawater
This is a Python re-write of the CSIRO seawater toolbox (SEAWATER-3.3) for calculating the properties of sea water. The package uses the formulas from Unesco's joint panel on oceanographic tables and standards, UNESCO 1981 and UNESCO 1983 (EOS-80).
The EOS-80 library is considered now obsolete; it is provided here for compatibility with old scripts, and to allow a smooth transition to the new TEOS-10.
Warning
The Python version default output unit for sw.dist is km instead of nm.
Here we assume pressure as the first dimension, i.e. M pressure by N positions (See the table below). The Matlab version does some guessing at this that we simply ignore to avoid confusions.
| P | S | T |
|---|---|---|
| 10 | 34.5487 | 28.7856 |
| 50 | 34.7275 | 28.4329 |
| 125 | 34.8605 | 22.8103 |
| 250 | 34.6810 | 10.2600 |
| 600 | 34.5680 | 6.8863 |
| 1000 | 34.5600 | 4.4036 |
The current version was tested against the Matlab seawater v3.3 reproducing all functions and results from that release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seawater-3.3.5.tar.gz.
File metadata
- Download URL: seawater-3.3.5.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed3443330d76e5054ad6e3f60ac5a1e407f703504887be9352c35a9d77fd6fa8
|
|
| MD5 |
c3bc0b783a1dbeae290c031a81de1fa6
|
|
| BLAKE2b-256 |
dc3254fe53a6dd93ab298ed4f7fbcfac159f564ca3f91ae7bb2f91d44d3e5c74
|
File details
Details for the file seawater-3.3.5-py3-none-any.whl.
File metadata
- Download URL: seawater-3.3.5-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
765aa6b6a82db3d4e9232313420e4d665218d8863a383f5bc4dd49d5f1f0c1d1
|
|
| MD5 |
3d0b90171d64f0af7f9c7e4380a33476
|
|
| BLAKE2b-256 |
e0a0f627b17b66584deba76442fe5d0f11590151539603072aabad65069f6579
|