ajdawson / windspharm

A Python library for spherical harmonic computations on vector winds.
http://ajdawson.github.io/windspharm
MIT License
82 stars 36 forks source link

Memory conservation: legfunc kwarg #97

Closed rcomer closed 6 years ago

rcomer commented 6 years ago

I have had issues with running out of memory when processing large grids (1921 lat x 2560 lon). I got around this with a small hack to pass legfunc='computed' when setting up the spharm.Spharmt instance. Would you be interested in a PR that enables passing of the legfunc keyword through the various VectorWind.__init__ methods?

ajdawson commented 6 years ago

Yes

ajdawson commented 6 years ago

Fixed by #98