kthyng / tracpy

Fortran core of Tracmass + Python wrapping around the outside.
MIT License
28 stars 19 forks source link

Check points #9

Closed dcherian closed 9 years ago

dcherian commented 9 years ago

I've updated tools.check_points to take in an input array of z0 values and check whether they are within 1m of the bottom. The 1m restriction is arbitrary for now, but works well. I do the check by interpolating to find out water depth at the (lon0, lat0) location and checking whether z0 is above that.

kthyng commented 9 years ago

Looks good!