Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsail committed Apr 4, 2024
1 parent 5c3cfd1 commit bc3cbf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oceanmesh/geodata.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,9 @@ def __init__(self, dem, crs="EPSG:4326", bbox=None, extrapolate=False):
topobathy = np.transpose(topobathy, (1, 0))
# Ensure its a floating point array
topobathy = topobathy.astype(np.float64)
topobathy[
topobathy == nodata_value
] = np.nan # set the no-data value to nan
topobathy[topobathy == nodata_value] = (
np.nan
) # set the no-data value to nan
elif not dem.exists():
raise FileNotFoundError(f"File {dem} could not be located.")

Expand Down
1 change: 1 addition & 0 deletions oceanmesh/idw.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
""" invdisttree.py: inverse-distance-weighted interpolation using KDTree
fast, solid, local
"""

from __future__ import division

import numpy as np
Expand Down

0 comments on commit bc3cbf4

Please sign in to comment.