natcap / invest

InVEST®: models that map and value the goods and services from nature that sustain and fulfill human life.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CV does not handle `nan` in bathymetry

davemfish opened this issue · comments

A raster with nan as nodata will yield nan values from extract_bathymetry_along_ray if any of the fetch ray overlaps nodata.

This looks like a case where we're using math.isclose where we should be using numpy.isclose(x, y, equal_nan=True).