Skip to content
Snippets Groups Projects
Commit fc956f51 authored by tomrink's avatar tomrink
Browse files

minor...

parent 492c130b
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,8 @@ class LonLatGrid:
# Incoming longitude must be in range: 0 - 360 degrees
# Can have NaN for off Earth grid points (these are handled internally).
# closeness_threshold (m): if < distance of located_point to target, return off grid
# reduce: resolution blow down factor
# leaf_size: Number of points at which to switch to brute-force, default=40
def __init__(self, grd_lons, grd_lats, closeness_threshold=2000, reduce=1, leaf_size=40):
if grd_lons.shape != grd_lats.shape:
raise MyGenericException('incoming lons,lats must have same shape')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment