antarctica / PolarRoute

Long-distance maritime polar route planning, taking into account complex changing environmental conditions.
https://antarctica.github.io/PolarRoute/
MIT License
17 stars 3 forks source link

Extract routes python interface hotfix #289

Closed hjabbot closed 3 months ago

hjabbot commented 3 months ago

PolarRoute Pull Request Template

Date: 2024-08-14 Version Number: 0.5.2

Description of change

Moves the extraction of routes into geojson format from cli.py to utils.py in order to make it accessible from a python interface rather that just through the CLI. Feature requested by @davidwilby

Fixes #288

Testing

To ensure that the functionality of the PolarRoute codebase remains consistent throughout the development cycle a testing strategy has been developed, which can be viewed in the document test/testing_strategy.md. This includes a collection of test files which should be run according to which part of the codebase has been altered in a pull request. Please consult the testing strategy to determine which tests need to be run.

Checklist