diff --git a/monetio/models/hysplit.py b/monetio/models/hysplit.py index 3f77a537..663f361a 100644 --- a/monetio/models/hysplit.py +++ b/monetio/models/hysplit.py @@ -1150,7 +1150,7 @@ def get_thickness(cdump): elif cstr in cdump.attrs.keys(): alts = cdump.z.values zvals = cdump.attrs[cstr] - cra = [] + # cra = [] for aaa in alts: # if a level is not found in the attribute array then use the calculate method. if aaa not in zvals: diff --git a/tests/test_hysplit.py b/tests/test_hysplit.py index 21b13bb8..0b5815dd 100644 --- a/tests/test_hysplit.py +++ b/tests/test_hysplit.py @@ -1,8 +1,4 @@ -import datetime -import os - import numpy as np -import pytest from monetio import hysplit @@ -34,9 +30,9 @@ def test_003(): xanswers = [165.0, 167.0, -149.0] yyy = [1, 17, 93] yanswers = [0.0, 8.0, 46.0] - grid = hysplit.get_latlongrid(attrs, xxx, yyy) + grid = hysplit.get_latlongrid(attrs, xxx, yyy) # noqa: F841 latlist, lonlist = hysplit.getlatlon(attrs) - gridanswer = np.meshgrid(xanswers, yanswers) + gridanswer = np.meshgrid(xanswers, yanswers) # noqa: F841 assert len(latlist) == 361 assert len(lonlist) == 721 diff --git a/tests/test_hytraj.py b/tests/test_hytraj.py index e2688723..776dc8ee 100644 --- a/tests/test_hytraj.py +++ b/tests/test_hytraj.py @@ -1,8 +1,4 @@ -import datetime -import os - import numpy as np -import pytest from monetio import hytraj