-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi - i just found this repository and setup a bit of code to pull the data for my neighborhood. I am somewhat naive to Python programming but think i generally have things setup right.
I got an error when i requested precipType attribute which appears in the DarkSky API docs.
Traceback (most recent call last):
File "sky_data_colletion.py", line 54, in
process_darksky()
File "sky_data_colletion.py", line 30, in process_darksky
for_precip_type = home_forecast.precipType
File "build/bdist.linux-armv7l/egg/darksky/forecast.py", line 27, in getattr
Here's a code snippet surrounding this - other calls work and when i comment out that line the entire code executes and prints out the relevant ozone levels:
for_summary = home_forecast.summary
for_nearest_storm = home_forecast.nearestStormDistance
for_precip_intensity = home_forecast.precipIntensity
for_precip_probability = home_forecast.precipProbability
**### # for_precip_type = home_forecast.precipType**
for_temperature = home_forecast.temperature
for_apparent_temperature = home_forecast.apparentTemperature
for_dew_point = home_forecast.dewPoint
for_humidity = home_forecast.humidity
for_bar_pressure = home_forecast.pressure
for_wind_speed = home_forecast.windSpeed
for_wind_gust = home_forecast.windGust
for_windBearking = home_forecast.windBearing
for_cloud_cover = home_forecast.cloudCover
for_uv_index = home_forecast.uvIndex
for_visibility = home_forecast.visibility
for_ozone = home_forecast.ozone
print ("Ozone {0}".format(for_ozone))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels