Advection documentation
weathermanbarnes opened this issue · comments
What can be better?
In your "advection" documentation in the metpy.calc section, the documentation claims that it implements the equation u * grad(). Should this not be -u*grad? The source code returns -sum(
wind * gradient
for wind, gradient in zip(wind_vector.values(), gradient_vector)
)
@weathermanbarnes there was PR #3093 to do just that. It has been merged and will be part of the next release, which will hopefully completed in the near future. You can check out the dev docs at https://unidata.github.io/MetPy/dev/api/generated/metpy.calc.advection.html
Thanks @kgoebber! Apologies for the double posting, I didn't find the earlier mention. The updates look great!