Current release: 0.1.0
Martcal is a Python package for calculating the distance from any point at sea to a port, accounting for land masses. The method used is based on spherical trigonometry, where the system will locate:
- nearest port from sea using mercator distance
- distance from nearest port to destination port using static tables
The outcome will be the at-sea leg of resultant triangle.
- Python 3.5+
poetry add martcal --git https://github.com/tayljordan/martcal.git
pip install https://github.com/tayljordan/martcal/archive/master.zip
Short example is located in the
Open an issue or send a pull request on the Github (https://github.com/tayljordan/martcal).
- Jordan Taylor
- Miodrag Tokić
Copyright (C) 2019 Jordan Taylor.
Released under the MIT License. See the LICENSE file for details.