File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -851,8 +851,7 @@ def points_to_cellids(
851851 handle_z : str, optional
852852 Method for handling z dimension in intersection results for point
853853 intersections. Default is "ignore" which ignores z-dimension. Other
854- options are "drop" which only returns results for points within grid
855- top and bottom, or "return" which returns the computed layer position
854+ options is "return" which returns the computed layer position
856855 for each point. Points above the grid are returned as +np.inf and below
857856 the grid as -np.inf.
858857 return_nodenumbers : bool, optional
@@ -917,10 +916,7 @@ def points_to_cellids(
917916
918917 if handle_z != "ignore" :
919918 laypos = self .get_layer_from_z (pts , rec .cellids )
920- if handle_z == "drop" :
921- mask_z = np .isfinite (laypos )
922- rec = rec [mask_z ]
923- elif handle_z == "return" :
919+ if handle_z == "return" :
924920 # copy data to new array to include layer position
925921 rec = nprecfns .append_fields (
926922 rec ,
You can’t perform that action at this time.
0 commit comments