Changeset 2067 for inundation/wiki
- Timestamp:
- Nov 24, 2005, 4:44:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/wiki/least_squares_redesign.txt
r2048 r2067 125 125 setting precrop to True means these points are not returned. Using a 126 126 precrop of true and expand search true grinds the system to a halt.) 127 ___________________ 128 Heres the snippet (from data_manager.py) that will identify points outside the mesh, in case you can use it for the interpolate methodology: 129 130 P = interp.mesh.get_boundary_polygon() 131 outside_indices = outside_polygon(grid_points, P, closed=True) 132 for i in outside_indices: 133 grid_values[i] = NODATA_value 134 Cheers, O 135 __________________ 127 136 128 137 *To reduce the time spent building matrix A.
Note: See TracChangeset
for help on using the changeset viewer.