Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Mar 11, 2021
1 parent 5c54051 commit 68dd4c5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pyresample/kd_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,15 +476,6 @@ def _create_resample_kdtree(source_lons,
valid_input_index,
nprocs=1):
"""Set up kd tree on input."""
if not isinstance(source_geo_def, geometry.BaseDefinition):
raise TypeError('source_geo_def must be of geometry type')

#Get reduced cartesian coordinates and flatten them
source_cartesian_coords = source_geo_def.get_cartesian_coords(nprocs=nprocs)
input_coords = geometry._flatten_cartesian_coords(source_cartesian_coords)
input_coords = input_coords[valid_input_index]
"""
source_lons_valid = source_lons[valid_input_index]
source_lats_valid = source_lats[valid_input_index]

Expand Down

0 comments on commit 68dd4c5

Please sign in to comment.