Skip to content

Inverting a MetPy function #2871

Answered by dopplershift
sgdecker asked this question in Q&A
Discussion options

You must be logged in to vote

To make that work, inside objective you'd want to attach units before calling saturation_equivalent_potential_temperature, then convert back with .m_as('kelvin') for the return.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sgdecker
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants