ihesp / IPART

Image-Process based Atmospheric River Tracking (IPART) algorithms
https://ipart.readthedocs.io/en/latest/
GNU General Public License v3.0
24 stars 8 forks source link

add `shift_lon` keyword argument to `ipart.thr.rotatingTHR`. #19

Closed dominiktraxl closed 3 years ago

dominiktraxl commented 3 years ago

This PR adds the possibility to shift longitudes in ipart.thr.rotatingTHR. Since rotatingTHR takes a list of filenames as input, rather than actual NCVARs, it's not possible to shift longitudes before passing them to the THR algorithm, as it is possible with ipart.thr.THR.

Xunius commented 3 years ago

Thanks for the PR. That's a legit point.