Group Abstract Group Abstract

Message Boards Message Boards

[?] Export weather data from Mathematica to Excel?

POSTED BY: David Quesada
6 Replies
POSTED BY: l van Veen

will try, thank you for your time

POSTED BY: David Quesada

worked, thank you so much!!!

POSTED BY: David Quesada

I wish to have it in two columns, one for the date and the second for the value of the Min Temp. Something like: Date MinTemp Jan-01-2005 45

POSTED BY: David Quesada

In Mathematica Stack Exchange they provided an example very similar to the one I included above, however I did not get the tabular format. I tried also to transform it into a "csv" format, and an error message also popped up. I tried the suggested code and it did not return any reasonable value, if you plot the time series you will see that the values are completely different from the one the conversion provides.

POSTED BY: David Quesada
mydataMinTempKTaMia = 
 WeatherData["KTMB", 
  "MinTemperature", {{2005, 1, 1}, {2012, 12, 31}, "Day"}] 
Export["MinTempKTaMia.xlsx", mydataMinTempKTaMia // Values, "XLSX"]

This will get the values out of the timeseries object and get them in 1 column in XLS. Is that what you needed?

POSTED BY: l van Veen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard