Skip to content

Commit

Permalink
Please flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Apr 20, 2023
1 parent 009d50f commit ecf3926
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion monetio/models/hysplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 2 additions & 6 deletions tests/test_hysplit.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import datetime
import os

import numpy as np
import pytest

from monetio import hysplit

Expand Down Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions tests/test_hytraj.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import datetime
import os

import numpy as np
import pytest

from monetio import hytraj

Expand Down

0 comments on commit ecf3926

Please sign in to comment.