CDAT / cdms

9 stars 10 forks source link

High level Regridder class #236

Open stefraynaud opened 6 years ago

stefraynaud commented 6 years ago

https://github.com/CDAT/cdms/blob/09431cbd9c662b8c95bde4f2374ff18f2b502977/Lib/avariable.py#L1024 Why not putting the code of this method in a Regridder class similar to http://www.ifremer.fr/vacumm/library/misc.grid.regridding.html#vacumm.misc.grid.regridding.CDATRegridder ?

dnadeau4 commented 6 years ago

I like this idea, and will still be able to do variable.regrid(). The code would look way cleaner.