Skip to content

Commit

Permalink
fix code remove redundant valid points
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Nov 26, 2024
1 parent 4c54606 commit ca66b73
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions podaac/forge_py/strategies/open_cv_footprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,6 @@ def footprint_open_cv(lon, lat, pixel_height=1800, path=None, threshold_value=18
else:
valid_points = (new_lon != fill_value) & (new_lat != fill_value)

valid_points = ~np.isnan(new_lon * new_lat)

new_lon = new_lon[valid_points]
new_lat = new_lat[valid_points]

Expand Down

0 comments on commit ca66b73

Please sign in to comment.