UNC-CECL / CASCADE

The CoAStal Community-lAnDscape Evolution (CASCADE) model
MIT License
4 stars 1 forks source link

Remove interp2d #35

Closed mcflugen closed 1 year ago

mcflugen commented 1 year ago

This pull request removes the use of interp2d from scipy as it's deprecated and tagged for removal in the near future. Although things are working fine right now, it generates deprecation warnings and we may as well fix it before it breaks. I've replaced it with the preferred RegularGridInterpolator from scipy.

@anardek this looks to be working correctly but would you like be to add some additional tests to make sure? I'm happy to do so.

anardek commented 1 year ago

Awesome, looks great. If you have time to add tests, totally.