[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #OFO-708651]: convert a dimensioned quantity to undimensioned quantity -- FYI ONLY



Greetings!

Concrete feedback on things you find missing are always helpful. Your comments 
here provoked me to add this to our issue tracker:

  https://github.com/Unidata/MetPy/issues/2367

Out of curiosity, what were you doing that necessitated converting to a raw 
float?

Cheers!

Ryan

> I tried to convert my wind speed which had units of Knots to float.
> 
> I googled and check metpy reference found no way to do it.
> 
> It was pretty easy to look at the pycharm debugger and I used
> 
> wind_kts = wind_speed.magnitutde
> 
> Just let you know I didn't see this in your document.
> 
> No need to reply, hope not being a pest here, just giving feed back.


Ticket Details
===================
Ticket ID: OFO-708651
Department: Support Python
Priority: Low
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.