Skip to content

Commit 2106c5a

Browse files
committed
pint update
1 parent 7adc2b9 commit 2106c5a

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

doc/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ Welcome to py-eddy-tracker's documentation!
3030
run_tracking
3131
custom_tracking
3232

33+
.. toctree::
34+
:maxdepth: 2
35+
:caption: Work with eddies
36+
37+
observation_manipulation
3338

3439
.. toctree::
3540
:maxdepth: 2

doc/observation_manipulation.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
===================================================
2+
How manipulate tracking/identification observations
3+
===================================================

src/py_eddy_tracker/observations/observation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
from Polygon import Polygon
5656
from pint import UnitRegistry
5757
from pint.errors import UndefinedUnitError
58-
from pint.compat.tokenize import TokenError
59-
58+
from tokenize import TokenError
6059

6160
@njit(cache=True, fastmath=True)
6261
def shifted_ellipsoid_degrees_mask(lon0, lat0, lon1, lat1, minor=1.5, major=1.5):

0 commit comments

Comments
 (0)