开发者

Weather Conditions in Mathematica

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

W开发者_StackOverflow社区eatherData["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


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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜