GeoscienceAustralia / dea-notebooks

Repository for Digital Earth Australia Jupyter Notebooks: tools and workflows for geospatial analysis with Open Data Cube and Xarray
https://docs.dea.ga.gov.au/notebooks/
Apache License 2.0
433 stars 127 forks source link

Change `xr_interpolate` extent Error to Warning #1210

Closed robbibt closed 4 months ago

robbibt commented 4 months ago

Proposed changes

Previously the xr_interpolate function returned an error if all points were outside the dataset extent. This was an invalid requirement: it's often useful to interpolate from points outside the boundary of a dataset.

This PR changes the error to a warning.

Closes issues (optional)

Checklist

(Replace [ ] with [x] to check off)

sandbox_spellchecker