1

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

4

1 に答える 1

1

うーん、私は出力を得ています:

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

他のWeatherData[]構文はデータを返しますか?

于 2010-09-25T00:47:42.470 に答える