Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ jobs:
run: pip install tox

- name: Run typecheck
run: tox -e typecheck
run: tox -e typecheck
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ dist
*.pyc
.tox
coverage.xml
.coverage
.coverage*
*_cache
19 changes: 1 addition & 18 deletions docs/source/generated/weatherrouting.grib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,9 @@ weatherrouting.grib
.. automodule:: weatherrouting.grib











.. rubric:: Classes

.. autosummary::

Grib










19 changes: 1 addition & 18 deletions docs/source/generated/weatherrouting.polar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,9 @@ weatherrouting.polar
.. automodule:: weatherrouting.polar











.. rubric:: Classes

.. autosummary::

Polar










Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,9 @@ weatherrouting.routers.linearbestisorouter
.. automodule:: weatherrouting.routers.linearbestisorouter











.. rubric:: Classes

.. autosummary::

LinearBestIsoRouter










19 changes: 1 addition & 18 deletions docs/source/generated/weatherrouting.routers.router.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ weatherrouting.routers.router
.. automodule:: weatherrouting.routers.router











.. rubric:: Classes

.. autosummary::
Expand All @@ -22,17 +13,9 @@ weatherrouting.routers.router
RouterParam
RoutingResult





.. rubric:: Exceptions

.. autosummary::

RoutingNoWindError






24 changes: 3 additions & 21 deletions docs/source/generated/weatherrouting.routers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,12 @@ weatherrouting.routers
.. automodule:: weatherrouting.routers



















.. rubric:: Modules

.. autosummary::
:toctree:
:recursive:

weatherrouting.routers.linearbestisorouter
weatherrouting.routers.router
weatherrouting.routers.shortestpathrouter

linearbestisorouter
router
shortestpathrouter
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,9 @@ weatherrouting.routers.shortestpathrouter
.. automodule:: weatherrouting.routers.shortestpathrouter











.. rubric:: Classes

.. autosummary::

ShortestPathRouter










19 changes: 1 addition & 18 deletions docs/source/generated/weatherrouting.routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,15 @@ weatherrouting.routing
.. automodule:: weatherrouting.routing







.. rubric:: Functions

.. autosummary::

list_routing_algorithms





.. rubric:: Classes

.. autosummary::

Routing










28 changes: 5 additions & 23 deletions docs/source/generated/weatherrouting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,14 @@
.. automodule:: weatherrouting



















.. rubric:: Modules

.. autosummary::
:toctree:
:recursive:

weatherrouting.grib
weatherrouting.polar
weatherrouting.routers
weatherrouting.routing
weatherrouting.utils

grib
polar
routers
routing
utils
20 changes: 2 additions & 18 deletions docs/source/generated/weatherrouting.utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ weatherrouting.utils
.. automodule:: weatherrouting.utils







.. rubric:: Functions

.. autosummary::
Expand All @@ -17,6 +12,7 @@ weatherrouting.utils
km2nm
lossodromic
max_reach_distance
ms_to_knots
nm2km
ortodromic
ortodromic2
Expand All @@ -25,16 +21,4 @@ weatherrouting.utils
reduce180
reduce360
routage_point_distance














50 changes: 25 additions & 25 deletions tests/data/bavaria38.pol
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
TWA\TWS 0 4 6 8 10 12 14 16 20 25 30 35 40 45 50 55 60
0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
5 0.0 0.3 0.5 0.6 0.7 0.8 0.8 0.9 0.9 0.9 0.8 0.7 0.1 0.0 0.0 0.0 0.0
10 0.0 0.6 0.9 1.2 1.4 1.6 1.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