Skip to content

Distance from any point at sea to a port in nautical miles, accounting for land masses.

License

Notifications You must be signed in to change notification settings

loonies/martcal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

martcal

Current release: 0.1.0

Description

Martcal is a Python package for calculating the distance from any point at sea to a port, accounting for land masses. The routing calculations are based on a type of spherical trigonometry, where the system finds the nearest port from sea using a mercator route, then solves for the triangle.

Installation

Requirements:

  • Python 3.5+

Installing using poetry:

poetry add martcal --git https://github.com/tayljordan/martcal.git

Installing using pip:

pip install https://github.com/tayljordan/martcal/archive/master.zip

Documentation

Short example is located in the doc directory.

Contributing

Open an issue or send a pull request on the Github (https://github.com/tayljordan/martcal).

Authors

  • Jordan Taylor
  • Miodrag Tokić

Copyright

Copyright (C) 2019 Jordan Taylor.

Released under the MIT License. See the LICENSE file for details.

About

Distance from any point at sea to a port in nautical miles, accounting for land masses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages