Question

I have yet to find a city or location or date, that gives me an answer other than Missing[NotApplicable] to the following query.

WeatherData["Chicago", "Conditions", {2010, 8}]

That syntax works for "Temperature" and "Pressure" and "WindDirection" But not "Conditions". In particular, if you want data returned for "Conditions" you need to add the "Value" keyword (as the responder below noted.) Why is that? i.e. this command works:

WeatherData["Chicago", "Conditions", {2010, 8}, "Value"]

But now, no DateTime stamps are included, so we are only left to guess when the Conditions were recorded. (On Temperature for instance, readings are not once / hour, although typically they are once per hour.)

This is Mathematica 7.0

Was it helpful?

Solution

Hmmm, I'm getting output:

In[8]:= WeatherData["Chicago","Conditions",{2010,8, 1}, "Value"]  
Out[8]= {{},{},{},{},{},{},{Fog},{Fog},{Fog},{Fog},{Fog},{Fog},{},
         {},{},{},{},{},{},{},{},{},{},{},{},{}}

Do other WeatherData[] syntaxes return data for you?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top