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

take divergence and vorticity as input #111

Closed billboos closed 5 years ago

billboos commented 5 years ago

I would very much like to use windspharm, but I need to be able to input divergence and/or vorticity, then use those to compute the winds, streamfunction, and/or velocity potential. Any plans to do that, or advice on how I can modify windspharm to do so? The current version seems to require the winds (u,v) as input.

billboos commented 5 years ago

Ah, I forgot that one can access the underlying spherepack routines and do this with those. Not as easy as using the windspharm wrapper functions, but doable.