# Extract numbers from quantities from AirTemperatureData[] ?

Posted 4 years ago
4986 Views
|
|
0 Total Likes
|
 Hi. In Mathematica 10.3 I type this: AirTemperatureData[] and I get this: DataPacletsWeatherConvenienceFunctionsDumpunitAirTemperature[ QuantityUnitsPrivateToQuantity[ QuantityUnitsPrivateUnknownQuantity[16., "DegreesCelsius"]], "Metric"] I haven't managed to extract the number (in this case, 16.). I've tried with QuantityMagnitude, etc., to no avail. Can somebody help me?Francisco
 That's a strange problem. I wasn't able to reproduce the problem with 10.3 on Mac. What OS are you using? Please first try restarting Mathematica.If that doesn't work, please try running the following code. What output does it give? << PacletManager Lookup["Version"]@PacletInformation["WeatherData_Index"] If it doesn't give "7.0.14", then you should try to run: PacletUpdate["WeatherData_Index"] `If that doesn't work, I recommend trying to reset Mathematica: http://support.wolfram.com/kb/12464