Merge lp:~ahayzen/ubuntu-weather-app/reboot-ap-create-fake-env into lp:ubuntu-weather-app
- reboot-ap-create-fake-env
- Merge into reboot
Status: | Merged |
---|---|
Approved by: | Victor Thompson |
Approved revision: | 72 |
Merged at revision: | 63 |
Proposed branch: | lp:~ahayzen/ubuntu-weather-app/reboot-ap-create-fake-env |
Merge into: | lp:ubuntu-weather-app |
Diff against target: |
3514 lines (+3311/-41) 15 files modified
README.autopilot (+57/-0) app/ui/HomePage.qml (+1/-0) debian/changelog (+4/-0) po/com.ubuntu.weather.pot (+4/-4) tests/autopilot/ubuntu_weather_app/CMakeLists.txt (+2/-0) tests/autopilot/ubuntu_weather_app/__init__.py (+24/-1) tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.ini (+6/-0) tests/autopilot/ubuntu_weather_app/databases/CMakeLists.txt (+6/-0) tests/autopilot/ubuntu_weather_app/files/1.json (+1509/-0) tests/autopilot/ubuntu_weather_app/files/2.json (+1509/-0) tests/autopilot/ubuntu_weather_app/files/CMakeLists.txt (+6/-0) tests/autopilot/ubuntu_weather_app/tests/__init__.py (+116/-1) tests/autopilot/ubuntu_weather_app/tests/test_empty_state.py (+35/-0) tests/autopilot/ubuntu_weather_app/tests/test_home_page.py (+32/-0) tests/autopilot/ubuntu_weather_app/tests/test_weather.py (+0/-35) |
To merge this branch: | bzr merge lp:~ahayzen/ubuntu-weather-app/reboot-ap-create-fake-env |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Victor Thompson | Approve | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Andrew Hayzen | Abstain | ||
Review via email: mp+265191@code.launchpad.net |
Commit message
* Create two tests one with an empty database and one with a populated database
* Add mocked locations for tests
Description of the change
* Create two tests one with an empty database and one with a populated database
* Add mocked locations for tests
NOTES
* Are we able to test if the AP tests are running on jenkins yet or is vivid still broken?
- 65. By Andrew Hayzen
-
* Add extra code comments
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:65
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 66. By Andrew Hayzen
-
* Add changelog
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:66
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Andrew Hayzen (ahayzen) wrote : | # |
adt-run [23:00:30]: test autopilot: - - - - - - - - - - results - - - - - - - - - -
autopilot PASS
\o/
I'll merge in the readme and fix it up with what I did :-)
- 67. By Andrew Hayzen
-
* Merge of lp:~vthompson/ubuntu-weather-app/reboot-ap-readme
- 68. By Andrew Hayzen
-
* Update readme to new instructions
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:68
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Victor Thompson (vthompson) wrote : | # |
I have some inline comments. Also, how were the JSON files generated? They appear to be different than what was in the legacy app?
- 69. By Andrew Hayzen
-
* Remove mention of clock and fix bracket formatting
Victor Thompson (vthompson) wrote : | # |
There are at least a few more trailing parens on newlines
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:69
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 70. By Andrew Hayzen
-
* Further bracket fixes
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:70
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Victor Thompson (vthompson) wrote : | # |
I have a few more inline comments. At least one (2 really) of them should be fixed.
- 71. By Andrew Hayzen
-
* Remove mention of emulate and inclusion of binary files
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:71
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Victor Thompson (vthompson) wrote : | # |
Ok, things are looking good. Could you update the CMakeLists.txt to remove emulator completely? See inline comments.
- 72. By Andrew Hayzen
-
* Removal of more uses of the phrase emulator
Andrew Hayzen (ahayzen) wrote : | # |
Removed some more mentions of 'emulator', please rereview :-)
Andrew Hayzen (ahayzen) wrote : | # |
..Maybe the resubmit is not what i think it is, i'll abstain to not confuse jenkins :-)
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:72
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === added file 'README.autopilot' | |||
2 | --- README.autopilot 1970-01-01 00:00:00 +0000 | |||
3 | +++ README.autopilot 2015-07-25 13:52:29 +0000 | |||
4 | @@ -0,0 +1,57 @@ | |||
5 | 1 | # Running Autopilot tests | ||
6 | 2 | |||
7 | 3 | The Weather app follows a test driven development where autopilot tests are run before every merge into trunk. If you are submitting your bugfix/patch to the Weather app, please follow the following steps below to ensure that all tests pass before proposing a merge request. | ||
8 | 4 | |||
9 | 5 | If you are looking for more info about Autopilot or writing AP tests for the weather app, here are some useful links to help you: | ||
10 | 6 | |||
11 | 7 | - http://developer.ubuntu.com/start/quality | ||
12 | 8 | - https://developer.ubuntu.com/api/autopilot/python/1.5.0/ | ||
13 | 9 | |||
14 | 10 | For help and options on running tests, see: | ||
15 | 11 | |||
16 | 12 | - https://developer.ubuntu.com/en/start/platform/guides/running-autopilot-tests/ | ||
17 | 13 | |||
18 | 14 | ## Prerequisites | ||
19 | 15 | |||
20 | 16 | Install the following autopilot packages required to run the tests, | ||
21 | 17 | $ sudo apt-get install python3-autopilot libautopilot-qt ubuntu-ui-toolkit-autopilot python3-autopilot-vis | ||
22 | 18 | |||
23 | 19 | ## Running tests on the desktop | ||
24 | 20 | |||
25 | 21 | Using terminal: | ||
26 | 22 | |||
27 | 23 | * Branch the Weather app code, for example, | ||
28 | 24 | $ bzr branch lp:ubuntu-weather-app | ||
29 | 25 | |||
30 | 26 | * Navigate to the tests/autopilot directory. | ||
31 | 27 | $ cd ubuntu-weather-app/tests/autopilot | ||
32 | 28 | |||
33 | 29 | * run all tests. | ||
34 | 30 | $ autopilot3 run -vv ubuntu_weather_app | ||
35 | 31 | |||
36 | 32 | to list all tests: | ||
37 | 33 | $ autopilot3 list ubuntu_weather_app | ||
38 | 34 | |||
39 | 35 | To run only one test (for instance: ubuntu_weather_app.tests.test_empty_state.TestEmptyState.test_add_location_button) | ||
40 | 36 | $ autopilot3 run -vv ubuntu_weather_app.tests.test_empty_state.TestEmptyState.test_add_location_button | ||
41 | 37 | |||
42 | 38 | Debugging tests using autopilot vis | ||
43 | 39 | $ autopilot3 launch -i Qt qmlscene app/ubuntu-weather-app.qml | ||
44 | 40 | $ autopilot3 vis | ||
45 | 41 | |||
46 | 42 | |||
47 | 43 | ## Running tests on device or emulator: | ||
48 | 44 | |||
49 | 45 | Using autopkg: | ||
50 | 46 | |||
51 | 47 | * Branch the Weather app code, for example, | ||
52 | 48 | $ bzr branch lp:ubuntu-weather-app | ||
53 | 49 | |||
54 | 50 | * Navigate to the source directory. | ||
55 | 51 | $ cd ubuntu-weather-app | ||
56 | 52 | |||
57 | 53 | * Build a click package | ||
58 | 54 | $ click-buddy . | ||
59 | 55 | |||
60 | 56 | * Run the tests on device (assumes only one click package in the directory) | ||
61 | 57 | $ adt-run . *.click --- ssh -s adb -- -p <PASSWORD> | ||
62 | 0 | 58 | ||
63 | === modified file 'app/ui/HomePage.qml' | |||
64 | --- app/ui/HomePage.qml 2015-06-18 01:42:03 +0000 | |||
65 | +++ app/ui/HomePage.qml 2015-07-25 13:52:29 +0000 | |||
66 | @@ -122,6 +122,7 @@ | |||
67 | 122 | */ | 122 | */ |
68 | 123 | ListView { | 123 | ListView { |
69 | 124 | id: locationPages | 124 | id: locationPages |
70 | 125 | objectName: "locationPages" | ||
71 | 125 | anchors.fill: parent | 126 | anchors.fill: parent |
72 | 126 | currentIndex: settings.current | 127 | currentIndex: settings.current |
73 | 127 | delegate: LocationPane {} | 128 | delegate: LocationPane {} |
74 | 128 | 129 | ||
75 | === modified file 'debian/changelog' | |||
76 | --- debian/changelog 2015-06-02 01:15:28 +0000 | |||
77 | +++ debian/changelog 2015-07-25 13:52:29 +0000 | |||
78 | @@ -1,7 +1,11 @@ | |||
79 | 1 | ubuntu-weather-app (3.0) UNRELEASED; urgency=medium | 1 | ubuntu-weather-app (3.0) UNRELEASED; urgency=medium |
80 | 2 | 2 | ||
81 | 3 | [ Victor Thompson ] | ||
82 | 3 | * Sync debian version with click version. | 4 | * Sync debian version with click version. |
83 | 4 | 5 | ||
84 | 6 | [ Andrew Hayzen ] | ||
85 | 7 | * Add mocked locations for autopilot and add a test using the data | ||
86 | 8 | |||
87 | 5 | -- Victor Thompson <victor.thompson@gmail.com> Mon, 01 Jun 2015 20:11:23 -0500 | 9 | -- Victor Thompson <victor.thompson@gmail.com> Mon, 01 Jun 2015 20:11:23 -0500 |
88 | 6 | 10 | ||
89 | 7 | ubuntu-weather-app (2.1) UNRELEASED; urgency=medium | 11 | ubuntu-weather-app (2.1) UNRELEASED; urgency=medium |
90 | 8 | 12 | ||
91 | === modified file 'po/com.ubuntu.weather.pot' | |||
92 | --- po/com.ubuntu.weather.pot 2015-06-29 00:20:51 +0000 | |||
93 | +++ po/com.ubuntu.weather.pot 2015-07-25 13:52:29 +0000 | |||
94 | @@ -8,7 +8,7 @@ | |||
95 | 8 | msgstr "" | 8 | msgstr "" |
96 | 9 | "Project-Id-Version: ubuntu-weather-app\n" | 9 | "Project-Id-Version: ubuntu-weather-app\n" |
97 | 10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
99 | 11 | "POT-Creation-Date: 2015-06-28 19:17-0500\n" | 11 | "POT-Creation-Date: 2015-07-18 18:04+0100\n" |
100 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
101 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
102 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
103 | @@ -118,15 +118,15 @@ | |||
104 | 118 | msgid "Settings" | 118 | msgid "Settings" |
105 | 119 | msgstr "" | 119 | msgstr "" |
106 | 120 | 120 | ||
108 | 121 | #: ../app/ui/SettingsPage.qml:38 ../app/ui/settings/UnitsPage.qml:24 | 121 | #: ../app/ui/SettingsPage.qml:32 ../app/ui/settings/UnitsPage.qml:24 |
109 | 122 | msgid "Units" | 122 | msgid "Units" |
110 | 123 | msgstr "" | 123 | msgstr "" |
111 | 124 | 124 | ||
113 | 125 | #: ../app/ui/SettingsPage.qml:43 ../app/ui/settings/DataProviderPage.qml:24 | 125 | #: ../app/ui/SettingsPage.qml:37 ../app/ui/settings/DataProviderPage.qml:24 |
114 | 126 | msgid "Data Provider" | 126 | msgid "Data Provider" |
115 | 127 | msgstr "" | 127 | msgstr "" |
116 | 128 | 128 | ||
118 | 129 | #: ../app/ui/SettingsPage.qml:48 ../app/ui/settings/RefreshIntervalPage.qml:24 | 129 | #: ../app/ui/SettingsPage.qml:42 ../app/ui/settings/RefreshIntervalPage.qml:24 |
119 | 130 | msgid "Refresh Interval" | 130 | msgid "Refresh Interval" |
120 | 131 | msgstr "" | 131 | msgstr "" |
121 | 132 | 132 | ||
122 | 133 | 133 | ||
123 | === modified file 'tests/autopilot/ubuntu_weather_app/CMakeLists.txt' | |||
124 | --- tests/autopilot/ubuntu_weather_app/CMakeLists.txt 2015-04-29 17:31:56 +0000 | |||
125 | +++ tests/autopilot/ubuntu_weather_app/CMakeLists.txt 2015-07-25 13:52:29 +0000 | |||
126 | @@ -1,3 +1,5 @@ | |||
127 | 1 | add_subdirectory(databases) | ||
128 | 2 | add_subdirectory(files) | ||
129 | 1 | add_subdirectory(tests) | 3 | add_subdirectory(tests) |
130 | 2 | 4 | ||
131 | 3 | # make the emulator files visible on qtcreator | 5 | # make the emulator files visible on qtcreator |
132 | 4 | 6 | ||
133 | === modified file 'tests/autopilot/ubuntu_weather_app/__init__.py' | |||
134 | --- tests/autopilot/ubuntu_weather_app/__init__.py 2015-06-14 23:57:35 +0000 | |||
135 | +++ tests/autopilot/ubuntu_weather_app/__init__.py 2015-07-25 13:52:29 +0000 | |||
136 | @@ -26,12 +26,19 @@ | |||
137 | 26 | 26 | ||
138 | 27 | def __init__(self, app_proxy): | 27 | def __init__(self, app_proxy): |
139 | 28 | self.app = app_proxy | 28 | self.app = app_proxy |
141 | 29 | self.main_view = self.app.wait_select_single(MainView) | 29 | |
142 | 30 | # FIXME: Select by objectName due to it being MainView12 not MainView | ||
143 | 31 | # pad.lv/1350532 | ||
144 | 32 | self.main_view = self.app.wait_select_single(objectName="weather") | ||
145 | 30 | 33 | ||
146 | 31 | def get_add_location_page(self): | 34 | def get_add_location_page(self): |
147 | 32 | return self.main_view.wait_select_single( | 35 | return self.main_view.wait_select_single( |
148 | 33 | AddLocationPage, objectName="addLocationPage") | 36 | AddLocationPage, objectName="addLocationPage") |
149 | 34 | 37 | ||
150 | 38 | def get_home_page(self): | ||
151 | 39 | return self.main_view.wait_select_single( | ||
152 | 40 | HomePage, objectName="homePage") | ||
153 | 41 | |||
154 | 35 | def click_add_location_button(self): | 42 | def click_add_location_button(self): |
155 | 36 | add_location_button = self.main_view.wait_select_single( | 43 | add_location_button = self.main_view.wait_select_single( |
156 | 37 | "Button", objectName="emptyStateButton") | 44 | "Button", objectName="emptyStateButton") |
157 | @@ -44,12 +51,28 @@ | |||
158 | 44 | super(Page, self).__init__(*args) | 51 | super(Page, self).__init__(*args) |
159 | 45 | 52 | ||
160 | 46 | 53 | ||
161 | 54 | class PageWithBottomEdge(Page): | ||
162 | 55 | """Autopilot helper for PageWithBottomEdge.""" | ||
163 | 56 | def __init__(self, *args): | ||
164 | 57 | super(PageWithBottomEdge, self).__init__(*args) | ||
165 | 58 | |||
166 | 59 | |||
167 | 47 | class AddLocationPage(Page): | 60 | class AddLocationPage(Page): |
168 | 48 | """Autopilot helper for AddLocationPage.""" | 61 | """Autopilot helper for AddLocationPage.""" |
169 | 49 | def __init__(self, *args): | 62 | def __init__(self, *args): |
170 | 50 | super(AddLocationPage, self).__init__(*args) | 63 | super(AddLocationPage, self).__init__(*args) |
171 | 51 | 64 | ||
172 | 52 | 65 | ||
173 | 66 | class HomePage(Page): | ||
174 | 67 | """Autopilot helper for HomePage.""" | ||
175 | 68 | def __init__(self, *args): | ||
176 | 69 | super(HomePage, self).__init__(*args) | ||
177 | 70 | |||
178 | 71 | def get_location_count(self): | ||
179 | 72 | return self.wait_select_single( | ||
180 | 73 | "QQuickListView", objectName="locationPages").count | ||
181 | 74 | |||
182 | 75 | |||
183 | 53 | class MainView(MainView): | 76 | class MainView(MainView): |
184 | 54 | """Autopilot custom proxy object for the MainView.""" | 77 | """Autopilot custom proxy object for the MainView.""" |
185 | 55 | retry_delay = 0.2 | 78 | retry_delay = 0.2 |
186 | 56 | 79 | ||
187 | === added directory 'tests/autopilot/ubuntu_weather_app/databases' | |||
188 | === added file 'tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.ini' | |||
189 | --- tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.ini 1970-01-01 00:00:00 +0000 | |||
190 | +++ tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.ini 2015-07-25 13:52:29 +0000 | |||
191 | @@ -0,0 +1,6 @@ | |||
192 | 1 | [General] | ||
193 | 2 | Description=Default Ubuntu weather app | ||
194 | 3 | Driver=QSQLITE | ||
195 | 4 | EstimatedSize=100000 | ||
196 | 5 | Name=com.ubuntu.weather | ||
197 | 6 | Version=0.3 | ||
198 | 0 | 7 | ||
199 | === added file 'tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.sqlite' | |||
200 | 1 | Binary files tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.sqlite 1970-01-01 00:00:00 +0000 and tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.sqlite 2015-07-25 13:52:29 +0000 differ | 8 | Binary files tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.sqlite 1970-01-01 00:00:00 +0000 and tests/autopilot/ubuntu_weather_app/databases/34e1e542f2f083ff18f537b07a380071.sqlite 2015-07-25 13:52:29 +0000 differ |
201 | === added file 'tests/autopilot/ubuntu_weather_app/databases/CMakeLists.txt' | |||
202 | --- tests/autopilot/ubuntu_weather_app/databases/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
203 | +++ tests/autopilot/ubuntu_weather_app/databases/CMakeLists.txt 2015-07-25 13:52:29 +0000 | |||
204 | @@ -0,0 +1,6 @@ | |||
205 | 1 | # make the database files visible on qtcreator | ||
206 | 2 | file(GLOB PYTHON_TEST_DATABASE_FILES | ||
207 | 3 | RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
208 | 4 | *.ini) | ||
209 | 5 | |||
210 | 6 | add_custom_target(ubuntu-weather-app_PYTHONTestDatabaseFiles ALL SOURCES ${PYTHON_TEST_DATABASE_FILES}) | ||
211 | 0 | 7 | ||
212 | === added directory 'tests/autopilot/ubuntu_weather_app/files' | |||
213 | === added file 'tests/autopilot/ubuntu_weather_app/files/1.json' | |||
214 | --- tests/autopilot/ubuntu_weather_app/files/1.json 1970-01-01 00:00:00 +0000 | |||
215 | +++ tests/autopilot/ubuntu_weather_app/files/1.json 2015-07-25 13:52:29 +0000 | |||
216 | @@ -0,0 +1,1509 @@ | |||
217 | 1 | { | ||
218 | 2 | "db":{ | ||
219 | 3 | "id":4, | ||
220 | 4 | "updated":"2015-07-18T17:07:53.668Z" | ||
221 | 5 | }, | ||
222 | 6 | "format":20150404, | ||
223 | 7 | "location":{ | ||
224 | 8 | "objectName":"", | ||
225 | 9 | "adminName1":"England", | ||
226 | 10 | "adminName2":"Greater London", | ||
227 | 11 | "adminName3":"", | ||
228 | 12 | "areaLabel":"England, Greater London, United Kingdom", | ||
229 | 13 | "coord":{ | ||
230 | 14 | "lat":"51.50853", | ||
231 | 15 | "lon":"-0.12574" | ||
232 | 16 | }, | ||
233 | 17 | "country":"GB", | ||
234 | 18 | "countryName":"United Kingdom", | ||
235 | 19 | "name":"London", | ||
236 | 20 | "population":7556900, | ||
237 | 21 | "services":{ | ||
238 | 22 | "geonames":2643743, | ||
239 | 23 | "openweathermap":2643743 | ||
240 | 24 | }, | ||
241 | 25 | "timezone":{ | ||
242 | 26 | "dstOffset":1, | ||
243 | 27 | "gmtOffset":0, | ||
244 | 28 | "timeZoneId":"Europe/London" | ||
245 | 29 | } | ||
246 | 30 | }, | ||
247 | 31 | "data":[ | ||
248 | 32 | { | ||
249 | 33 | "condition":"Clouds", | ||
250 | 34 | "date":{ | ||
251 | 35 | "date":18, | ||
252 | 36 | "hours":11, | ||
253 | 37 | "minutes":59, | ||
254 | 38 | "month":6, | ||
255 | 39 | "year":2015 | ||
256 | 40 | }, | ||
257 | 41 | "hourly":[ | ||
258 | 42 | { | ||
259 | 43 | "condition":"Clouds", | ||
260 | 44 | "date":{ | ||
261 | 45 | "date":18, | ||
262 | 46 | "hours":18, | ||
263 | 47 | "minutes":0, | ||
264 | 48 | "month":6, | ||
265 | 49 | "year":2015 | ||
266 | 50 | }, | ||
267 | 51 | "humidity":45, | ||
268 | 52 | "icon":"cloud", | ||
269 | 53 | "imperial":{ | ||
270 | 54 | "rain":0, | ||
271 | 55 | "snow":0, | ||
272 | 56 | "temp":71.006, | ||
273 | 57 | "windSpeed":6.0704 | ||
274 | 58 | }, | ||
275 | 59 | "metric":{ | ||
276 | 60 | "rain":0, | ||
277 | 61 | "snow":0, | ||
278 | 62 | "temp":21.67, | ||
279 | 63 | "windSpeed":9.756 | ||
280 | 64 | }, | ||
281 | 65 | "pressure":1020.88, | ||
282 | 66 | "timestamp":1437242400, | ||
283 | 67 | "windDeg":233.508, | ||
284 | 68 | "windDir":"SW" | ||
285 | 69 | }, | ||
286 | 70 | { | ||
287 | 71 | "condition":"Clouds", | ||
288 | 72 | "date":{ | ||
289 | 73 | "date":18, | ||
290 | 74 | "hours":21, | ||
291 | 75 | "minutes":0, | ||
292 | 76 | "month":6, | ||
293 | 77 | "year":2015 | ||
294 | 78 | }, | ||
295 | 79 | "humidity":49, | ||
296 | 80 | "icon":"cloud", | ||
297 | 81 | "imperial":{ | ||
298 | 82 | "rain":0, | ||
299 | 83 | "snow":0, | ||
300 | 84 | "temp":65.84, | ||
301 | 85 | "windSpeed":5.0624 | ||
302 | 86 | }, | ||
303 | 87 | "metric":{ | ||
304 | 88 | "rain":0, | ||
305 | 89 | "snow":0, | ||
306 | 90 | "temp":18.8, | ||
307 | 91 | "windSpeed":8.136 | ||
308 | 92 | }, | ||
309 | 93 | "pressure":1020.14, | ||
310 | 94 | "timestamp":1437253200, | ||
311 | 95 | "windDeg":211.004, | ||
312 | 96 | "windDir":"SW" | ||
313 | 97 | } | ||
314 | 98 | ], | ||
315 | 99 | "humidity":63, | ||
316 | 100 | "icon":"cloud_sun", | ||
317 | 101 | "imperial":{ | ||
318 | 102 | "rain":0, | ||
319 | 103 | "snow":0, | ||
320 | 104 | "tempMax":73.724, | ||
321 | 105 | "tempMin":61.7, | ||
322 | 106 | "windSpeed":12.4544 | ||
323 | 107 | }, | ||
324 | 108 | "metric":{ | ||
325 | 109 | "rain":0, | ||
326 | 110 | "snow":0, | ||
327 | 111 | "tempMax":23.18, | ||
328 | 112 | "tempMin":16.5, | ||
329 | 113 | "windSpeed":20.016 | ||
330 | 114 | }, | ||
331 | 115 | "pressure":1022.45, | ||
332 | 116 | "timestamp":1437220800, | ||
333 | 117 | "windDeg":247, | ||
334 | 118 | "windDir":"W", | ||
335 | 119 | "current":{ | ||
336 | 120 | "condition":"Clouds", | ||
337 | 121 | "date":{ | ||
338 | 122 | "date":18, | ||
339 | 123 | "hours":11, | ||
340 | 124 | "minutes":59, | ||
341 | 125 | "month":6, | ||
342 | 126 | "year":2015 | ||
343 | 127 | }, | ||
344 | 128 | "humidity":31, | ||
345 | 129 | "icon":"cloud", | ||
346 | 130 | "imperial":{ | ||
347 | 131 | "rain":0, | ||
348 | 132 | "snow":0, | ||
349 | 133 | "temp":73.112, | ||
350 | 134 | "windSpeed":8.064000000000002 | ||
351 | 135 | }, | ||
352 | 136 | "metric":{ | ||
353 | 137 | "rain":0, | ||
354 | 138 | "snow":0, | ||
355 | 139 | "temp":22.84, | ||
356 | 140 | "windSpeed":12.96 | ||
357 | 141 | }, | ||
358 | 142 | "pressure":1015, | ||
359 | 143 | "timestamp":1437237984, | ||
360 | 144 | "windDeg":230, | ||
361 | 145 | "windDir":"SW", | ||
362 | 146 | "service":"openweathermap", | ||
363 | 147 | "service_id":2643743 | ||
364 | 148 | } | ||
365 | 149 | }, | ||
366 | 150 | { | ||
367 | 151 | "condition":"Rain", | ||
368 | 152 | "date":{ | ||
369 | 153 | "date":19, | ||
370 | 154 | "hours":11, | ||
371 | 155 | "minutes":59, | ||
372 | 156 | "month":6, | ||
373 | 157 | "year":2015 | ||
374 | 158 | }, | ||
375 | 159 | "hourly":[ | ||
376 | 160 | { | ||
377 | 161 | "condition":"Clouds", | ||
378 | 162 | "date":{ | ||
379 | 163 | "date":19, | ||
380 | 164 | "hours":0, | ||
381 | 165 | "minutes":0, | ||
382 | 166 | "month":6, | ||
383 | 167 | "year":2015 | ||
384 | 168 | }, | ||
385 | 169 | "humidity":53, | ||
386 | 170 | "icon":"cloud", | ||
387 | 171 | "imperial":{ | ||
388 | 172 | "rain":0, | ||
389 | 173 | "snow":0, | ||
390 | 174 | "temp":62.654, | ||
391 | 175 | "windSpeed":4.412800000000001 | ||
392 | 176 | }, | ||
393 | 177 | "metric":{ | ||
394 | 178 | "rain":0, | ||
395 | 179 | "snow":0, | ||
396 | 180 | "temp":17.03, | ||
397 | 181 | "windSpeed":7.092 | ||
398 | 182 | }, | ||
399 | 183 | "pressure":1019.63, | ||
400 | 184 | "timestamp":1437264000, | ||
401 | 185 | "windDeg":228.006, | ||
402 | 186 | "windDir":"SW" | ||
403 | 187 | }, | ||
404 | 188 | { | ||
405 | 189 | "condition":"Clouds", | ||
406 | 190 | "date":{ | ||
407 | 191 | "date":19, | ||
408 | 192 | "hours":3, | ||
409 | 193 | "minutes":0, | ||
410 | 194 | "month":6, | ||
411 | 195 | "year":2015 | ||
412 | 196 | }, | ||
413 | 197 | "humidity":53, | ||
414 | 198 | "icon":"cloud", | ||
415 | 199 | "imperial":{ | ||
416 | 200 | "rain":0, | ||
417 | 201 | "snow":0, | ||
418 | 202 | "temp":60.385999999999996, | ||
419 | 203 | "windSpeed":3.1584000000000003 | ||
420 | 204 | }, | ||
421 | 205 | "metric":{ | ||
422 | 206 | "rain":0, | ||
423 | 207 | "snow":0, | ||
424 | 208 | "temp":15.77, | ||
425 | 209 | "windSpeed":5.076 | ||
426 | 210 | }, | ||
427 | 211 | "pressure":1016.87, | ||
428 | 212 | "timestamp":1437274800, | ||
429 | 213 | "windDeg":167.002, | ||
430 | 214 | "windDir":"S" | ||
431 | 215 | }, | ||
432 | 216 | { | ||
433 | 217 | "condition":"Rain", | ||
434 | 218 | "date":{ | ||
435 | 219 | "date":19, | ||
436 | 220 | "hours":6, | ||
437 | 221 | "minutes":0, | ||
438 | 222 | "month":6, | ||
439 | 223 | "year":2015 | ||
440 | 224 | }, | ||
441 | 225 | "humidity":92, | ||
442 | 226 | "icon":"rain", | ||
443 | 227 | "imperial":{ | ||
444 | 228 | "rain":0.0860236220472441, | ||
445 | 229 | "snow":0, | ||
446 | 230 | "temp":53.294, | ||
447 | 231 | "windSpeed":4.7264 | ||
448 | 232 | }, | ||
449 | 233 | "metric":{ | ||
450 | 234 | "rain":2.185, | ||
451 | 235 | "snow":0, | ||
452 | 236 | "temp":11.83, | ||
453 | 237 | "windSpeed":7.596 | ||
454 | 238 | }, | ||
455 | 239 | "pressure":1016.41, | ||
456 | 240 | "timestamp":1437285600, | ||
457 | 241 | "windDeg":247.002, | ||
458 | 242 | "windDir":"W" | ||
459 | 243 | }, | ||
460 | 244 | { | ||
461 | 245 | "condition":"Rain", | ||
462 | 246 | "date":{ | ||
463 | 247 | "date":19, | ||
464 | 248 | "hours":9, | ||
465 | 249 | "minutes":0, | ||
466 | 250 | "month":6, | ||
467 | 251 | "year":2015 | ||
468 | 252 | }, | ||
469 | 253 | "humidity":78, | ||
470 | 254 | "icon":"rain", | ||
471 | 255 | "imperial":{ | ||
472 | 256 | "rain":0.055314960629921264, | ||
473 | 257 | "snow":0, | ||
474 | 258 | "temp":59.414, | ||
475 | 259 | "windSpeed":5.734400000000001 | ||
476 | 260 | }, | ||
477 | 261 | "metric":{ | ||
478 | 262 | "rain":1.405, | ||
479 | 263 | "snow":0, | ||
480 | 264 | "temp":15.23, | ||
481 | 265 | "windSpeed":9.216000000000001 | ||
482 | 266 | }, | ||
483 | 267 | "pressure":1014.95, | ||
484 | 268 | "timestamp":1437296400, | ||
485 | 269 | "windDeg":226.5, | ||
486 | 270 | "windDir":"SW" | ||
487 | 271 | }, | ||
488 | 272 | { | ||
489 | 273 | "condition":"Clouds", | ||
490 | 274 | "date":{ | ||
491 | 275 | "date":19, | ||
492 | 276 | "hours":12, | ||
493 | 277 | "minutes":0, | ||
494 | 278 | "month":6, | ||
495 | 279 | "year":2015 | ||
496 | 280 | }, | ||
497 | 281 | "humidity":66, | ||
498 | 282 | "icon":"cloud_sun", | ||
499 | 283 | "imperial":{ | ||
500 | 284 | "rain":0, | ||
501 | 285 | "snow":0, | ||
502 | 286 | "temp":67.154, | ||
503 | 287 | "windSpeed":10.259200000000002 | ||
504 | 288 | }, | ||
505 | 289 | "metric":{ | ||
506 | 290 | "rain":0, | ||
507 | 291 | "snow":0, | ||
508 | 292 | "temp":19.53, | ||
509 | 293 | "windSpeed":16.488 | ||
510 | 294 | }, | ||
511 | 295 | "pressure":1014.32, | ||
512 | 296 | "timestamp":1437307200, | ||
513 | 297 | "windDeg":247.005, | ||
514 | 298 | "windDir":"W" | ||
515 | 299 | }, | ||
516 | 300 | { | ||
517 | 301 | "condition":"Rain", | ||
518 | 302 | "date":{ | ||
519 | 303 | "date":19, | ||
520 | 304 | "hours":15, | ||
521 | 305 | "minutes":0, | ||
522 | 306 | "month":6, | ||
523 | 307 | "year":2015 | ||
524 | 308 | }, | ||
525 | 309 | "humidity":59, | ||
526 | 310 | "icon":"rain", | ||
527 | 311 | "imperial":{ | ||
528 | 312 | "rain":0.00019685039370078743, | ||
529 | 313 | "snow":0, | ||
530 | 314 | "temp":68.45, | ||
531 | 315 | "windSpeed":10.886400000000002 | ||
532 | 316 | }, | ||
533 | 317 | "metric":{ | ||
534 | 318 | "rain":0.005, | ||
535 | 319 | "snow":0, | ||
536 | 320 | "temp":20.25, | ||
537 | 321 | "windSpeed":17.496000000000002 | ||
538 | 322 | }, | ||
539 | 323 | "pressure":1015.06, | ||
540 | 324 | "timestamp":1437318000, | ||
541 | 325 | "windDeg":263.001, | ||
542 | 326 | "windDir":"W" | ||
543 | 327 | }, | ||
544 | 328 | { | ||
545 | 329 | "condition":"Clouds", | ||
546 | 330 | "date":{ | ||
547 | 331 | "date":19, | ||
548 | 332 | "hours":18, | ||
549 | 333 | "minutes":0, | ||
550 | 334 | "month":6, | ||
551 | 335 | "year":2015 | ||
552 | 336 | }, | ||
553 | 337 | "humidity":51, | ||
554 | 338 | "icon":"cloud_sun", | ||
555 | 339 | "imperial":{ | ||
556 | 340 | "rain":0, | ||
557 | 341 | "snow":0, | ||
558 | 342 | "temp":67.676, | ||
559 | 343 | "windSpeed":7.772800000000001 | ||
560 | 344 | }, | ||
561 | 345 | "metric":{ | ||
562 | 346 | "rain":0, | ||
563 | 347 | "snow":0, | ||
564 | 348 | "temp":19.82, | ||
565 | 349 | "windSpeed":12.492 | ||
566 | 350 | }, | ||
567 | 351 | "pressure":1015.53, | ||
568 | 352 | "timestamp":1437328800, | ||
569 | 353 | "windDeg":269.502, | ||
570 | 354 | "windDir":"W" | ||
571 | 355 | }, | ||
572 | 356 | { | ||
573 | 357 | "condition":"Clear", | ||
574 | 358 | "date":{ | ||
575 | 359 | "date":19, | ||
576 | 360 | "hours":21, | ||
577 | 361 | "minutes":0, | ||
578 | 362 | "month":6, | ||
579 | 363 | "year":2015 | ||
580 | 364 | }, | ||
581 | 365 | "humidity":59, | ||
582 | 366 | "icon":"moon", | ||
583 | 367 | "imperial":{ | ||
584 | 368 | "rain":0, | ||
585 | 369 | "snow":0, | ||
586 | 370 | "temp":60.494, | ||
587 | 371 | "windSpeed":4.9952000000000005 | ||
588 | 372 | }, | ||
589 | 373 | "metric":{ | ||
590 | 374 | "rain":0, | ||
591 | 375 | "snow":0, | ||
592 | 376 | "temp":15.83, | ||
593 | 377 | "windSpeed":8.028 | ||
594 | 378 | }, | ||
595 | 379 | "pressure":1017.12, | ||
596 | 380 | "timestamp":1437339600, | ||
597 | 381 | "windDeg":255.003, | ||
598 | 382 | "windDir":"W" | ||
599 | 383 | } | ||
600 | 384 | ], | ||
601 | 385 | "humidity":81, | ||
602 | 386 | "icon":"rain", | ||
603 | 387 | "imperial":{ | ||
604 | 388 | "rain":0.19173228346456694, | ||
605 | 389 | "snow":0, | ||
606 | 390 | "tempMax":67.37, | ||
607 | 391 | "tempMin":48.74, | ||
608 | 392 | "windSpeed":19.4432 | ||
609 | 393 | }, | ||
610 | 394 | "metric":{ | ||
611 | 395 | "rain":4.87, | ||
612 | 396 | "snow":0, | ||
613 | 397 | "tempMax":19.65, | ||
614 | 398 | "tempMin":9.3, | ||
615 | 399 | "windSpeed":31.248 | ||
616 | 400 | }, | ||
617 | 401 | "pressure":1014.57, | ||
618 | 402 | "timestamp":1437307200, | ||
619 | 403 | "windDeg":251, | ||
620 | 404 | "windDir":"W" | ||
621 | 405 | }, | ||
622 | 406 | { | ||
623 | 407 | "condition":"Rain", | ||
624 | 408 | "date":{ | ||
625 | 409 | "date":20, | ||
626 | 410 | "hours":11, | ||
627 | 411 | "minutes":59, | ||
628 | 412 | "month":6, | ||
629 | 413 | "year":2015 | ||
630 | 414 | }, | ||
631 | 415 | "hourly":[ | ||
632 | 416 | { | ||
633 | 417 | "condition":"Clear", | ||
634 | 418 | "date":{ | ||
635 | 419 | "date":20, | ||
636 | 420 | "hours":0, | ||
637 | 421 | "minutes":0, | ||
638 | 422 | "month":6, | ||
639 | 423 | "year":2015 | ||
640 | 424 | }, | ||
641 | 425 | "humidity":78, | ||
642 | 426 | "icon":"moon", | ||
643 | 427 | "imperial":{ | ||
644 | 428 | "rain":0, | ||
645 | 429 | "snow":0, | ||
646 | 430 | "temp":52.43, | ||
647 | 431 | "windSpeed":2.576 | ||
648 | 432 | }, | ||
649 | 433 | "metric":{ | ||
650 | 434 | "rain":0, | ||
651 | 435 | "snow":0, | ||
652 | 436 | "temp":11.35, | ||
653 | 437 | "windSpeed":4.14 | ||
654 | 438 | }, | ||
655 | 439 | "pressure":1017.21, | ||
656 | 440 | "timestamp":1437350400, | ||
657 | 441 | "windDeg":230.008, | ||
658 | 442 | "windDir":"SW" | ||
659 | 443 | }, | ||
660 | 444 | { | ||
661 | 445 | "condition":"Clouds", | ||
662 | 446 | "date":{ | ||
663 | 447 | "date":20, | ||
664 | 448 | "hours":3, | ||
665 | 449 | "minutes":0, | ||
666 | 450 | "month":6, | ||
667 | 451 | "year":2015 | ||
668 | 452 | }, | ||
669 | 453 | "humidity":88, | ||
670 | 454 | "icon":"cloud_moon", | ||
671 | 455 | "imperial":{ | ||
672 | 456 | "rain":0, | ||
673 | 457 | "snow":0, | ||
674 | 458 | "temp":47.480000000000004, | ||
675 | 459 | "windSpeed":2.3744000000000005 | ||
676 | 460 | }, | ||
677 | 461 | "metric":{ | ||
678 | 462 | "rain":0, | ||
679 | 463 | "snow":0, | ||
680 | 464 | "temp":8.6, | ||
681 | 465 | "windSpeed":3.8160000000000003 | ||
682 | 466 | }, | ||
683 | 467 | "pressure":1016.59, | ||
684 | 468 | "timestamp":1437361200, | ||
685 | 469 | "windDeg":166.004, | ||
686 | 470 | "windDir":"S" | ||
687 | 471 | }, | ||
688 | 472 | { | ||
689 | 473 | "condition":"Rain", | ||
690 | 474 | "date":{ | ||
691 | 475 | "date":20, | ||
692 | 476 | "hours":6, | ||
693 | 477 | "minutes":0, | ||
694 | 478 | "month":6, | ||
695 | 479 | "year":2015 | ||
696 | 480 | }, | ||
697 | 481 | "humidity":82, | ||
698 | 482 | "icon":"rain", | ||
699 | 483 | "imperial":{ | ||
700 | 484 | "rain":0.001377952755905512, | ||
701 | 485 | "snow":0, | ||
702 | 486 | "temp":53.69, | ||
703 | 487 | "windSpeed":2.6208 | ||
704 | 488 | }, | ||
705 | 489 | "metric":{ | ||
706 | 490 | "rain":0.035, | ||
707 | 491 | "snow":0, | ||
708 | 492 | "temp":12.05, | ||
709 | 493 | "windSpeed":4.212 | ||
710 | 494 | }, | ||
711 | 495 | "pressure":1016.62, | ||
712 | 496 | "timestamp":1437372000, | ||
713 | 497 | "windDeg":141.001, | ||
714 | 498 | "windDir":"SE" | ||
715 | 499 | }, | ||
716 | 500 | { | ||
717 | 501 | "condition":"Rain", | ||
718 | 502 | "date":{ | ||
719 | 503 | "date":20, | ||
720 | 504 | "hours":9, | ||
721 | 505 | "minutes":0, | ||
722 | 506 | "month":6, | ||
723 | 507 | "year":2015 | ||
724 | 508 | }, | ||
725 | 509 | "humidity":83, | ||
726 | 510 | "icon":"rain", | ||
727 | 511 | "imperial":{ | ||
728 | 512 | "rain":0.010629921259842521, | ||
729 | 513 | "snow":0, | ||
730 | 514 | "temp":59.36, | ||
731 | 515 | "windSpeed":3.4048000000000003 | ||
732 | 516 | }, | ||
733 | 517 | "metric":{ | ||
734 | 518 | "rain":0.27, | ||
735 | 519 | "snow":0, | ||
736 | 520 | "temp":15.2, | ||
737 | 521 | "windSpeed":5.472 | ||
738 | 522 | }, | ||
739 | 523 | "pressure":1016.18, | ||
740 | 524 | "timestamp":1437382800, | ||
741 | 525 | "windDeg":135, | ||
742 | 526 | "windDir":"SE" | ||
743 | 527 | }, | ||
744 | 528 | { | ||
745 | 529 | "condition":"Rain", | ||
746 | 530 | "date":{ | ||
747 | 531 | "date":20, | ||
748 | 532 | "hours":12, | ||
749 | 533 | "minutes":0, | ||
750 | 534 | "month":6, | ||
751 | 535 | "year":2015 | ||
752 | 536 | }, | ||
753 | 537 | "humidity":72, | ||
754 | 538 | "icon":"rain", | ||
755 | 539 | "imperial":{ | ||
756 | 540 | "rain":0.004330708661417323, | ||
757 | 541 | "snow":0, | ||
758 | 542 | "temp":66.956, | ||
759 | 543 | "windSpeed":5.3984000000000005 | ||
760 | 544 | }, | ||
761 | 545 | "metric":{ | ||
762 | 546 | "rain":0.11, | ||
763 | 547 | "snow":0, | ||
764 | 548 | "temp":19.42, | ||
765 | 549 | "windSpeed":8.676 | ||
766 | 550 | }, | ||
767 | 551 | "pressure":1015.33, | ||
768 | 552 | "timestamp":1437393600, | ||
769 | 553 | "windDeg":167.001, | ||
770 | 554 | "windDir":"S" | ||
771 | 555 | }, | ||
772 | 556 | { | ||
773 | 557 | "condition":"Rain", | ||
774 | 558 | "date":{ | ||
775 | 559 | "date":20, | ||
776 | 560 | "hours":15, | ||
777 | 561 | "minutes":0, | ||
778 | 562 | "month":6, | ||
779 | 563 | "year":2015 | ||
780 | 564 | }, | ||
781 | 565 | "humidity":68, | ||
782 | 566 | "icon":"rain", | ||
783 | 567 | "imperial":{ | ||
784 | 568 | "rain":0.003149606299212599, | ||
785 | 569 | "snow":0, | ||
786 | 570 | "temp":72.968, | ||
787 | 571 | "windSpeed":9.7664 | ||
788 | 572 | }, | ||
789 | 573 | "metric":{ | ||
790 | 574 | "rain":0.08, | ||
791 | 575 | "snow":0, | ||
792 | 576 | "temp":22.76, | ||
793 | 577 | "windSpeed":15.696000000000002 | ||
794 | 578 | }, | ||
795 | 579 | "pressure":1014.09, | ||
796 | 580 | "timestamp":1437404400, | ||
797 | 581 | "windDeg":220.002, | ||
798 | 582 | "windDir":"SW" | ||
799 | 583 | }, | ||
800 | 584 | { | ||
801 | 585 | "condition":"Rain", | ||
802 | 586 | "date":{ | ||
803 | 587 | "date":20, | ||
804 | 588 | "hours":18, | ||
805 | 589 | "minutes":0, | ||
806 | 590 | "month":6, | ||
807 | 591 | "year":2015 | ||
808 | 592 | }, | ||
809 | 593 | "humidity":83, | ||
810 | 594 | "icon":"rain", | ||
811 | 595 | "imperial":{ | ||
812 | 596 | "rain":0.03582677165354331, | ||
813 | 597 | "snow":0, | ||
814 | 598 | "temp":68.036, | ||
815 | 599 | "windSpeed":12.118400000000001 | ||
816 | 600 | }, | ||
817 | 601 | "metric":{ | ||
818 | 602 | "rain":0.91, | ||
819 | 603 | "snow":0, | ||
820 | 604 | "temp":20.02, | ||
821 | 605 | "windSpeed":19.476000000000003 | ||
822 | 606 | }, | ||
823 | 607 | "pressure":1013.88, | ||
824 | 608 | "timestamp":1437415200, | ||
825 | 609 | "windDeg":223.502, | ||
826 | 610 | "windDir":"SW" | ||
827 | 611 | }, | ||
828 | 612 | { | ||
829 | 613 | "condition":"Rain", | ||
830 | 614 | "date":{ | ||
831 | 615 | "date":20, | ||
832 | 616 | "hours":21, | ||
833 | 617 | "minutes":0, | ||
834 | 618 | "month":6, | ||
835 | 619 | "year":2015 | ||
836 | 620 | }, | ||
837 | 621 | "humidity":83, | ||
838 | 622 | "icon":"rain", | ||
839 | 623 | "imperial":{ | ||
840 | 624 | "rain":0.005118110236220473, | ||
841 | 625 | "snow":0, | ||
842 | 626 | "temp":66.38, | ||
843 | 627 | "windSpeed":10.9536 | ||
844 | 628 | }, | ||
845 | 629 | "metric":{ | ||
846 | 630 | "rain":0.13, | ||
847 | 631 | "snow":0, | ||
848 | 632 | "temp":19.1, | ||
849 | 633 | "windSpeed":17.604 | ||
850 | 634 | }, | ||
851 | 635 | "pressure":1013.72, | ||
852 | 636 | "timestamp":1437426000, | ||
853 | 637 | "windDeg":224.006, | ||
854 | 638 | "windDir":"SW" | ||
855 | 639 | } | ||
856 | 640 | ], | ||
857 | 641 | "humidity":81, | ||
858 | 642 | "icon":"rain", | ||
859 | 643 | "imperial":{ | ||
860 | 644 | "rain":0.030708661417322838, | ||
861 | 645 | "snow":0, | ||
862 | 646 | "tempMax":71.798, | ||
863 | 647 | "tempMin":52.519999999999996, | ||
864 | 648 | "windSpeed":10.2144 | ||
865 | 649 | }, | ||
866 | 650 | "metric":{ | ||
867 | 651 | "rain":0.78, | ||
868 | 652 | "snow":0, | ||
869 | 653 | "tempMax":22.11, | ||
870 | 654 | "tempMin":11.4, | ||
871 | 655 | "windSpeed":16.416 | ||
872 | 656 | }, | ||
873 | 657 | "pressure":1016.62, | ||
874 | 658 | "timestamp":1437393600, | ||
875 | 659 | "windDeg":168, | ||
876 | 660 | "windDir":"S" | ||
877 | 661 | }, | ||
878 | 662 | { | ||
879 | 663 | "condition":"Clouds", | ||
880 | 664 | "date":{ | ||
881 | 665 | "date":21, | ||
882 | 666 | "hours":11, | ||
883 | 667 | "minutes":59, | ||
884 | 668 | "month":6, | ||
885 | 669 | "year":2015 | ||
886 | 670 | }, | ||
887 | 671 | "hourly":[ | ||
888 | 672 | { | ||
889 | 673 | "condition":"Rain", | ||
890 | 674 | "date":{ | ||
891 | 675 | "date":21, | ||
892 | 676 | "hours":0, | ||
893 | 677 | "minutes":0, | ||
894 | 678 | "month":6, | ||
895 | 679 | "year":2015 | ||
896 | 680 | }, | ||
897 | 681 | "humidity":87, | ||
898 | 682 | "icon":"rain", | ||
899 | 683 | "imperial":{ | ||
900 | 684 | "rain":0.01653543307086614, | ||
901 | 685 | "snow":0, | ||
902 | 686 | "temp":64.274, | ||
903 | 687 | "windSpeed":9.8336 | ||
904 | 688 | }, | ||
905 | 689 | "metric":{ | ||
906 | 690 | "rain":0.42, | ||
907 | 691 | "snow":0, | ||
908 | 692 | "temp":17.93, | ||
909 | 693 | "windSpeed":15.803999999999998 | ||
910 | 694 | }, | ||
911 | 695 | "pressure":1014.36, | ||
912 | 696 | "timestamp":1437436800, | ||
913 | 697 | "windDeg":237.503, | ||
914 | 698 | "windDir":"SW" | ||
915 | 699 | }, | ||
916 | 700 | { | ||
917 | 701 | "condition":"Clear", | ||
918 | 702 | "date":{ | ||
919 | 703 | "date":21, | ||
920 | 704 | "hours":3, | ||
921 | 705 | "minutes":0, | ||
922 | 706 | "month":6, | ||
923 | 707 | "year":2015 | ||
924 | 708 | }, | ||
925 | 709 | "humidity":82, | ||
926 | 710 | "icon":"cloud_moon", | ||
927 | 711 | "imperial":{ | ||
928 | 712 | "rain":0, | ||
929 | 713 | "snow":0, | ||
930 | 714 | "temp":59.684, | ||
931 | 715 | "windSpeed":7.840000000000001 | ||
932 | 716 | }, | ||
933 | 717 | "metric":{ | ||
934 | 718 | "rain":0, | ||
935 | 719 | "snow":0, | ||
936 | 720 | "temp":15.38, | ||
937 | 721 | "windSpeed":12.6 | ||
938 | 722 | }, | ||
939 | 723 | "pressure":1015, | ||
940 | 724 | "timestamp":1437447600, | ||
941 | 725 | "windDeg":249.502, | ||
942 | 726 | "windDir":"W" | ||
943 | 727 | }, | ||
944 | 728 | { | ||
945 | 729 | "condition":"Clear", | ||
946 | 730 | "date":{ | ||
947 | 731 | "date":21, | ||
948 | 732 | "hours":6, | ||
949 | 733 | "minutes":0, | ||
950 | 734 | "month":6, | ||
951 | 735 | "year":2015 | ||
952 | 736 | }, | ||
953 | 737 | "humidity":81, | ||
954 | 738 | "icon":"sun", | ||
955 | 739 | "imperial":{ | ||
956 | 740 | "rain":0, | ||
957 | 741 | "snow":0, | ||
958 | 742 | "temp":58.838, | ||
959 | 743 | "windSpeed":7.459200000000001 | ||
960 | 744 | }, | ||
961 | 745 | "metric":{ | ||
962 | 746 | "rain":0, | ||
963 | 747 | "snow":0, | ||
964 | 748 | "temp":14.91, | ||
965 | 749 | "windSpeed":11.988000000000001 | ||
966 | 750 | }, | ||
967 | 751 | "pressure":1015.87, | ||
968 | 752 | "timestamp":1437458400, | ||
969 | 753 | "windDeg":245.502, | ||
970 | 754 | "windDir":"W" | ||
971 | 755 | }, | ||
972 | 756 | { | ||
973 | 757 | "condition":"Clear", | ||
974 | 758 | "date":{ | ||
975 | 759 | "date":21, | ||
976 | 760 | "hours":9, | ||
977 | 761 | "minutes":0, | ||
978 | 762 | "month":6, | ||
979 | 763 | "year":2015 | ||
980 | 764 | }, | ||
981 | 765 | "humidity":72, | ||
982 | 766 | "icon":"sun", | ||
983 | 767 | "imperial":{ | ||
984 | 768 | "rain":0, | ||
985 | 769 | "snow":0, | ||
986 | 770 | "temp":64.544, | ||
987 | 771 | "windSpeed":8.624 | ||
988 | 772 | }, | ||
989 | 773 | "metric":{ | ||
990 | 774 | "rain":0, | ||
991 | 775 | "snow":0, | ||
992 | 776 | "temp":18.08, | ||
993 | 777 | "windSpeed":13.860000000000001 | ||
994 | 778 | }, | ||
995 | 779 | "pressure":1016.56, | ||
996 | 780 | "timestamp":1437469200, | ||
997 | 781 | "windDeg":234.001, | ||
998 | 782 | "windDir":"SW" | ||
999 | 783 | }, | ||
1000 | 784 | { | ||
1001 | 785 | "condition":"Clear", | ||
1002 | 786 | "date":{ | ||
1003 | 787 | "date":21, | ||
1004 | 788 | "hours":12, | ||
1005 | 789 | "minutes":0, | ||
1006 | 790 | "month":6, | ||
1007 | 791 | "year":2015 | ||
1008 | 792 | }, | ||
1009 | 793 | "humidity":65, | ||
1010 | 794 | "icon":"sun", | ||
1011 | 795 | "imperial":{ | ||
1012 | 796 | "rain":0, | ||
1013 | 797 | "snow":0, | ||
1014 | 798 | "temp":69.74600000000001, | ||
1015 | 799 | "windSpeed":10.4608 | ||
1016 | 800 | }, | ||
1017 | 801 | "metric":{ | ||
1018 | 802 | "rain":0, | ||
1019 | 803 | "snow":0, | ||
1020 | 804 | "temp":20.97, | ||
1021 | 805 | "windSpeed":16.812 | ||
1022 | 806 | }, | ||
1023 | 807 | "pressure":1016.62, | ||
1024 | 808 | "timestamp":1437480000, | ||
1025 | 809 | "windDeg":228.508, | ||
1026 | 810 | "windDir":"SW" | ||
1027 | 811 | }, | ||
1028 | 812 | { | ||
1029 | 813 | "condition":"Clear", | ||
1030 | 814 | "date":{ | ||
1031 | 815 | "date":21, | ||
1032 | 816 | "hours":15, | ||
1033 | 817 | "minutes":0, | ||
1034 | 818 | "month":6, | ||
1035 | 819 | "year":2015 | ||
1036 | 820 | }, | ||
1037 | 821 | "humidity":59, | ||
1038 | 822 | "icon":"sun", | ||
1039 | 823 | "imperial":{ | ||
1040 | 824 | "rain":0, | ||
1041 | 825 | "snow":0, | ||
1042 | 826 | "temp":71.564, | ||
1043 | 827 | "windSpeed":11.6704 | ||
1044 | 828 | }, | ||
1045 | 829 | "metric":{ | ||
1046 | 830 | "rain":0, | ||
1047 | 831 | "snow":0, | ||
1048 | 832 | "temp":21.98, | ||
1049 | 833 | "windSpeed":18.756 | ||
1050 | 834 | }, | ||
1051 | 835 | "pressure":1016.46, | ||
1052 | 836 | "timestamp":1437490800, | ||
1053 | 837 | "windDeg":235, | ||
1054 | 838 | "windDir":"SW" | ||
1055 | 839 | }, | ||
1056 | 840 | { | ||
1057 | 841 | "condition":"Clouds", | ||
1058 | 842 | "date":{ | ||
1059 | 843 | "date":21, | ||
1060 | 844 | "hours":18, | ||
1061 | 845 | "minutes":0, | ||
1062 | 846 | "month":6, | ||
1063 | 847 | "year":2015 | ||
1064 | 848 | }, | ||
1065 | 849 | "humidity":58, | ||
1066 | 850 | "icon":"cloud_sun", | ||
1067 | 851 | "imperial":{ | ||
1068 | 852 | "rain":0, | ||
1069 | 853 | "snow":0, | ||
1070 | 854 | "temp":69.29599999999999, | ||
1071 | 855 | "windSpeed":10.796800000000001 | ||
1072 | 856 | }, | ||
1073 | 857 | "metric":{ | ||
1074 | 858 | "rain":0, | ||
1075 | 859 | "snow":0, | ||
1076 | 860 | "temp":20.72, | ||
1077 | 861 | "windSpeed":17.352 | ||
1078 | 862 | }, | ||
1079 | 863 | "pressure":1016.78, | ||
1080 | 864 | "timestamp":1437501600, | ||
1081 | 865 | "windDeg":244.003, | ||
1082 | 866 | "windDir":"W" | ||
1083 | 867 | }, | ||
1084 | 868 | { | ||
1085 | 869 | "condition":"Clouds", | ||
1086 | 870 | "date":{ | ||
1087 | 871 | "date":21, | ||
1088 | 872 | "hours":21, | ||
1089 | 873 | "minutes":0, | ||
1090 | 874 | "month":6, | ||
1091 | 875 | "year":2015 | ||
1092 | 876 | }, | ||
1093 | 877 | "humidity":68, | ||
1094 | 878 | "icon":"cloud", | ||
1095 | 879 | "imperial":{ | ||
1096 | 880 | "rain":0, | ||
1097 | 881 | "snow":0, | ||
1098 | 882 | "temp":65.156, | ||
1099 | 883 | "windSpeed":8.534400000000002 | ||
1100 | 884 | }, | ||
1101 | 885 | "metric":{ | ||
1102 | 886 | "rain":0, | ||
1103 | 887 | "snow":0, | ||
1104 | 888 | "temp":18.42, | ||
1105 | 889 | "windSpeed":13.716000000000001 | ||
1106 | 890 | }, | ||
1107 | 891 | "pressure":1018.15, | ||
1108 | 892 | "timestamp":1437512400, | ||
1109 | 893 | "windDeg":249.501, | ||
1110 | 894 | "windDir":"W" | ||
1111 | 895 | } | ||
1112 | 896 | ], | ||
1113 | 897 | "humidity":73, | ||
1114 | 898 | "icon":"cloud_sun", | ||
1115 | 899 | "imperial":{ | ||
1116 | 900 | "rain":0, | ||
1117 | 901 | "snow":0, | ||
1118 | 902 | "tempMax":70.394, | ||
1119 | 903 | "tempMin":57.938, | ||
1120 | 904 | "windSpeed":18.412800000000004 | ||
1121 | 905 | }, | ||
1122 | 906 | "metric":{ | ||
1123 | 907 | "rain":0, | ||
1124 | 908 | "snow":0, | ||
1125 | 909 | "tempMax":21.33, | ||
1126 | 910 | "tempMin":14.41, | ||
1127 | 911 | "windSpeed":29.592000000000002 | ||
1128 | 912 | }, | ||
1129 | 913 | "pressure":1016.62, | ||
1130 | 914 | "timestamp":1437480000, | ||
1131 | 915 | "windDeg":233, | ||
1132 | 916 | "windDir":"SW" | ||
1133 | 917 | }, | ||
1134 | 918 | { | ||
1135 | 919 | "condition":"Rain", | ||
1136 | 920 | "date":{ | ||
1137 | 921 | "date":22, | ||
1138 | 922 | "hours":11, | ||
1139 | 923 | "minutes":59, | ||
1140 | 924 | "month":6, | ||
1141 | 925 | "year":2015 | ||
1142 | 926 | }, | ||
1143 | 927 | "hourly":[ | ||
1144 | 928 | { | ||
1145 | 929 | "condition":"Clouds", | ||
1146 | 930 | "date":{ | ||
1147 | 931 | "date":22, | ||
1148 | 932 | "hours":0, | ||
1149 | 933 | "minutes":0, | ||
1150 | 934 | "month":6, | ||
1151 | 935 | "year":2015 | ||
1152 | 936 | }, | ||
1153 | 937 | "humidity":71, | ||
1154 | 938 | "icon":"cloud", | ||
1155 | 939 | "imperial":{ | ||
1156 | 940 | "rain":0, | ||
1157 | 941 | "snow":0, | ||
1158 | 942 | "temp":62.654, | ||
1159 | 943 | "windSpeed":7.4144000000000005 | ||
1160 | 944 | }, | ||
1161 | 945 | "metric":{ | ||
1162 | 946 | "rain":0, | ||
1163 | 947 | "snow":0, | ||
1164 | 948 | "temp":17.03, | ||
1165 | 949 | "windSpeed":11.916 | ||
1166 | 950 | }, | ||
1167 | 951 | "pressure":1019.51, | ||
1168 | 952 | "timestamp":1437523200, | ||
1169 | 953 | "windDeg":264.503, | ||
1170 | 954 | "windDir":"W" | ||
1171 | 955 | }, | ||
1172 | 956 | { | ||
1173 | 957 | "condition":"Clouds", | ||
1174 | 958 | "date":{ | ||
1175 | 959 | "date":22, | ||
1176 | 960 | "hours":3, | ||
1177 | 961 | "minutes":0, | ||
1178 | 962 | "month":6, | ||
1179 | 963 | "year":2015 | ||
1180 | 964 | }, | ||
1181 | 965 | "humidity":78, | ||
1182 | 966 | "icon":"cloud_moon", | ||
1183 | 967 | "imperial":{ | ||
1184 | 968 | "rain":0, | ||
1185 | 969 | "snow":0, | ||
1186 | 970 | "temp":57.956, | ||
1187 | 971 | "windSpeed":5.734400000000001 | ||
1188 | 972 | }, | ||
1189 | 973 | "metric":{ | ||
1190 | 974 | "rain":0, | ||
1191 | 975 | "snow":0, | ||
1192 | 976 | "temp":14.42, | ||
1193 | 977 | "windSpeed":9.216000000000001 | ||
1194 | 978 | }, | ||
1195 | 979 | "pressure":1020.16, | ||
1196 | 980 | "timestamp":1437534000, | ||
1197 | 981 | "windDeg":265.502, | ||
1198 | 982 | "windDir":"W" | ||
1199 | 983 | }, | ||
1200 | 984 | { | ||
1201 | 985 | "condition":"Rain", | ||
1202 | 986 | "date":{ | ||
1203 | 987 | "date":22, | ||
1204 | 988 | "hours":6, | ||
1205 | 989 | "minutes":0, | ||
1206 | 990 | "month":6, | ||
1207 | 991 | "year":2015 | ||
1208 | 992 | }, | ||
1209 | 993 | "humidity":79, | ||
1210 | 994 | "icon":"rain", | ||
1211 | 995 | "imperial":{ | ||
1212 | 996 | "rain":0.00039370078740157485, | ||
1213 | 997 | "snow":0, | ||
1214 | 998 | "temp":58.964, | ||
1215 | 999 | "windSpeed":4.1664 | ||
1216 | 1000 | }, | ||
1217 | 1001 | "metric":{ | ||
1218 | 1002 | "rain":0.01, | ||
1219 | 1003 | "snow":0, | ||
1220 | 1004 | "temp":14.98, | ||
1221 | 1005 | "windSpeed":6.696000000000001 | ||
1222 | 1006 | }, | ||
1223 | 1007 | "pressure":1020.7, | ||
1224 | 1008 | "timestamp":1437544800, | ||
1225 | 1009 | "windDeg":257.008, | ||
1226 | 1010 | "windDir":"W" | ||
1227 | 1011 | }, | ||
1228 | 1012 | { | ||
1229 | 1013 | "condition":"Rain", | ||
1230 | 1014 | "date":{ | ||
1231 | 1015 | "date":22, | ||
1232 | 1016 | "hours":9, | ||
1233 | 1017 | "minutes":0, | ||
1234 | 1018 | "month":6, | ||
1235 | 1019 | "year":2015 | ||
1236 | 1020 | }, | ||
1237 | 1021 | "humidity":66, | ||
1238 | 1022 | "icon":"rain", | ||
1239 | 1023 | "imperial":{ | ||
1240 | 1024 | "rain":0.0007874015748031497, | ||
1241 | 1025 | "snow":0, | ||
1242 | 1026 | "temp":64.274, | ||
1243 | 1027 | "windSpeed":3.9872000000000005 | ||
1244 | 1028 | }, | ||
1245 | 1029 | "metric":{ | ||
1246 | 1030 | "rain":0.02, | ||
1247 | 1031 | "snow":0, | ||
1248 | 1032 | "temp":17.93, | ||
1249 | 1033 | "windSpeed":6.408 | ||
1250 | 1034 | }, | ||
1251 | 1035 | "pressure":1021.13, | ||
1252 | 1036 | "timestamp":1437555600, | ||
1253 | 1037 | "windDeg":247.5, | ||
1254 | 1038 | "windDir":"W" | ||
1255 | 1039 | }, | ||
1256 | 1040 | { | ||
1257 | 1041 | "condition":"Clouds", | ||
1258 | 1042 | "date":{ | ||
1259 | 1043 | "date":22, | ||
1260 | 1044 | "hours":12, | ||
1261 | 1045 | "minutes":0, | ||
1262 | 1046 | "month":6, | ||
1263 | 1047 | "year":2015 | ||
1264 | 1048 | }, | ||
1265 | 1049 | "humidity":61, | ||
1266 | 1050 | "icon":"cloud_sun", | ||
1267 | 1051 | "imperial":{ | ||
1268 | 1052 | "rain":0, | ||
1269 | 1053 | "snow":0, | ||
1270 | 1054 | "temp":68.55799999999999, | ||
1271 | 1055 | "windSpeed":5.510400000000001 | ||
1272 | 1056 | }, | ||
1273 | 1057 | "metric":{ | ||
1274 | 1058 | "rain":0, | ||
1275 | 1059 | "snow":0, | ||
1276 | 1060 | "temp":20.31, | ||
1277 | 1061 | "windSpeed":8.856 | ||
1278 | 1062 | }, | ||
1279 | 1063 | "pressure":1020.74, | ||
1280 | 1064 | "timestamp":1437566400, | ||
1281 | 1065 | "windDeg":227.501, | ||
1282 | 1066 | "windDir":"SW" | ||
1283 | 1067 | }, | ||
1284 | 1068 | { | ||
1285 | 1069 | "condition":"Clouds", | ||
1286 | 1070 | "date":{ | ||
1287 | 1071 | "date":22, | ||
1288 | 1072 | "hours":15, | ||
1289 | 1073 | "minutes":0, | ||
1290 | 1074 | "month":6, | ||
1291 | 1075 | "year":2015 | ||
1292 | 1076 | }, | ||
1293 | 1077 | "humidity":56, | ||
1294 | 1078 | "icon":"cloud_sun", | ||
1295 | 1079 | "imperial":{ | ||
1296 | 1080 | "rain":0, | ||
1297 | 1081 | "snow":0, | ||
1298 | 1082 | "temp":69.44, | ||
1299 | 1083 | "windSpeed":7.750400000000001 | ||
1300 | 1084 | }, | ||
1301 | 1085 | "metric":{ | ||
1302 | 1086 | "rain":0, | ||
1303 | 1087 | "snow":0, | ||
1304 | 1088 | "temp":20.8, | ||
1305 | 1089 | "windSpeed":12.456 | ||
1306 | 1090 | }, | ||
1307 | 1091 | "pressure":1019.48, | ||
1308 | 1092 | "timestamp":1437577200, | ||
1309 | 1093 | "windDeg":236.001, | ||
1310 | 1094 | "windDir":"SW" | ||
1311 | 1095 | }, | ||
1312 | 1096 | { | ||
1313 | 1097 | "condition":"Clouds", | ||
1314 | 1098 | "date":{ | ||
1315 | 1099 | "date":22, | ||
1316 | 1100 | "hours":18, | ||
1317 | 1101 | "minutes":0, | ||
1318 | 1102 | "month":6, | ||
1319 | 1103 | "year":2015 | ||
1320 | 1104 | }, | ||
1321 | 1105 | "humidity":56, | ||
1322 | 1106 | "icon":"cloud", | ||
1323 | 1107 | "imperial":{ | ||
1324 | 1108 | "rain":0, | ||
1325 | 1109 | "snow":0, | ||
1326 | 1110 | "temp":67.19, | ||
1327 | 1111 | "windSpeed":8.512 | ||
1328 | 1112 | }, | ||
1329 | 1113 | "metric":{ | ||
1330 | 1114 | "rain":0, | ||
1331 | 1115 | "snow":0, | ||
1332 | 1116 | "temp":19.55, | ||
1333 | 1117 | "windSpeed":13.68 | ||
1334 | 1118 | }, | ||
1335 | 1119 | "pressure":1019.42, | ||
1336 | 1120 | "timestamp":1437588000, | ||
1337 | 1121 | "windDeg":258.502, | ||
1338 | 1122 | "windDir":"W" | ||
1339 | 1123 | }, | ||
1340 | 1124 | { | ||
1341 | 1125 | "condition":"Rain", | ||
1342 | 1126 | "date":{ | ||
1343 | 1127 | "date":22, | ||
1344 | 1128 | "hours":21, | ||
1345 | 1129 | "minutes":0, | ||
1346 | 1130 | "month":6, | ||
1347 | 1131 | "year":2015 | ||
1348 | 1132 | }, | ||
1349 | 1133 | "humidity":64, | ||
1350 | 1134 | "icon":"rain", | ||
1351 | 1135 | "imperial":{ | ||
1352 | 1136 | "rain":0.0007874015748031497, | ||
1353 | 1137 | "snow":0, | ||
1354 | 1138 | "temp":63.35600000000001, | ||
1355 | 1139 | "windSpeed":5.1968000000000005 | ||
1356 | 1140 | }, | ||
1357 | 1141 | "metric":{ | ||
1358 | 1142 | "rain":0.02, | ||
1359 | 1143 | "snow":0, | ||
1360 | 1144 | "temp":17.42, | ||
1361 | 1145 | "windSpeed":8.352 | ||
1362 | 1146 | }, | ||
1363 | 1147 | "pressure":1020.07, | ||
1364 | 1148 | "timestamp":1437598800, | ||
1365 | 1149 | "windDeg":261.502, | ||
1366 | 1150 | "windDir":"W" | ||
1367 | 1151 | } | ||
1368 | 1152 | ], | ||
1369 | 1153 | "humidity":0, | ||
1370 | 1154 | "icon":"rain", | ||
1371 | 1155 | "imperial":{ | ||
1372 | 1156 | "rain":0.07007874015748032, | ||
1373 | 1157 | "snow":0, | ||
1374 | 1158 | "tempMax":70.80799999999999, | ||
1375 | 1159 | "tempMin":58.135999999999996, | ||
1376 | 1160 | "windSpeed":8.736 | ||
1377 | 1161 | }, | ||
1378 | 1162 | "metric":{ | ||
1379 | 1163 | "rain":1.78, | ||
1380 | 1164 | "snow":0, | ||
1381 | 1165 | "tempMax":21.56, | ||
1382 | 1166 | "tempMin":14.52, | ||
1383 | 1167 | "windSpeed":14.04 | ||
1384 | 1168 | }, | ||
1385 | 1169 | "pressure":1023.19, | ||
1386 | 1170 | "timestamp":1437566400, | ||
1387 | 1171 | "windDeg":219, | ||
1388 | 1172 | "windDir":"SW" | ||
1389 | 1173 | }, | ||
1390 | 1174 | { | ||
1391 | 1175 | "condition":"Clear", | ||
1392 | 1176 | "date":{ | ||
1393 | 1177 | "date":23, | ||
1394 | 1178 | "hours":11, | ||
1395 | 1179 | "minutes":59, | ||
1396 | 1180 | "month":6, | ||
1397 | 1181 | "year":2015 | ||
1398 | 1182 | }, | ||
1399 | 1183 | "hourly":[ | ||
1400 | 1184 | { | ||
1401 | 1185 | "condition":"Rain", | ||
1402 | 1186 | "date":{ | ||
1403 | 1187 | "date":23, | ||
1404 | 1188 | "hours":0, | ||
1405 | 1189 | "minutes":0, | ||
1406 | 1190 | "month":6, | ||
1407 | 1191 | "year":2015 | ||
1408 | 1192 | }, | ||
1409 | 1193 | "humidity":74, | ||
1410 | 1194 | "icon":"rain", | ||
1411 | 1195 | "imperial":{ | ||
1412 | 1196 | "rain":0.003149606299212599, | ||
1413 | 1197 | "snow":0, | ||
1414 | 1198 | "temp":60.908, | ||
1415 | 1199 | "windSpeed":3.2704000000000004 | ||
1416 | 1200 | }, | ||
1417 | 1201 | "metric":{ | ||
1418 | 1202 | "rain":0.08, | ||
1419 | 1203 | "snow":0, | ||
1420 | 1204 | "temp":16.06, | ||
1421 | 1205 | "windSpeed":5.256 | ||
1422 | 1206 | }, | ||
1423 | 1207 | "pressure":1020.03, | ||
1424 | 1208 | "timestamp":1437609600, | ||
1425 | 1209 | "windDeg":253.504, | ||
1426 | 1210 | "windDir":"W" | ||
1427 | 1211 | }, | ||
1428 | 1212 | { | ||
1429 | 1213 | "condition":"Rain", | ||
1430 | 1214 | "date":{ | ||
1431 | 1215 | "date":23, | ||
1432 | 1216 | "hours":3, | ||
1433 | 1217 | "minutes":0, | ||
1434 | 1218 | "month":6, | ||
1435 | 1219 | "year":2015 | ||
1436 | 1220 | }, | ||
1437 | 1221 | "humidity":83, | ||
1438 | 1222 | "icon":"rain", | ||
1439 | 1223 | "imperial":{ | ||
1440 | 1224 | "rain":0.005905511811023622, | ||
1441 | 1225 | "snow":0, | ||
1442 | 1226 | "temp":59.054, | ||
1443 | 1227 | "windSpeed":3.4048000000000003 | ||
1444 | 1228 | }, | ||
1445 | 1229 | "metric":{ | ||
1446 | 1230 | "rain":0.15, | ||
1447 | 1231 | "snow":0, | ||
1448 | 1232 | "temp":15.03, | ||
1449 | 1233 | "windSpeed":5.472 | ||
1450 | 1234 | }, | ||
1451 | 1235 | "pressure":1019.47, | ||
1452 | 1236 | "timestamp":1437620400, | ||
1453 | 1237 | "windDeg":251.501, | ||
1454 | 1238 | "windDir":"W" | ||
1455 | 1239 | }, | ||
1456 | 1240 | { | ||
1457 | 1241 | "condition":"Rain", | ||
1458 | 1242 | "date":{ | ||
1459 | 1243 | "date":23, | ||
1460 | 1244 | "hours":6, | ||
1461 | 1245 | "minutes":0, | ||
1462 | 1246 | "month":6, | ||
1463 | 1247 | "year":2015 | ||
1464 | 1248 | }, | ||
1465 | 1249 | "humidity":88, | ||
1466 | 1250 | "icon":"rain", | ||
1467 | 1251 | "imperial":{ | ||
1468 | 1252 | "rain":0.006692913385826772, | ||
1469 | 1253 | "snow":0, | ||
1470 | 1254 | "temp":59.054, | ||
1471 | 1255 | "windSpeed":3.4048000000000003 | ||
1472 | 1256 | }, | ||
1473 | 1257 | "metric":{ | ||
1474 | 1258 | "rain":0.17, | ||
1475 | 1259 | "snow":0, | ||
1476 | 1260 | "temp":15.03, | ||
1477 | 1261 | "windSpeed":5.472 | ||
1478 | 1262 | }, | ||
1479 | 1263 | "pressure":1019.07, | ||
1480 | 1264 | "timestamp":1437631200, | ||
1481 | 1265 | "windDeg":165.001, | ||
1482 | 1266 | "windDir":"S" | ||
1483 | 1267 | }, | ||
1484 | 1268 | { | ||
1485 | 1269 | "condition":"Rain", | ||
1486 | 1270 | "date":{ | ||
1487 | 1271 | "date":23, | ||
1488 | 1272 | "hours":9, | ||
1489 | 1273 | "minutes":0, | ||
1490 | 1274 | "month":6, | ||
1491 | 1275 | "year":2015 | ||
1492 | 1276 | }, | ||
1493 | 1277 | "humidity":77, | ||
1494 | 1278 | "icon":"rain", | ||
1495 | 1279 | "imperial":{ | ||
1496 | 1280 | "rain":0.0024606299212598425, | ||
1497 | 1281 | "snow":0, | ||
1498 | 1282 | "temp":63.212, | ||
1499 | 1283 | "windSpeed":4.972800000000001 | ||
1500 | 1284 | }, | ||
1501 | 1285 | "metric":{ | ||
1502 | 1286 | "rain":0.0625, | ||
1503 | 1287 | "snow":0, | ||
1504 | 1288 | "temp":17.34, | ||
1505 | 1289 | "windSpeed":7.992000000000001 | ||
1506 | 1290 | }, | ||
1507 | 1291 | "pressure":1018.4, | ||
1508 | 1292 | "timestamp":1437642000, | ||
1509 | 1293 | "windDeg":199.002, | ||
1510 | 1294 | "windDir":"S" | ||
1511 | 1295 | }, | ||
1512 | 1296 | { | ||
1513 | 1297 | "condition":"Clouds", | ||
1514 | 1298 | "date":{ | ||
1515 | 1299 | "date":23, | ||
1516 | 1300 | "hours":12, | ||
1517 | 1301 | "minutes":0, | ||
1518 | 1302 | "month":6, | ||
1519 | 1303 | "year":2015 | ||
1520 | 1304 | }, | ||
1521 | 1305 | "humidity":64, | ||
1522 | 1306 | "icon":"cloud_sun", | ||
1523 | 1307 | "imperial":{ | ||
1524 | 1308 | "rain":0, | ||
1525 | 1309 | "snow":0, | ||
1526 | 1310 | "temp":68.27, | ||
1527 | 1311 | "windSpeed":6.7424 | ||
1528 | 1312 | }, | ||
1529 | 1313 | "metric":{ | ||
1530 | 1314 | "rain":0, | ||
1531 | 1315 | "snow":0, | ||
1532 | 1316 | "temp":20.15, | ||
1533 | 1317 | "windSpeed":10.836 | ||
1534 | 1318 | }, | ||
1535 | 1319 | "pressure":1017.1, | ||
1536 | 1320 | "timestamp":1437652800, | ||
1537 | 1321 | "windDeg":224.501, | ||
1538 | 1322 | "windDir":"SW" | ||
1539 | 1323 | }, | ||
1540 | 1324 | { | ||
1541 | 1325 | "condition":"Rain", | ||
1542 | 1326 | "date":{ | ||
1543 | 1327 | "date":23, | ||
1544 | 1328 | "hours":15, | ||
1545 | 1329 | "minutes":0, | ||
1546 | 1330 | "month":6, | ||
1547 | 1331 | "year":2015 | ||
1548 | 1332 | }, | ||
1549 | 1333 | "humidity":62, | ||
1550 | 1334 | "icon":"rain", | ||
1551 | 1335 | "imperial":{ | ||
1552 | 1336 | "rain":0.0004921259842519686, | ||
1553 | 1337 | "snow":0, | ||
1554 | 1338 | "temp":67.55000000000001, | ||
1555 | 1339 | "windSpeed":8.4224 | ||
1556 | 1340 | }, | ||
1557 | 1341 | "metric":{ | ||
1558 | 1342 | "rain":0.0125, | ||
1559 | 1343 | "snow":0, | ||
1560 | 1344 | "temp":19.75, | ||
1561 | 1345 | "windSpeed":13.536 | ||
1562 | 1346 | }, | ||
1563 | 1347 | "pressure":1016.06, | ||
1564 | 1348 | "timestamp":1437663600, | ||
1565 | 1349 | "windDeg":231.501, | ||
1566 | 1350 | "windDir":"SW" | ||
1567 | 1351 | } | ||
1568 | 1352 | ], | ||
1569 | 1353 | "humidity":0, | ||
1570 | 1354 | "icon":"sun", | ||
1571 | 1355 | "imperial":{ | ||
1572 | 1356 | "rain":0, | ||
1573 | 1357 | "snow":0, | ||
1574 | 1358 | "tempMax":73.328, | ||
1575 | 1359 | "tempMin":58.064, | ||
1576 | 1360 | "windSpeed":8.601600000000001 | ||
1577 | 1361 | }, | ||
1578 | 1362 | "metric":{ | ||
1579 | 1363 | "rain":0, | ||
1580 | 1364 | "snow":0, | ||
1581 | 1365 | "tempMax":22.96, | ||
1582 | 1366 | "tempMin":14.48, | ||
1583 | 1367 | "windSpeed":13.824 | ||
1584 | 1368 | }, | ||
1585 | 1369 | "pressure":1023.52, | ||
1586 | 1370 | "timestamp":1437652800, | ||
1587 | 1371 | "windDeg":239, | ||
1588 | 1372 | "windDir":"SW" | ||
1589 | 1373 | }, | ||
1590 | 1374 | { | ||
1591 | 1375 | "condition":"Rain", | ||
1592 | 1376 | "date":{ | ||
1593 | 1377 | "date":24, | ||
1594 | 1378 | "hours":11, | ||
1595 | 1379 | "minutes":59, | ||
1596 | 1380 | "month":6, | ||
1597 | 1381 | "year":2015 | ||
1598 | 1382 | }, | ||
1599 | 1383 | "hourly":[ | ||
1600 | 1384 | |||
1601 | 1385 | ], | ||
1602 | 1386 | "humidity":0, | ||
1603 | 1387 | "icon":"rain", | ||
1604 | 1388 | "imperial":{ | ||
1605 | 1389 | "rain":0.01968503937007874, | ||
1606 | 1390 | "snow":0, | ||
1607 | 1391 | "tempMax":79.07, | ||
1608 | 1392 | "tempMin":63.068000000000005, | ||
1609 | 1393 | "windSpeed":12.1632 | ||
1610 | 1394 | }, | ||
1611 | 1395 | "metric":{ | ||
1612 | 1396 | "rain":0.5, | ||
1613 | 1397 | "snow":0, | ||
1614 | 1398 | "tempMax":26.15, | ||
1615 | 1399 | "tempMin":17.26, | ||
1616 | 1400 | "windSpeed":19.548 | ||
1617 | 1401 | }, | ||
1618 | 1402 | "pressure":1017.03, | ||
1619 | 1403 | "timestamp":1437739200, | ||
1620 | 1404 | "windDeg":87, | ||
1621 | 1405 | "windDir":"E" | ||
1622 | 1406 | }, | ||
1623 | 1407 | { | ||
1624 | 1408 | "condition":"Rain", | ||
1625 | 1409 | "date":{ | ||
1626 | 1410 | "date":25, | ||
1627 | 1411 | "hours":11, | ||
1628 | 1412 | "minutes":59, | ||
1629 | 1413 | "month":6, | ||
1630 | 1414 | "year":2015 | ||
1631 | 1415 | }, | ||
1632 | 1416 | "hourly":[ | ||
1633 | 1417 | |||
1634 | 1418 | ], | ||
1635 | 1419 | "humidity":0, | ||
1636 | 1420 | "icon":"rain", | ||
1637 | 1421 | "imperial":{ | ||
1638 | 1422 | "rain":0.010629921259842521, | ||
1639 | 1423 | "snow":0, | ||
1640 | 1424 | "tempMax":74.084, | ||
1641 | 1425 | "tempMin":60.025999999999996, | ||
1642 | 1426 | "windSpeed":13.820800000000002 | ||
1643 | 1427 | }, | ||
1644 | 1428 | "metric":{ | ||
1645 | 1429 | "rain":0.27, | ||
1646 | 1430 | "snow":0, | ||
1647 | 1431 | "tempMax":23.38, | ||
1648 | 1432 | "tempMin":15.57, | ||
1649 | 1433 | "windSpeed":22.212 | ||
1650 | 1434 | }, | ||
1651 | 1435 | "pressure":1015.03, | ||
1652 | 1436 | "timestamp":1437825600, | ||
1653 | 1437 | "windDeg":228, | ||
1654 | 1438 | "windDir":"SW" | ||
1655 | 1439 | }, | ||
1656 | 1440 | { | ||
1657 | 1441 | "condition":"Clear", | ||
1658 | 1442 | "date":{ | ||
1659 | 1443 | "date":26, | ||
1660 | 1444 | "hours":11, | ||
1661 | 1445 | "minutes":59, | ||
1662 | 1446 | "month":6, | ||
1663 | 1447 | "year":2015 | ||
1664 | 1448 | }, | ||
1665 | 1449 | "hourly":[ | ||
1666 | 1450 | |||
1667 | 1451 | ], | ||
1668 | 1452 | "humidity":0, | ||
1669 | 1453 | "icon":"sun", | ||
1670 | 1454 | "imperial":{ | ||
1671 | 1455 | "rain":0, | ||
1672 | 1456 | "snow":0, | ||
1673 | 1457 | "tempMax":70.16, | ||
1674 | 1458 | "tempMin":58.028000000000006, | ||
1675 | 1459 | "windSpeed":17.3824 | ||
1676 | 1460 | }, | ||
1677 | 1461 | "metric":{ | ||
1678 | 1462 | "rain":0, | ||
1679 | 1463 | "snow":0, | ||
1680 | 1464 | "tempMax":21.2, | ||
1681 | 1465 | "tempMin":14.46, | ||
1682 | 1466 | "windSpeed":27.936 | ||
1683 | 1467 | }, | ||
1684 | 1468 | "pressure":1016.83, | ||
1685 | 1469 | "timestamp":1437912000, | ||
1686 | 1470 | "windDeg":226, | ||
1687 | 1471 | "windDir":"SW" | ||
1688 | 1472 | }, | ||
1689 | 1473 | { | ||
1690 | 1474 | "condition":"Rain", | ||
1691 | 1475 | "date":{ | ||
1692 | 1476 | "date":27, | ||
1693 | 1477 | "hours":11, | ||
1694 | 1478 | "minutes":59, | ||
1695 | 1479 | "month":6, | ||
1696 | 1480 | "year":2015 | ||
1697 | 1481 | }, | ||
1698 | 1482 | "hourly":[ | ||
1699 | 1483 | |||
1700 | 1484 | ], | ||
1701 | 1485 | "humidity":0, | ||
1702 | 1486 | "icon":"rain", | ||
1703 | 1487 | "imperial":{ | ||
1704 | 1488 | "rain":0.031102362204724412, | ||
1705 | 1489 | "snow":0, | ||
1706 | 1490 | "tempMax":69.53, | ||
1707 | 1491 | "tempMin":56.426, | ||
1708 | 1492 | "windSpeed":12.4544 | ||
1709 | 1493 | }, | ||
1710 | 1494 | "metric":{ | ||
1711 | 1495 | "rain":0.79, | ||
1712 | 1496 | "snow":0, | ||
1713 | 1497 | "tempMax":20.85, | ||
1714 | 1498 | "tempMin":13.57, | ||
1715 | 1499 | "windSpeed":20.016 | ||
1716 | 1500 | }, | ||
1717 | 1501 | "pressure":1017.26, | ||
1718 | 1502 | "timestamp":1437998400, | ||
1719 | 1503 | "windDeg":245, | ||
1720 | 1504 | "windDir":"W" | ||
1721 | 1505 | } | ||
1722 | 1506 | ], | ||
1723 | 1507 | "save":true, | ||
1724 | 1508 | "updated":1437239273904 | ||
1725 | 1509 | } | ||
1726 | 0 | 1510 | ||
1727 | === added file 'tests/autopilot/ubuntu_weather_app/files/2.json' | |||
1728 | --- tests/autopilot/ubuntu_weather_app/files/2.json 1970-01-01 00:00:00 +0000 | |||
1729 | +++ tests/autopilot/ubuntu_weather_app/files/2.json 2015-07-25 13:52:29 +0000 | |||
1730 | @@ -0,0 +1,1509 @@ | |||
1731 | 1 | { | ||
1732 | 2 | "db":{ | ||
1733 | 3 | "id":3, | ||
1734 | 4 | "updated":"2015-07-18T17:06:03.228Z" | ||
1735 | 5 | }, | ||
1736 | 6 | "format":20150404, | ||
1737 | 7 | "location":{ | ||
1738 | 8 | "objectName":"", | ||
1739 | 9 | "adminName1":"Washington, D.C.", | ||
1740 | 10 | "adminName2":"US.DC.001", | ||
1741 | 11 | "adminName3":"", | ||
1742 | 12 | "areaLabel":"Washington, D.C., United States", | ||
1743 | 13 | "coord":{ | ||
1744 | 14 | "lat":"38.89511", | ||
1745 | 15 | "lon":"-77.03637" | ||
1746 | 16 | }, | ||
1747 | 17 | "country":"US", | ||
1748 | 18 | "countryName":"United States", | ||
1749 | 19 | "name":"Washington", | ||
1750 | 20 | "population":601723, | ||
1751 | 21 | "services":{ | ||
1752 | 22 | "geonames":4140963, | ||
1753 | 23 | "openweathermap":4140963 | ||
1754 | 24 | }, | ||
1755 | 25 | "timezone":{ | ||
1756 | 26 | "dstOffset":-4, | ||
1757 | 27 | "gmtOffset":-5, | ||
1758 | 28 | "timeZoneId":"America/New_York" | ||
1759 | 29 | } | ||
1760 | 30 | }, | ||
1761 | 31 | "data":[ | ||
1762 | 32 | { | ||
1763 | 33 | "condition":"Rain", | ||
1764 | 34 | "date":{ | ||
1765 | 35 | "date":18, | ||
1766 | 36 | "hours":11, | ||
1767 | 37 | "minutes":59, | ||
1768 | 38 | "month":6, | ||
1769 | 39 | "year":2015 | ||
1770 | 40 | }, | ||
1771 | 41 | "hourly":[ | ||
1772 | 42 | { | ||
1773 | 43 | "condition":"Clear", | ||
1774 | 44 | "date":{ | ||
1775 | 45 | "date":18, | ||
1776 | 46 | "hours":13, | ||
1777 | 47 | "minutes":0, | ||
1778 | 48 | "month":6, | ||
1779 | 49 | "year":2015 | ||
1780 | 50 | }, | ||
1781 | 51 | "humidity":72, | ||
1782 | 52 | "icon":"cloud_sun", | ||
1783 | 53 | "imperial":{ | ||
1784 | 54 | "rain":0, | ||
1785 | 55 | "snow":0, | ||
1786 | 56 | "temp":85.136, | ||
1787 | 57 | "windSpeed":4.9504 | ||
1788 | 58 | }, | ||
1789 | 59 | "metric":{ | ||
1790 | 60 | "rain":0, | ||
1791 | 61 | "snow":0, | ||
1792 | 62 | "temp":29.52, | ||
1793 | 63 | "windSpeed":7.956 | ||
1794 | 64 | }, | ||
1795 | 65 | "pressure":1020.23, | ||
1796 | 66 | "timestamp":1437242400, | ||
1797 | 67 | "windDeg":202.008, | ||
1798 | 68 | "windDir":"S" | ||
1799 | 69 | }, | ||
1800 | 70 | { | ||
1801 | 71 | "condition":"Clouds", | ||
1802 | 72 | "date":{ | ||
1803 | 73 | "date":18, | ||
1804 | 74 | "hours":16, | ||
1805 | 75 | "minutes":0, | ||
1806 | 76 | "month":6, | ||
1807 | 77 | "year":2015 | ||
1808 | 78 | }, | ||
1809 | 79 | "humidity":64, | ||
1810 | 80 | "icon":"cloud_sun", | ||
1811 | 81 | "imperial":{ | ||
1812 | 82 | "rain":0, | ||
1813 | 83 | "snow":0, | ||
1814 | 84 | "temp":86.21600000000001, | ||
1815 | 85 | "windSpeed":6.7424 | ||
1816 | 86 | }, | ||
1817 | 87 | "metric":{ | ||
1818 | 88 | "rain":0, | ||
1819 | 89 | "snow":0, | ||
1820 | 90 | "temp":30.12, | ||
1821 | 91 | "windSpeed":10.836 | ||
1822 | 92 | }, | ||
1823 | 93 | "pressure":1018.84, | ||
1824 | 94 | "timestamp":1437253200, | ||
1825 | 95 | "windDeg":213.504, | ||
1826 | 96 | "windDir":"SW" | ||
1827 | 97 | }, | ||
1828 | 98 | { | ||
1829 | 99 | "condition":"Rain", | ||
1830 | 100 | "date":{ | ||
1831 | 101 | "date":18, | ||
1832 | 102 | "hours":19, | ||
1833 | 103 | "minutes":0, | ||
1834 | 104 | "month":6, | ||
1835 | 105 | "year":2015 | ||
1836 | 106 | }, | ||
1837 | 107 | "humidity":78, | ||
1838 | 108 | "icon":"rain", | ||
1839 | 109 | "imperial":{ | ||
1840 | 110 | "rain":0.17874015748031497, | ||
1841 | 111 | "snow":0, | ||
1842 | 112 | "temp":79.7, | ||
1843 | 113 | "windSpeed":4.1888000000000005 | ||
1844 | 114 | }, | ||
1845 | 115 | "metric":{ | ||
1846 | 116 | "rain":4.54, | ||
1847 | 117 | "snow":0, | ||
1848 | 118 | "temp":26.5, | ||
1849 | 119 | "windSpeed":6.732 | ||
1850 | 120 | }, | ||
1851 | 121 | "pressure":1019.47, | ||
1852 | 122 | "timestamp":1437264000, | ||
1853 | 123 | "windDeg":291.506, | ||
1854 | 124 | "windDir":"W" | ||
1855 | 125 | }, | ||
1856 | 126 | { | ||
1857 | 127 | "condition":"Rain", | ||
1858 | 128 | "date":{ | ||
1859 | 129 | "date":18, | ||
1860 | 130 | "hours":22, | ||
1861 | 131 | "minutes":0, | ||
1862 | 132 | "month":6, | ||
1863 | 133 | "year":2015 | ||
1864 | 134 | }, | ||
1865 | 135 | "humidity":88, | ||
1866 | 136 | "icon":"rain", | ||
1867 | 137 | "imperial":{ | ||
1868 | 138 | "rain":0.017913385826771655, | ||
1869 | 139 | "snow":0, | ||
1870 | 140 | "temp":75.938, | ||
1871 | 141 | "windSpeed":2.9344000000000006 | ||
1872 | 142 | }, | ||
1873 | 143 | "metric":{ | ||
1874 | 144 | "rain":0.455, | ||
1875 | 145 | "snow":0, | ||
1876 | 146 | "temp":24.41, | ||
1877 | 147 | "windSpeed":4.716 | ||
1878 | 148 | }, | ||
1879 | 149 | "pressure":1019.87, | ||
1880 | 150 | "timestamp":1437274800, | ||
1881 | 151 | "windDeg":270.502, | ||
1882 | 152 | "windDir":"W" | ||
1883 | 153 | } | ||
1884 | 154 | ], | ||
1885 | 155 | "humidity":72, | ||
1886 | 156 | "icon":"rain", | ||
1887 | 157 | "imperial":{ | ||
1888 | 158 | "rain":0.1968503937007874, | ||
1889 | 159 | "snow":0, | ||
1890 | 160 | "tempMax":86.19800000000001, | ||
1891 | 161 | "tempMin":74.35400000000001, | ||
1892 | 162 | "windSpeed":4.9504 | ||
1893 | 163 | }, | ||
1894 | 164 | "metric":{ | ||
1895 | 165 | "rain":5, | ||
1896 | 166 | "snow":0, | ||
1897 | 167 | "tempMax":30.11, | ||
1898 | 168 | "tempMin":23.53, | ||
1899 | 169 | "windSpeed":7.956 | ||
1900 | 170 | }, | ||
1901 | 171 | "pressure":1020.23, | ||
1902 | 172 | "timestamp":1437238800, | ||
1903 | 173 | "windDeg":202, | ||
1904 | 174 | "windDir":"S", | ||
1905 | 175 | "current":{ | ||
1906 | 176 | "condition":"Rain", | ||
1907 | 177 | "date":{ | ||
1908 | 178 | "date":18, | ||
1909 | 179 | "hours":11, | ||
1910 | 180 | "minutes":59, | ||
1911 | 181 | "month":6, | ||
1912 | 182 | "year":2015 | ||
1913 | 183 | }, | ||
1914 | 184 | "humidity":88, | ||
1915 | 185 | "icon":"rain", | ||
1916 | 186 | "imperial":{ | ||
1917 | 187 | "rain":0, | ||
1918 | 188 | "snow":0, | ||
1919 | 189 | "temp":78.314, | ||
1920 | 190 | "windSpeed":5.824000000000001 | ||
1921 | 191 | }, | ||
1922 | 192 | "metric":{ | ||
1923 | 193 | "rain":0, | ||
1924 | 194 | "snow":0, | ||
1925 | 195 | "temp":25.73, | ||
1926 | 196 | "windSpeed":9.360000000000001 | ||
1927 | 197 | }, | ||
1928 | 198 | "pressure":1016, | ||
1929 | 199 | "timestamp":1437236981, | ||
1930 | 200 | "windDeg":270, | ||
1931 | 201 | "windDir":"W", | ||
1932 | 202 | "service":"openweathermap", | ||
1933 | 203 | "service_id":4140963 | ||
1934 | 204 | } | ||
1935 | 205 | }, | ||
1936 | 206 | { | ||
1937 | 207 | "condition":"Clear", | ||
1938 | 208 | "date":{ | ||
1939 | 209 | "date":19, | ||
1940 | 210 | "hours":11, | ||
1941 | 211 | "minutes":59, | ||
1942 | 212 | "month":6, | ||
1943 | 213 | "year":2015 | ||
1944 | 214 | }, | ||
1945 | 215 | "hourly":[ | ||
1946 | 216 | { | ||
1947 | 217 | "condition":"Clear", | ||
1948 | 218 | "date":{ | ||
1949 | 219 | "date":19, | ||
1950 | 220 | "hours":1, | ||
1951 | 221 | "minutes":0, | ||
1952 | 222 | "month":6, | ||
1953 | 223 | "year":2015 | ||
1954 | 224 | }, | ||
1955 | 225 | "humidity":95, | ||
1956 | 226 | "icon":"moon", | ||
1957 | 227 | "imperial":{ | ||
1958 | 228 | "rain":0, | ||
1959 | 229 | "snow":0, | ||
1960 | 230 | "temp":74.35400000000001, | ||
1961 | 231 | "windSpeed":2.7104000000000004 | ||
1962 | 232 | }, | ||
1963 | 233 | "metric":{ | ||
1964 | 234 | "rain":0, | ||
1965 | 235 | "snow":0, | ||
1966 | 236 | "temp":23.53, | ||
1967 | 237 | "windSpeed":4.356 | ||
1968 | 238 | }, | ||
1969 | 239 | "pressure":1019.41, | ||
1970 | 240 | "timestamp":1437285600, | ||
1971 | 241 | "windDeg":254.502, | ||
1972 | 242 | "windDir":"W" | ||
1973 | 243 | }, | ||
1974 | 244 | { | ||
1975 | 245 | "condition":"Clear", | ||
1976 | 246 | "date":{ | ||
1977 | 247 | "date":19, | ||
1978 | 248 | "hours":4, | ||
1979 | 249 | "minutes":0, | ||
1980 | 250 | "month":6, | ||
1981 | 251 | "year":2015 | ||
1982 | 252 | }, | ||
1983 | 253 | "humidity":92, | ||
1984 | 254 | "icon":"moon", | ||
1985 | 255 | "imperial":{ | ||
1986 | 256 | "rain":0, | ||
1987 | 257 | "snow":0, | ||
1988 | 258 | "temp":73.094, | ||
1989 | 259 | "windSpeed":2.9344000000000006 | ||
1990 | 260 | }, | ||
1991 | 261 | "metric":{ | ||
1992 | 262 | "rain":0, | ||
1993 | 263 | "snow":0, | ||
1994 | 264 | "temp":22.83, | ||
1995 | 265 | "windSpeed":4.716 | ||
1996 | 266 | }, | ||
1997 | 267 | "pressure":1019.25, | ||
1998 | 268 | "timestamp":1437296400, | ||
1999 | 269 | "windDeg":286.5, | ||
2000 | 270 | "windDir":"W" | ||
2001 | 271 | }, | ||
2002 | 272 | { | ||
2003 | 273 | "condition":"Clear", | ||
2004 | 274 | "date":{ | ||
2005 | 275 | "date":19, | ||
2006 | 276 | "hours":7, | ||
2007 | 277 | "minutes":0, | ||
2008 | 278 | "month":6, | ||
2009 | 279 | "year":2015 | ||
2010 | 280 | }, | ||
2011 | 281 | "humidity":84, | ||
2012 | 282 | "icon":"sun", | ||
2013 | 283 | "imperial":{ | ||
2014 | 284 | "rain":0, | ||
2015 | 285 | "snow":0, | ||
2016 | 286 | "temp":80.564, | ||
2017 | 287 | "windSpeed":5.219200000000001 | ||
2018 | 288 | }, | ||
2019 | 289 | "metric":{ | ||
2020 | 290 | "rain":0, | ||
2021 | 291 | "snow":0, | ||
2022 | 292 | "temp":26.98, | ||
2023 | 293 | "windSpeed":8.388 | ||
2024 | 294 | }, | ||
2025 | 295 | "pressure":1019.67, | ||
2026 | 296 | "timestamp":1437307200, | ||
2027 | 297 | "windDeg":311.005, | ||
2028 | 298 | "windDir":"NW" | ||
2029 | 299 | }, | ||
2030 | 300 | { | ||
2031 | 301 | "condition":"Clear", | ||
2032 | 302 | "date":{ | ||
2033 | 303 | "date":19, | ||
2034 | 304 | "hours":10, | ||
2035 | 305 | "minutes":0, | ||
2036 | 306 | "month":6, | ||
2037 | 307 | "year":2015 | ||
2038 | 308 | }, | ||
2039 | 309 | "humidity":82, | ||
2040 | 310 | "icon":"sun", | ||
2041 | 311 | "imperial":{ | ||
2042 | 312 | "rain":0, | ||
2043 | 313 | "snow":0, | ||
2044 | 314 | "temp":87.25999999999999, | ||
2045 | 315 | "windSpeed":3.9424000000000006 | ||
2046 | 316 | }, | ||
2047 | 317 | "metric":{ | ||
2048 | 318 | "rain":0, | ||
2049 | 319 | "snow":0, | ||
2050 | 320 | "temp":30.7, | ||
2051 | 321 | "windSpeed":6.336 | ||
2052 | 322 | }, | ||
2053 | 323 | "pressure":1019.85, | ||
2054 | 324 | "timestamp":1437318000, | ||
2055 | 325 | "windDeg":332.001, | ||
2056 | 326 | "windDir":"N" | ||
2057 | 327 | }, | ||
2058 | 328 | { | ||
2059 | 329 | "condition":"Clear", | ||
2060 | 330 | "date":{ | ||
2061 | 331 | "date":19, | ||
2062 | 332 | "hours":13, | ||
2063 | 333 | "minutes":0, | ||
2064 | 334 | "month":6, | ||
2065 | 335 | "year":2015 | ||
2066 | 336 | }, | ||
2067 | 337 | "humidity":74, | ||
2068 | 338 | "icon":"sun", | ||
2069 | 339 | "imperial":{ | ||
2070 | 340 | "rain":0, | ||
2071 | 341 | "snow":0, | ||
2072 | 342 | "temp":90.536, | ||
2073 | 343 | "windSpeed":3.7408 | ||
2074 | 344 | }, | ||
2075 | 345 | "metric":{ | ||
2076 | 346 | "rain":0, | ||
2077 | 347 | "snow":0, | ||
2078 | 348 | "temp":32.52, | ||
2079 | 349 | "windSpeed":6.012 | ||
2080 | 350 | }, | ||
2081 | 351 | "pressure":1018.93, | ||
2082 | 352 | "timestamp":1437328800, | ||
2083 | 353 | "windDeg":307.502, | ||
2084 | 354 | "windDir":"NW" | ||
2085 | 355 | }, | ||
2086 | 356 | { | ||
2087 | 357 | "condition":"Clear", | ||
2088 | 358 | "date":{ | ||
2089 | 359 | "date":19, | ||
2090 | 360 | "hours":16, | ||
2091 | 361 | "minutes":0, | ||
2092 | 362 | "month":6, | ||
2093 | 363 | "year":2015 | ||
2094 | 364 | }, | ||
2095 | 365 | "humidity":67, | ||
2096 | 366 | "icon":"sun", | ||
2097 | 367 | "imperial":{ | ||
2098 | 368 | "rain":0, | ||
2099 | 369 | "snow":0, | ||
2100 | 370 | "temp":91.904, | ||
2101 | 371 | "windSpeed":3.7632000000000003 | ||
2102 | 372 | }, | ||
2103 | 373 | "metric":{ | ||
2104 | 374 | "rain":0, | ||
2105 | 375 | "snow":0, | ||
2106 | 376 | "temp":33.28, | ||
2107 | 377 | "windSpeed":6.048 | ||
2108 | 378 | }, | ||
2109 | 379 | "pressure":1016.96, | ||
2110 | 380 | "timestamp":1437339600, | ||
2111 | 381 | "windDeg":268.003, | ||
2112 | 382 | "windDir":"W" | ||
2113 | 383 | }, | ||
2114 | 384 | { | ||
2115 | 385 | "condition":"Clear", | ||
2116 | 386 | "date":{ | ||
2117 | 387 | "date":19, | ||
2118 | 388 | "hours":19, | ||
2119 | 389 | "minutes":0, | ||
2120 | 390 | "month":6, | ||
2121 | 391 | "year":2015 | ||
2122 | 392 | }, | ||
2123 | 393 | "humidity":68, | ||
2124 | 394 | "icon":"cloud_moon", | ||
2125 | 395 | "imperial":{ | ||
2126 | 396 | "rain":0, | ||
2127 | 397 | "snow":0, | ||
2128 | 398 | "temp":88.78999999999999, | ||
2129 | 399 | "windSpeed":4.144000000000001 | ||
2130 | 400 | }, | ||
2131 | 401 | "metric":{ | ||
2132 | 402 | "rain":0, | ||
2133 | 403 | "snow":0, | ||
2134 | 404 | "temp":31.55, | ||
2135 | 405 | "windSpeed":6.66 | ||
2136 | 406 | }, | ||
2137 | 407 | "pressure":1016.48, | ||
2138 | 408 | "timestamp":1437350400, | ||
2139 | 409 | "windDeg":242.008, | ||
2140 | 410 | "windDir":"W" | ||
2141 | 411 | }, | ||
2142 | 412 | { | ||
2143 | 413 | "condition":"Clouds", | ||
2144 | 414 | "date":{ | ||
2145 | 415 | "date":19, | ||
2146 | 416 | "hours":22, | ||
2147 | 417 | "minutes":0, | ||
2148 | 418 | "month":6, | ||
2149 | 419 | "year":2015 | ||
2150 | 420 | }, | ||
2151 | 421 | "humidity":72, | ||
2152 | 422 | "icon":"cloud_moon", | ||
2153 | 423 | "imperial":{ | ||
2154 | 424 | "rain":0, | ||
2155 | 425 | "snow":0, | ||
2156 | 426 | "temp":83.48, | ||
2157 | 427 | "windSpeed":6.2944 | ||
2158 | 428 | }, | ||
2159 | 429 | "metric":{ | ||
2160 | 430 | "rain":0, | ||
2161 | 431 | "snow":0, | ||
2162 | 432 | "temp":28.6, | ||
2163 | 433 | "windSpeed":10.116 | ||
2164 | 434 | }, | ||
2165 | 435 | "pressure":1016.51, | ||
2166 | 436 | "timestamp":1437361200, | ||
2167 | 437 | "windDeg":218.504, | ||
2168 | 438 | "windDir":"SW" | ||
2169 | 439 | } | ||
2170 | 440 | ], | ||
2171 | 441 | "humidity":74, | ||
2172 | 442 | "icon":"sun", | ||
2173 | 443 | "imperial":{ | ||
2174 | 444 | "rain":0, | ||
2175 | 445 | "snow":0, | ||
2176 | 446 | "tempMax":91.904, | ||
2177 | 447 | "tempMin":80.564, | ||
2178 | 448 | "windSpeed":3.7408 | ||
2179 | 449 | }, | ||
2180 | 450 | "metric":{ | ||
2181 | 451 | "rain":0, | ||
2182 | 452 | "snow":0, | ||
2183 | 453 | "tempMax":33.28, | ||
2184 | 454 | "tempMin":26.98, | ||
2185 | 455 | "windSpeed":6.012 | ||
2186 | 456 | }, | ||
2187 | 457 | "pressure":1018.93, | ||
2188 | 458 | "timestamp":1437325200, | ||
2189 | 459 | "windDeg":308, | ||
2190 | 460 | "windDir":"NW" | ||
2191 | 461 | }, | ||
2192 | 462 | { | ||
2193 | 463 | "condition":"Rain", | ||
2194 | 464 | "date":{ | ||
2195 | 465 | "date":20, | ||
2196 | 466 | "hours":11, | ||
2197 | 467 | "minutes":59, | ||
2198 | 468 | "month":6, | ||
2199 | 469 | "year":2015 | ||
2200 | 470 | }, | ||
2201 | 471 | "hourly":[ | ||
2202 | 472 | { | ||
2203 | 473 | "condition":"Clouds", | ||
2204 | 474 | "date":{ | ||
2205 | 475 | "date":20, | ||
2206 | 476 | "hours":1, | ||
2207 | 477 | "minutes":0, | ||
2208 | 478 | "month":6, | ||
2209 | 479 | "year":2015 | ||
2210 | 480 | }, | ||
2211 | 481 | "humidity":77, | ||
2212 | 482 | "icon":"cloud_moon", | ||
2213 | 483 | "imperial":{ | ||
2214 | 484 | "rain":0, | ||
2215 | 485 | "snow":0, | ||
2216 | 486 | "temp":81.5, | ||
2217 | 487 | "windSpeed":5.7568 | ||
2218 | 488 | }, | ||
2219 | 489 | "metric":{ | ||
2220 | 490 | "rain":0, | ||
2221 | 491 | "snow":0, | ||
2222 | 492 | "temp":27.5, | ||
2223 | 493 | "windSpeed":9.251999999999999 | ||
2224 | 494 | }, | ||
2225 | 495 | "pressure":1015.89, | ||
2226 | 496 | "timestamp":1437372000, | ||
2227 | 497 | "windDeg":245.501, | ||
2228 | 498 | "windDir":"W" | ||
2229 | 499 | }, | ||
2230 | 500 | { | ||
2231 | 501 | "condition":"Clouds", | ||
2232 | 502 | "date":{ | ||
2233 | 503 | "date":20, | ||
2234 | 504 | "hours":4, | ||
2235 | 505 | "minutes":0, | ||
2236 | 506 | "month":6, | ||
2237 | 507 | "year":2015 | ||
2238 | 508 | }, | ||
2239 | 509 | "humidity":76, | ||
2240 | 510 | "icon":"cloud_moon", | ||
2241 | 511 | "imperial":{ | ||
2242 | 512 | "rain":0, | ||
2243 | 513 | "snow":0, | ||
2244 | 514 | "temp":80.06, | ||
2245 | 515 | "windSpeed":4.748800000000001 | ||
2246 | 516 | }, | ||
2247 | 517 | "metric":{ | ||
2248 | 518 | "rain":0, | ||
2249 | 519 | "snow":0, | ||
2250 | 520 | "temp":26.7, | ||
2251 | 521 | "windSpeed":7.632000000000001 | ||
2252 | 522 | }, | ||
2253 | 523 | "pressure":1014.8, | ||
2254 | 524 | "timestamp":1437382800, | ||
2255 | 525 | "windDeg":257, | ||
2256 | 526 | "windDir":"W" | ||
2257 | 527 | }, | ||
2258 | 528 | { | ||
2259 | 529 | "condition":"Rain", | ||
2260 | 530 | "date":{ | ||
2261 | 531 | "date":20, | ||
2262 | 532 | "hours":7, | ||
2263 | 533 | "minutes":0, | ||
2264 | 534 | "month":6, | ||
2265 | 535 | "year":2015 | ||
2266 | 536 | }, | ||
2267 | 537 | "humidity":100, | ||
2268 | 538 | "icon":"rain", | ||
2269 | 539 | "imperial":{ | ||
2270 | 540 | "rain":0.17775590551181103, | ||
2271 | 541 | "snow":0, | ||
2272 | 542 | "temp":72.356, | ||
2273 | 543 | "windSpeed":5.958400000000001 | ||
2274 | 544 | }, | ||
2275 | 545 | "metric":{ | ||
2276 | 546 | "rain":4.515, | ||
2277 | 547 | "snow":0, | ||
2278 | 548 | "temp":22.42, | ||
2279 | 549 | "windSpeed":9.576 | ||
2280 | 550 | }, | ||
2281 | 551 | "pressure":1016.79, | ||
2282 | 552 | "timestamp":1437393600, | ||
2283 | 553 | "windDeg":296.501, | ||
2284 | 554 | "windDir":"W" | ||
2285 | 555 | }, | ||
2286 | 556 | { | ||
2287 | 557 | "condition":"Clouds", | ||
2288 | 558 | "date":{ | ||
2289 | 559 | "date":20, | ||
2290 | 560 | "hours":10, | ||
2291 | 561 | "minutes":0, | ||
2292 | 562 | "month":6, | ||
2293 | 563 | "year":2015 | ||
2294 | 564 | }, | ||
2295 | 565 | "humidity":97, | ||
2296 | 566 | "icon":"cloud_sun", | ||
2297 | 567 | "imperial":{ | ||
2298 | 568 | "rain":0, | ||
2299 | 569 | "snow":0, | ||
2300 | 570 | "temp":79.268, | ||
2301 | 571 | "windSpeed":5.958400000000001 | ||
2302 | 572 | }, | ||
2303 | 573 | "metric":{ | ||
2304 | 574 | "rain":0, | ||
2305 | 575 | "snow":0, | ||
2306 | 576 | "temp":26.26, | ||
2307 | 577 | "windSpeed":9.576 | ||
2308 | 578 | }, | ||
2309 | 579 | "pressure":1016.6, | ||
2310 | 580 | "timestamp":1437404400, | ||
2311 | 581 | "windDeg":277.502, | ||
2312 | 582 | "windDir":"W" | ||
2313 | 583 | }, | ||
2314 | 584 | { | ||
2315 | 585 | "condition":"Clear", | ||
2316 | 586 | "date":{ | ||
2317 | 587 | "date":20, | ||
2318 | 588 | "hours":13, | ||
2319 | 589 | "minutes":0, | ||
2320 | 590 | "month":6, | ||
2321 | 591 | "year":2015 | ||
2322 | 592 | }, | ||
2323 | 593 | "humidity":79, | ||
2324 | 594 | "icon":"sun", | ||
2325 | 595 | "imperial":{ | ||
2326 | 596 | "rain":0, | ||
2327 | 597 | "snow":0, | ||
2328 | 598 | "temp":87.656, | ||
2329 | 599 | "windSpeed":6.7424 | ||
2330 | 600 | }, | ||
2331 | 601 | "metric":{ | ||
2332 | 602 | "rain":0, | ||
2333 | 603 | "snow":0, | ||
2334 | 604 | "temp":30.92, | ||
2335 | 605 | "windSpeed":10.836 | ||
2336 | 606 | }, | ||
2337 | 607 | "pressure":1014.93, | ||
2338 | 608 | "timestamp":1437415200, | ||
2339 | 609 | "windDeg":294.502, | ||
2340 | 610 | "windDir":"W" | ||
2341 | 611 | }, | ||
2342 | 612 | { | ||
2343 | 613 | "condition":"Clear", | ||
2344 | 614 | "date":{ | ||
2345 | 615 | "date":20, | ||
2346 | 616 | "hours":16, | ||
2347 | 617 | "minutes":0, | ||
2348 | 618 | "month":6, | ||
2349 | 619 | "year":2015 | ||
2350 | 620 | }, | ||
2351 | 621 | "humidity":67, | ||
2352 | 622 | "icon":"cloud_sun", | ||
2353 | 623 | "imperial":{ | ||
2354 | 624 | "rain":0, | ||
2355 | 625 | "snow":0, | ||
2356 | 626 | "temp":88.97, | ||
2357 | 627 | "windSpeed":8.668800000000001 | ||
2358 | 628 | }, | ||
2359 | 629 | "metric":{ | ||
2360 | 630 | "rain":0, | ||
2361 | 631 | "snow":0, | ||
2362 | 632 | "temp":31.65, | ||
2363 | 633 | "windSpeed":13.932 | ||
2364 | 634 | }, | ||
2365 | 635 | "pressure":1013.88, | ||
2366 | 636 | "timestamp":1437426000, | ||
2367 | 637 | "windDeg":298.006, | ||
2368 | 638 | "windDir":"W" | ||
2369 | 639 | }, | ||
2370 | 640 | { | ||
2371 | 641 | "condition":"Clear", | ||
2372 | 642 | "date":{ | ||
2373 | 643 | "date":20, | ||
2374 | 644 | "hours":19, | ||
2375 | 645 | "minutes":0, | ||
2376 | 646 | "month":6, | ||
2377 | 647 | "year":2015 | ||
2378 | 648 | }, | ||
2379 | 649 | "humidity":65, | ||
2380 | 650 | "icon":"moon", | ||
2381 | 651 | "imperial":{ | ||
2382 | 652 | "rain":0, | ||
2383 | 653 | "snow":0, | ||
2384 | 654 | "temp":83.98400000000001, | ||
2385 | 655 | "windSpeed":5.510400000000001 | ||
2386 | 656 | }, | ||
2387 | 657 | "metric":{ | ||
2388 | 658 | "rain":0, | ||
2389 | 659 | "snow":0, | ||
2390 | 660 | "temp":28.88, | ||
2391 | 661 | "windSpeed":8.856 | ||
2392 | 662 | }, | ||
2393 | 663 | "pressure":1014.36, | ||
2394 | 664 | "timestamp":1437436800, | ||
2395 | 665 | "windDeg":322.503, | ||
2396 | 666 | "windDir":"NW" | ||
2397 | 667 | }, | ||
2398 | 668 | { | ||
2399 | 669 | "condition":"Clouds", | ||
2400 | 670 | "date":{ | ||
2401 | 671 | "date":20, | ||
2402 | 672 | "hours":22, | ||
2403 | 673 | "minutes":0, | ||
2404 | 674 | "month":6, | ||
2405 | 675 | "year":2015 | ||
2406 | 676 | }, | ||
2407 | 677 | "humidity":66, | ||
2408 | 678 | "icon":"cloud_moon", | ||
2409 | 679 | "imperial":{ | ||
2410 | 680 | "rain":0, | ||
2411 | 681 | "snow":0, | ||
2412 | 682 | "temp":76.244, | ||
2413 | 683 | "windSpeed":6.384000000000001 | ||
2414 | 684 | }, | ||
2415 | 685 | "metric":{ | ||
2416 | 686 | "rain":0, | ||
2417 | 687 | "snow":0, | ||
2418 | 688 | "temp":24.58, | ||
2419 | 689 | "windSpeed":10.26 | ||
2420 | 690 | }, | ||
2421 | 691 | "pressure":1015.65, | ||
2422 | 692 | "timestamp":1437447600, | ||
2423 | 693 | "windDeg":341.502, | ||
2424 | 694 | "windDir":"N" | ||
2425 | 695 | } | ||
2426 | 696 | ], | ||
2427 | 697 | "humidity":79, | ||
2428 | 698 | "icon":"rain", | ||
2429 | 699 | "imperial":{ | ||
2430 | 700 | "rain":0.1779527559055118, | ||
2431 | 701 | "snow":0, | ||
2432 | 702 | "tempMax":88.97, | ||
2433 | 703 | "tempMin":72.24799999999999, | ||
2434 | 704 | "windSpeed":6.7424 | ||
2435 | 705 | }, | ||
2436 | 706 | "metric":{ | ||
2437 | 707 | "rain":4.52, | ||
2438 | 708 | "snow":0, | ||
2439 | 709 | "tempMax":31.65, | ||
2440 | 710 | "tempMin":22.36, | ||
2441 | 711 | "windSpeed":10.836 | ||
2442 | 712 | }, | ||
2443 | 713 | "pressure":1014.93, | ||
2444 | 714 | "timestamp":1437411600, | ||
2445 | 715 | "windDeg":295, | ||
2446 | 716 | "windDir":"W" | ||
2447 | 717 | }, | ||
2448 | 718 | { | ||
2449 | 719 | "condition":"Rain", | ||
2450 | 720 | "date":{ | ||
2451 | 721 | "date":21, | ||
2452 | 722 | "hours":11, | ||
2453 | 723 | "minutes":59, | ||
2454 | 724 | "month":6, | ||
2455 | 725 | "year":2015 | ||
2456 | 726 | }, | ||
2457 | 727 | "hourly":[ | ||
2458 | 728 | { | ||
2459 | 729 | "condition":"Clouds", | ||
2460 | 730 | "date":{ | ||
2461 | 731 | "date":21, | ||
2462 | 732 | "hours":1, | ||
2463 | 733 | "minutes":0, | ||
2464 | 734 | "month":6, | ||
2465 | 735 | "year":2015 | ||
2466 | 736 | }, | ||
2467 | 737 | "humidity":70, | ||
2468 | 738 | "icon":"cloud_moon", | ||
2469 | 739 | "imperial":{ | ||
2470 | 740 | "rain":0, | ||
2471 | 741 | "snow":0, | ||
2472 | 742 | "temp":72.24799999999999, | ||
2473 | 743 | "windSpeed":6.339200000000001 | ||
2474 | 744 | }, | ||
2475 | 745 | "metric":{ | ||
2476 | 746 | "rain":0, | ||
2477 | 747 | "snow":0, | ||
2478 | 748 | "temp":22.36, | ||
2479 | 749 | "windSpeed":10.188 | ||
2480 | 750 | }, | ||
2481 | 751 | "pressure":1015.63, | ||
2482 | 752 | "timestamp":1437458400, | ||
2483 | 753 | "windDeg":320.002, | ||
2484 | 754 | "windDir":"NW" | ||
2485 | 755 | }, | ||
2486 | 756 | { | ||
2487 | 757 | "condition":"Clouds", | ||
2488 | 758 | "date":{ | ||
2489 | 759 | "date":21, | ||
2490 | 760 | "hours":4, | ||
2491 | 761 | "minutes":0, | ||
2492 | 762 | "month":6, | ||
2493 | 763 | "year":2015 | ||
2494 | 764 | }, | ||
2495 | 765 | "humidity":80, | ||
2496 | 766 | "icon":"cloud", | ||
2497 | 767 | "imperial":{ | ||
2498 | 768 | "rain":0, | ||
2499 | 769 | "snow":0, | ||
2500 | 770 | "temp":69.94399999999999, | ||
2501 | 771 | "windSpeed":3.0240000000000005 | ||
2502 | 772 | }, | ||
2503 | 773 | "metric":{ | ||
2504 | 774 | "rain":0, | ||
2505 | 775 | "snow":0, | ||
2506 | 776 | "temp":21.08, | ||
2507 | 777 | "windSpeed":4.86 | ||
2508 | 778 | }, | ||
2509 | 779 | "pressure":1015.59, | ||
2510 | 780 | "timestamp":1437469200, | ||
2511 | 781 | "windDeg":300.501, | ||
2512 | 782 | "windDir":"NW" | ||
2513 | 783 | }, | ||
2514 | 784 | { | ||
2515 | 785 | "condition":"Clouds", | ||
2516 | 786 | "date":{ | ||
2517 | 787 | "date":21, | ||
2518 | 788 | "hours":7, | ||
2519 | 789 | "minutes":0, | ||
2520 | 790 | "month":6, | ||
2521 | 791 | "year":2015 | ||
2522 | 792 | }, | ||
2523 | 793 | "humidity":80, | ||
2524 | 794 | "icon":"cloud_sun", | ||
2525 | 795 | "imperial":{ | ||
2526 | 796 | "rain":0, | ||
2527 | 797 | "snow":0, | ||
2528 | 798 | "temp":76.04599999999999, | ||
2529 | 799 | "windSpeed":3.7408 | ||
2530 | 800 | }, | ||
2531 | 801 | "metric":{ | ||
2532 | 802 | "rain":0, | ||
2533 | 803 | "snow":0, | ||
2534 | 804 | "temp":24.47, | ||
2535 | 805 | "windSpeed":6.012 | ||
2536 | 806 | }, | ||
2537 | 807 | "pressure":1015.89, | ||
2538 | 808 | "timestamp":1437480000, | ||
2539 | 809 | "windDeg":299.008, | ||
2540 | 810 | "windDir":"W" | ||
2541 | 811 | }, | ||
2542 | 812 | { | ||
2543 | 813 | "condition":"Clouds", | ||
2544 | 814 | "date":{ | ||
2545 | 815 | "date":21, | ||
2546 | 816 | "hours":10, | ||
2547 | 817 | "minutes":0, | ||
2548 | 818 | "month":6, | ||
2549 | 819 | "year":2015 | ||
2550 | 820 | }, | ||
2551 | 821 | "humidity":76, | ||
2552 | 822 | "icon":"cloud_sun", | ||
2553 | 823 | "imperial":{ | ||
2554 | 824 | "rain":0, | ||
2555 | 825 | "snow":0, | ||
2556 | 826 | "temp":83.26400000000001, | ||
2557 | 827 | "windSpeed":3.9424000000000006 | ||
2558 | 828 | }, | ||
2559 | 829 | "metric":{ | ||
2560 | 830 | "rain":0, | ||
2561 | 831 | "snow":0, | ||
2562 | 832 | "temp":28.48, | ||
2563 | 833 | "windSpeed":6.336 | ||
2564 | 834 | }, | ||
2565 | 835 | "pressure":1015.73, | ||
2566 | 836 | "timestamp":1437490800, | ||
2567 | 837 | "windDeg":295.5, | ||
2568 | 838 | "windDir":"W" | ||
2569 | 839 | }, | ||
2570 | 840 | { | ||
2571 | 841 | "condition":"Clouds", | ||
2572 | 842 | "date":{ | ||
2573 | 843 | "date":21, | ||
2574 | 844 | "hours":13, | ||
2575 | 845 | "minutes":0, | ||
2576 | 846 | "month":6, | ||
2577 | 847 | "year":2015 | ||
2578 | 848 | }, | ||
2579 | 849 | "humidity":70, | ||
2580 | 850 | "icon":"cloud_sun", | ||
2581 | 851 | "imperial":{ | ||
2582 | 852 | "rain":0, | ||
2583 | 853 | "snow":0, | ||
2584 | 854 | "temp":86.036, | ||
2585 | 855 | "windSpeed":3.6288000000000005 | ||
2586 | 856 | }, | ||
2587 | 857 | "metric":{ | ||
2588 | 858 | "rain":0, | ||
2589 | 859 | "snow":0, | ||
2590 | 860 | "temp":30.02, | ||
2591 | 861 | "windSpeed":5.832000000000001 | ||
2592 | 862 | }, | ||
2593 | 863 | "pressure":1014.18, | ||
2594 | 864 | "timestamp":1437501600, | ||
2595 | 865 | "windDeg":264.503, | ||
2596 | 866 | "windDir":"W" | ||
2597 | 867 | }, | ||
2598 | 868 | { | ||
2599 | 869 | "condition":"Clouds", | ||
2600 | 870 | "date":{ | ||
2601 | 871 | "date":21, | ||
2602 | 872 | "hours":16, | ||
2603 | 873 | "minutes":0, | ||
2604 | 874 | "month":6, | ||
2605 | 875 | "year":2015 | ||
2606 | 876 | }, | ||
2607 | 877 | "humidity":62, | ||
2608 | 878 | "icon":"cloud", | ||
2609 | 879 | "imperial":{ | ||
2610 | 880 | "rain":0, | ||
2611 | 881 | "snow":0, | ||
2612 | 882 | "temp":86.30600000000001, | ||
2613 | 883 | "windSpeed":5.3984000000000005 | ||
2614 | 884 | }, | ||
2615 | 885 | "metric":{ | ||
2616 | 886 | "rain":0, | ||
2617 | 887 | "snow":0, | ||
2618 | 888 | "temp":30.17, | ||
2619 | 889 | "windSpeed":8.676 | ||
2620 | 890 | }, | ||
2621 | 891 | "pressure":1013.37, | ||
2622 | 892 | "timestamp":1437512400, | ||
2623 | 893 | "windDeg":243.501, | ||
2624 | 894 | "windDir":"W" | ||
2625 | 895 | }, | ||
2626 | 896 | { | ||
2627 | 897 | "condition":"Rain", | ||
2628 | 898 | "date":{ | ||
2629 | 899 | "date":21, | ||
2630 | 900 | "hours":19, | ||
2631 | 901 | "minutes":0, | ||
2632 | 902 | "month":6, | ||
2633 | 903 | "year":2015 | ||
2634 | 904 | }, | ||
2635 | 905 | "humidity":93, | ||
2636 | 906 | "icon":"rain", | ||
2637 | 907 | "imperial":{ | ||
2638 | 908 | "rain":0.06850393700787402, | ||
2639 | 909 | "snow":0, | ||
2640 | 910 | "temp":72.73400000000001, | ||
2641 | 911 | "windSpeed":6.1824 | ||
2642 | 912 | }, | ||
2643 | 913 | "metric":{ | ||
2644 | 914 | "rain":1.74, | ||
2645 | 915 | "snow":0, | ||
2646 | 916 | "temp":22.63, | ||
2647 | 917 | "windSpeed":9.936 | ||
2648 | 918 | }, | ||
2649 | 919 | "pressure":1014.16, | ||
2650 | 920 | "timestamp":1437523200, | ||
2651 | 921 | "windDeg":236.003, | ||
2652 | 922 | "windDir":"SW" | ||
2653 | 923 | }, | ||
2654 | 924 | { | ||
2655 | 925 | "condition":"Clear", | ||
2656 | 926 | "date":{ | ||
2657 | 927 | "date":21, | ||
2658 | 928 | "hours":22, | ||
2659 | 929 | "minutes":0, | ||
2660 | 930 | "month":6, | ||
2661 | 931 | "year":2015 | ||
2662 | 932 | }, | ||
2663 | 933 | "humidity":93, | ||
2664 | 934 | "icon":"cloud_moon", | ||
2665 | 935 | "imperial":{ | ||
2666 | 936 | "rain":0, | ||
2667 | 937 | "snow":0, | ||
2668 | 938 | "temp":70.646, | ||
2669 | 939 | "windSpeed":3.9424000000000006 | ||
2670 | 940 | }, | ||
2671 | 941 | "metric":{ | ||
2672 | 942 | "rain":0, | ||
2673 | 943 | "snow":0, | ||
2674 | 944 | "temp":21.47, | ||
2675 | 945 | "windSpeed":6.336 | ||
2676 | 946 | }, | ||
2677 | 947 | "pressure":1014.32, | ||
2678 | 948 | "timestamp":1437534000, | ||
2679 | 949 | "windDeg":249.502, | ||
2680 | 950 | "windDir":"W" | ||
2681 | 951 | } | ||
2682 | 952 | ], | ||
2683 | 953 | "humidity":0, | ||
2684 | 954 | "icon":"rain", | ||
2685 | 955 | "imperial":{ | ||
2686 | 956 | "rain":0, | ||
2687 | 957 | "snow":0, | ||
2688 | 958 | "tempMax":83.53399999999999, | ||
2689 | 959 | "tempMin":73.45400000000001, | ||
2690 | 960 | "windSpeed":6.496 | ||
2691 | 961 | }, | ||
2692 | 962 | "metric":{ | ||
2693 | 963 | "rain":0, | ||
2694 | 964 | "snow":0, | ||
2695 | 965 | "tempMax":28.63, | ||
2696 | 966 | "tempMin":23.03, | ||
2697 | 967 | "windSpeed":10.44 | ||
2698 | 968 | }, | ||
2699 | 969 | "pressure":1012.07, | ||
2700 | 970 | "timestamp":1437498000, | ||
2701 | 971 | "windDeg":317, | ||
2702 | 972 | "windDir":"NW" | ||
2703 | 973 | }, | ||
2704 | 974 | { | ||
2705 | 975 | "condition":"Rain", | ||
2706 | 976 | "date":{ | ||
2707 | 977 | "date":22, | ||
2708 | 978 | "hours":11, | ||
2709 | 979 | "minutes":59, | ||
2710 | 980 | "month":6, | ||
2711 | 981 | "year":2015 | ||
2712 | 982 | }, | ||
2713 | 983 | "hourly":[ | ||
2714 | 984 | { | ||
2715 | 985 | "condition":"Clear", | ||
2716 | 986 | "date":{ | ||
2717 | 987 | "date":22, | ||
2718 | 988 | "hours":1, | ||
2719 | 989 | "minutes":0, | ||
2720 | 990 | "month":6, | ||
2721 | 991 | "year":2015 | ||
2722 | 992 | }, | ||
2723 | 993 | "humidity":94, | ||
2724 | 994 | "icon":"moon", | ||
2725 | 995 | "imperial":{ | ||
2726 | 996 | "rain":0, | ||
2727 | 997 | "snow":0, | ||
2728 | 998 | "temp":69.044, | ||
2729 | 999 | "windSpeed":3.7184000000000004 | ||
2730 | 1000 | }, | ||
2731 | 1001 | "metric":{ | ||
2732 | 1002 | "rain":0, | ||
2733 | 1003 | "snow":0, | ||
2734 | 1004 | "temp":20.58, | ||
2735 | 1005 | "windSpeed":5.976 | ||
2736 | 1006 | }, | ||
2737 | 1007 | "pressure":1013.97, | ||
2738 | 1008 | "timestamp":1437544800, | ||
2739 | 1009 | "windDeg":253.008, | ||
2740 | 1010 | "windDir":"W" | ||
2741 | 1011 | }, | ||
2742 | 1012 | { | ||
2743 | 1013 | "condition":"Clear", | ||
2744 | 1014 | "date":{ | ||
2745 | 1015 | "date":22, | ||
2746 | 1016 | "hours":4, | ||
2747 | 1017 | "minutes":0, | ||
2748 | 1018 | "month":6, | ||
2749 | 1019 | "year":2015 | ||
2750 | 1020 | }, | ||
2751 | 1021 | "humidity":94, | ||
2752 | 1022 | "icon":"cloud_moon", | ||
2753 | 1023 | "imperial":{ | ||
2754 | 1024 | "rain":0, | ||
2755 | 1025 | "snow":0, | ||
2756 | 1026 | "temp":68.054, | ||
2757 | 1027 | "windSpeed":3.2032000000000003 | ||
2758 | 1028 | }, | ||
2759 | 1029 | "metric":{ | ||
2760 | 1030 | "rain":0, | ||
2761 | 1031 | "snow":0, | ||
2762 | 1032 | "temp":20.03, | ||
2763 | 1033 | "windSpeed":5.148 | ||
2764 | 1034 | }, | ||
2765 | 1035 | "pressure":1013.68, | ||
2766 | 1036 | "timestamp":1437555600, | ||
2767 | 1037 | "windDeg":237, | ||
2768 | 1038 | "windDir":"SW" | ||
2769 | 1039 | }, | ||
2770 | 1040 | { | ||
2771 | 1041 | "condition":"Clouds", | ||
2772 | 1042 | "date":{ | ||
2773 | 1043 | "date":22, | ||
2774 | 1044 | "hours":7, | ||
2775 | 1045 | "minutes":0, | ||
2776 | 1046 | "month":6, | ||
2777 | 1047 | "year":2015 | ||
2778 | 1048 | }, | ||
2779 | 1049 | "humidity":88, | ||
2780 | 1050 | "icon":"cloud_sun", | ||
2781 | 1051 | "imperial":{ | ||
2782 | 1052 | "rain":0, | ||
2783 | 1053 | "snow":0, | ||
2784 | 1054 | "temp":72.518, | ||
2785 | 1055 | "windSpeed":4.1664 | ||
2786 | 1056 | }, | ||
2787 | 1057 | "metric":{ | ||
2788 | 1058 | "rain":0, | ||
2789 | 1059 | "snow":0, | ||
2790 | 1060 | "temp":22.51, | ||
2791 | 1061 | "windSpeed":6.696000000000001 | ||
2792 | 1062 | }, | ||
2793 | 1063 | "pressure":1014.42, | ||
2794 | 1064 | "timestamp":1437566400, | ||
2795 | 1065 | "windDeg":269.501, | ||
2796 | 1066 | "windDir":"W" | ||
2797 | 1067 | }, | ||
2798 | 1068 | { | ||
2799 | 1069 | "condition":"Clouds", | ||
2800 | 1070 | "date":{ | ||
2801 | 1071 | "date":22, | ||
2802 | 1072 | "hours":10, | ||
2803 | 1073 | "minutes":0, | ||
2804 | 1074 | "month":6, | ||
2805 | 1075 | "year":2015 | ||
2806 | 1076 | }, | ||
2807 | 1077 | "humidity":83, | ||
2808 | 1078 | "icon":"cloud_sun", | ||
2809 | 1079 | "imperial":{ | ||
2810 | 1080 | "rain":0, | ||
2811 | 1081 | "snow":0, | ||
2812 | 1082 | "temp":81.05000000000001, | ||
2813 | 1083 | "windSpeed":3.9424000000000006 | ||
2814 | 1084 | }, | ||
2815 | 1085 | "metric":{ | ||
2816 | 1086 | "rain":0, | ||
2817 | 1087 | "snow":0, | ||
2818 | 1088 | "temp":27.25, | ||
2819 | 1089 | "windSpeed":6.336 | ||
2820 | 1090 | }, | ||
2821 | 1091 | "pressure":1015.19, | ||
2822 | 1092 | "timestamp":1437577200, | ||
2823 | 1093 | "windDeg":7.50089, | ||
2824 | 1094 | "windDir":"N" | ||
2825 | 1095 | }, | ||
2826 | 1096 | { | ||
2827 | 1097 | "condition":"Clouds", | ||
2828 | 1098 | "date":{ | ||
2829 | 1099 | "date":22, | ||
2830 | 1100 | "hours":13, | ||
2831 | 1101 | "minutes":0, | ||
2832 | 1102 | "month":6, | ||
2833 | 1103 | "year":2015 | ||
2834 | 1104 | }, | ||
2835 | 1105 | "humidity":76, | ||
2836 | 1106 | "icon":"cloud_sun", | ||
2837 | 1107 | "imperial":{ | ||
2838 | 1108 | "rain":0, | ||
2839 | 1109 | "snow":0, | ||
2840 | 1110 | "temp":84.28999999999999, | ||
2841 | 1111 | "windSpeed":4.032000000000001 | ||
2842 | 1112 | }, | ||
2843 | 1113 | "metric":{ | ||
2844 | 1114 | "rain":0, | ||
2845 | 1115 | "snow":0, | ||
2846 | 1116 | "temp":29.05, | ||
2847 | 1117 | "windSpeed":6.48 | ||
2848 | 1118 | }, | ||
2849 | 1119 | "pressure":1014.88, | ||
2850 | 1120 | "timestamp":1437588000, | ||
2851 | 1121 | "windDeg":24.0016, | ||
2852 | 1122 | "windDir":"N" | ||
2853 | 1123 | }, | ||
2854 | 1124 | { | ||
2855 | 1125 | "condition":"Clouds", | ||
2856 | 1126 | "date":{ | ||
2857 | 1127 | "date":22, | ||
2858 | 1128 | "hours":16, | ||
2859 | 1129 | "minutes":0, | ||
2860 | 1130 | "month":6, | ||
2861 | 1131 | "year":2015 | ||
2862 | 1132 | }, | ||
2863 | 1133 | "humidity":68, | ||
2864 | 1134 | "icon":"cloud", | ||
2865 | 1135 | "imperial":{ | ||
2866 | 1136 | "rain":0, | ||
2867 | 1137 | "snow":0, | ||
2868 | 1138 | "temp":84.146, | ||
2869 | 1139 | "windSpeed":3.8528000000000002 | ||
2870 | 1140 | }, | ||
2871 | 1141 | "metric":{ | ||
2872 | 1142 | "rain":0, | ||
2873 | 1143 | "snow":0, | ||
2874 | 1144 | "temp":28.97, | ||
2875 | 1145 | "windSpeed":6.192 | ||
2876 | 1146 | }, | ||
2877 | 1147 | "pressure":1014.72, | ||
2878 | 1148 | "timestamp":1437598800, | ||
2879 | 1149 | "windDeg":331.502, | ||
2880 | 1150 | "windDir":"N" | ||
2881 | 1151 | }, | ||
2882 | 1152 | { | ||
2883 | 1153 | "condition":"Clouds", | ||
2884 | 1154 | "date":{ | ||
2885 | 1155 | "date":22, | ||
2886 | 1156 | "hours":19, | ||
2887 | 1157 | "minutes":0, | ||
2888 | 1158 | "month":6, | ||
2889 | 1159 | "year":2015 | ||
2890 | 1160 | }, | ||
2891 | 1161 | "humidity":69, | ||
2892 | 1162 | "icon":"cloud", | ||
2893 | 1163 | "imperial":{ | ||
2894 | 1164 | "rain":0, | ||
2895 | 1165 | "snow":0, | ||
2896 | 1166 | "temp":82.05799999999999, | ||
2897 | 1167 | "windSpeed":3.8304000000000005 | ||
2898 | 1168 | }, | ||
2899 | 1169 | "metric":{ | ||
2900 | 1170 | "rain":0, | ||
2901 | 1171 | "snow":0, | ||
2902 | 1172 | "temp":27.81, | ||
2903 | 1173 | "windSpeed":6.156 | ||
2904 | 1174 | }, | ||
2905 | 1175 | "pressure":1015.49, | ||
2906 | 1176 | "timestamp":1437609600, | ||
2907 | 1177 | "windDeg":310.004, | ||
2908 | 1178 | "windDir":"NW" | ||
2909 | 1179 | }, | ||
2910 | 1180 | { | ||
2911 | 1181 | "condition":"Rain", | ||
2912 | 1182 | "date":{ | ||
2913 | 1183 | "date":22, | ||
2914 | 1184 | "hours":22, | ||
2915 | 1185 | "minutes":0, | ||
2916 | 1186 | "month":6, | ||
2917 | 1187 | "year":2015 | ||
2918 | 1188 | }, | ||
2919 | 1189 | "humidity":72, | ||
2920 | 1190 | "icon":"rain", | ||
2921 | 1191 | "imperial":{ | ||
2922 | 1192 | "rain":0.0011811023622047244, | ||
2923 | 1193 | "snow":0, | ||
2924 | 1194 | "temp":78.044, | ||
2925 | 1195 | "windSpeed":5.1968000000000005 | ||
2926 | 1196 | }, | ||
2927 | 1197 | "metric":{ | ||
2928 | 1198 | "rain":0.03, | ||
2929 | 1199 | "snow":0, | ||
2930 | 1200 | "temp":25.58, | ||
2931 | 1201 | "windSpeed":8.352 | ||
2932 | 1202 | }, | ||
2933 | 1203 | "pressure":1017.2, | ||
2934 | 1204 | "timestamp":1437620400, | ||
2935 | 1205 | "windDeg":339.001, | ||
2936 | 1206 | "windDir":"N" | ||
2937 | 1207 | } | ||
2938 | 1208 | ], | ||
2939 | 1209 | "humidity":0, | ||
2940 | 1210 | "icon":"rain", | ||
2941 | 1211 | "imperial":{ | ||
2942 | 1212 | "rain":0.042913385826771656, | ||
2943 | 1213 | "snow":0, | ||
2944 | 1214 | "tempMax":83.31800000000001, | ||
2945 | 1215 | "tempMin":73.274, | ||
2946 | 1216 | "windSpeed":2.0608000000000004 | ||
2947 | 1217 | }, | ||
2948 | 1218 | "metric":{ | ||
2949 | 1219 | "rain":1.09, | ||
2950 | 1220 | "snow":0, | ||
2951 | 1221 | "tempMax":28.51, | ||
2952 | 1222 | "tempMin":22.93, | ||
2953 | 1223 | "windSpeed":3.3120000000000003 | ||
2954 | 1224 | }, | ||
2955 | 1225 | "pressure":1013.42, | ||
2956 | 1226 | "timestamp":1437584400, | ||
2957 | 1227 | "windDeg":286, | ||
2958 | 1228 | "windDir":"W" | ||
2959 | 1229 | }, | ||
2960 | 1230 | { | ||
2961 | 1231 | "condition":"Rain", | ||
2962 | 1232 | "date":{ | ||
2963 | 1233 | "date":23, | ||
2964 | 1234 | "hours":11, | ||
2965 | 1235 | "minutes":59, | ||
2966 | 1236 | "month":6, | ||
2967 | 1237 | "year":2015 | ||
2968 | 1238 | }, | ||
2969 | 1239 | "hourly":[ | ||
2970 | 1240 | { | ||
2971 | 1241 | "condition":"Clouds", | ||
2972 | 1242 | "date":{ | ||
2973 | 1243 | "date":23, | ||
2974 | 1244 | "hours":1, | ||
2975 | 1245 | "minutes":0, | ||
2976 | 1246 | "month":6, | ||
2977 | 1247 | "year":2015 | ||
2978 | 1248 | }, | ||
2979 | 1249 | "humidity":83, | ||
2980 | 1250 | "icon":"cloud_moon", | ||
2981 | 1251 | "imperial":{ | ||
2982 | 1252 | "rain":0, | ||
2983 | 1253 | "snow":0, | ||
2984 | 1254 | "temp":73.904, | ||
2985 | 1255 | "windSpeed":3.7408 | ||
2986 | 1256 | }, | ||
2987 | 1257 | "metric":{ | ||
2988 | 1258 | "rain":0, | ||
2989 | 1259 | "snow":0, | ||
2990 | 1260 | "temp":23.28, | ||
2991 | 1261 | "windSpeed":6.012 | ||
2992 | 1262 | }, | ||
2993 | 1263 | "pressure":1017.28, | ||
2994 | 1264 | "timestamp":1437631200, | ||
2995 | 1265 | "windDeg":342.501, | ||
2996 | 1266 | "windDir":"N" | ||
2997 | 1267 | }, | ||
2998 | 1268 | { | ||
2999 | 1269 | "condition":"Clear", | ||
3000 | 1270 | "date":{ | ||
3001 | 1271 | "date":23, | ||
3002 | 1272 | "hours":4, | ||
3003 | 1273 | "minutes":0, | ||
3004 | 1274 | "month":6, | ||
3005 | 1275 | "year":2015 | ||
3006 | 1276 | }, | ||
3007 | 1277 | "humidity":94, | ||
3008 | 1278 | "icon":"moon", | ||
3009 | 1279 | "imperial":{ | ||
3010 | 1280 | "rain":0, | ||
3011 | 1281 | "snow":0, | ||
3012 | 1282 | "temp":70.142, | ||
3013 | 1283 | "windSpeed":2.7328 | ||
3014 | 1284 | }, | ||
3015 | 1285 | "metric":{ | ||
3016 | 1286 | "rain":0, | ||
3017 | 1287 | "snow":0, | ||
3018 | 1288 | "temp":21.19, | ||
3019 | 1289 | "windSpeed":4.392 | ||
3020 | 1290 | }, | ||
3021 | 1291 | "pressure":1017.75, | ||
3022 | 1292 | "timestamp":1437642000, | ||
3023 | 1293 | "windDeg":299.502, | ||
3024 | 1294 | "windDir":"W" | ||
3025 | 1295 | }, | ||
3026 | 1296 | { | ||
3027 | 1297 | "condition":"Clouds", | ||
3028 | 1298 | "date":{ | ||
3029 | 1299 | "date":23, | ||
3030 | 1300 | "hours":7, | ||
3031 | 1301 | "minutes":0, | ||
3032 | 1302 | "month":6, | ||
3033 | 1303 | "year":2015 | ||
3034 | 1304 | }, | ||
3035 | 1305 | "humidity":80, | ||
3036 | 1306 | "icon":"cloud", | ||
3037 | 1307 | "imperial":{ | ||
3038 | 1308 | "rain":0, | ||
3039 | 1309 | "snow":0, | ||
3040 | 1310 | "temp":72.59, | ||
3041 | 1311 | "windSpeed":7.638400000000001 | ||
3042 | 1312 | }, | ||
3043 | 1313 | "metric":{ | ||
3044 | 1314 | "rain":0, | ||
3045 | 1315 | "snow":0, | ||
3046 | 1316 | "temp":22.55, | ||
3047 | 1317 | "windSpeed":12.276000000000002 | ||
3048 | 1318 | }, | ||
3049 | 1319 | "pressure":1019.29, | ||
3050 | 1320 | "timestamp":1437652800, | ||
3051 | 1321 | "windDeg":348.501, | ||
3052 | 1322 | "windDir":"N" | ||
3053 | 1323 | }, | ||
3054 | 1324 | { | ||
3055 | 1325 | "condition":"Clouds", | ||
3056 | 1326 | "date":{ | ||
3057 | 1327 | "date":23, | ||
3058 | 1328 | "hours":10, | ||
3059 | 1329 | "minutes":0, | ||
3060 | 1330 | "month":6, | ||
3061 | 1331 | "year":2015 | ||
3062 | 1332 | }, | ||
3063 | 1333 | "humidity":74, | ||
3064 | 1334 | "icon":"cloud", | ||
3065 | 1335 | "imperial":{ | ||
3066 | 1336 | "rain":0, | ||
3067 | 1337 | "snow":0, | ||
3068 | 1338 | "temp":77.36, | ||
3069 | 1339 | "windSpeed":6.1824 | ||
3070 | 1340 | }, | ||
3071 | 1341 | "metric":{ | ||
3072 | 1342 | "rain":0, | ||
3073 | 1343 | "snow":0, | ||
3074 | 1344 | "temp":25.2, | ||
3075 | 1345 | "windSpeed":9.936 | ||
3076 | 1346 | }, | ||
3077 | 1347 | "pressure":1020.11, | ||
3078 | 1348 | "timestamp":1437663600, | ||
3079 | 1349 | "windDeg":19.0006, | ||
3080 | 1350 | "windDir":"N" | ||
3081 | 1351 | } | ||
3082 | 1352 | ], | ||
3083 | 1353 | "humidity":0, | ||
3084 | 1354 | "icon":"rain", | ||
3085 | 1355 | "imperial":{ | ||
3086 | 1356 | "rain":0.020866141732283468, | ||
3087 | 1357 | "snow":0, | ||
3088 | 1358 | "tempMax":84.758, | ||
3089 | 1359 | "tempMin":73.328, | ||
3090 | 1360 | "windSpeed":7.548800000000001 | ||
3091 | 1361 | }, | ||
3092 | 1362 | "metric":{ | ||
3093 | 1363 | "rain":0.53, | ||
3094 | 1364 | "snow":0, | ||
3095 | 1365 | "tempMax":29.31, | ||
3096 | 1366 | "tempMin":22.96, | ||
3097 | 1367 | "windSpeed":12.132000000000001 | ||
3098 | 1368 | }, | ||
3099 | 1369 | "pressure":1016.1, | ||
3100 | 1370 | "timestamp":1437670800, | ||
3101 | 1371 | "windDeg":327, | ||
3102 | 1372 | "windDir":"NW" | ||
3103 | 1373 | }, | ||
3104 | 1374 | { | ||
3105 | 1375 | "condition":"Rain", | ||
3106 | 1376 | "date":{ | ||
3107 | 1377 | "date":24, | ||
3108 | 1378 | "hours":11, | ||
3109 | 1379 | "minutes":59, | ||
3110 | 1380 | "month":6, | ||
3111 | 1381 | "year":2015 | ||
3112 | 1382 | }, | ||
3113 | 1383 | "hourly":[ | ||
3114 | 1384 | |||
3115 | 1385 | ], | ||
3116 | 1386 | "humidity":0, | ||
3117 | 1387 | "icon":"rain", | ||
3118 | 1388 | "imperial":{ | ||
3119 | 1389 | "rain":0.013779527559055118, | ||
3120 | 1390 | "snow":0, | ||
3121 | 1391 | "tempMax":87.17, | ||
3122 | 1392 | "tempMin":74.12, | ||
3123 | 1393 | "windSpeed":5.6896 | ||
3124 | 1394 | }, | ||
3125 | 1395 | "metric":{ | ||
3126 | 1396 | "rain":0.35, | ||
3127 | 1397 | "snow":0, | ||
3128 | 1398 | "tempMax":30.65, | ||
3129 | 1399 | "tempMin":23.4, | ||
3130 | 1400 | "windSpeed":9.144 | ||
3131 | 1401 | }, | ||
3132 | 1402 | "pressure":1017.79, | ||
3133 | 1403 | "timestamp":1437757200, | ||
3134 | 1404 | "windDeg":234, | ||
3135 | 1405 | "windDir":"SW" | ||
3136 | 1406 | }, | ||
3137 | 1407 | { | ||
3138 | 1408 | "condition":"Rain", | ||
3139 | 1409 | "date":{ | ||
3140 | 1410 | "date":25, | ||
3141 | 1411 | "hours":11, | ||
3142 | 1412 | "minutes":59, | ||
3143 | 1413 | "month":6, | ||
3144 | 1414 | "year":2015 | ||
3145 | 1415 | }, | ||
3146 | 1416 | "hourly":[ | ||
3147 | 1417 | |||
3148 | 1418 | ], | ||
3149 | 1419 | "humidity":0, | ||
3150 | 1420 | "icon":"rain", | ||
3151 | 1421 | "imperial":{ | ||
3152 | 1422 | "rain":0.13385826771653545, | ||
3153 | 1423 | "snow":0, | ||
3154 | 1424 | "tempMax":94.334, | ||
3155 | 1425 | "tempMin":80.114, | ||
3156 | 1426 | "windSpeed":8.5792 | ||
3157 | 1427 | }, | ||
3158 | 1428 | "metric":{ | ||
3159 | 1429 | "rain":3.4, | ||
3160 | 1430 | "snow":0, | ||
3161 | 1431 | "tempMax":34.63, | ||
3162 | 1432 | "tempMin":26.73, | ||
3163 | 1433 | "windSpeed":13.788 | ||
3164 | 1434 | }, | ||
3165 | 1435 | "pressure":1012.93, | ||
3166 | 1436 | "timestamp":1437843600, | ||
3167 | 1437 | "windDeg":233, | ||
3168 | 1438 | "windDir":"SW" | ||
3169 | 1439 | }, | ||
3170 | 1440 | { | ||
3171 | 1441 | "condition":"Rain", | ||
3172 | 1442 | "date":{ | ||
3173 | 1443 | "date":26, | ||
3174 | 1444 | "hours":11, | ||
3175 | 1445 | "minutes":59, | ||
3176 | 1446 | "month":6, | ||
3177 | 1447 | "year":2015 | ||
3178 | 1448 | }, | ||
3179 | 1449 | "hourly":[ | ||
3180 | 1450 | |||
3181 | 1451 | ], | ||
3182 | 1452 | "humidity":0, | ||
3183 | 1453 | "icon":"rain", | ||
3184 | 1454 | "imperial":{ | ||
3185 | 1455 | "rain":0.01141732283464567, | ||
3186 | 1456 | "snow":0, | ||
3187 | 1457 | "tempMax":93.02, | ||
3188 | 1458 | "tempMin":77.756, | ||
3189 | 1459 | "windSpeed":7.750400000000001 | ||
3190 | 1460 | }, | ||
3191 | 1461 | "metric":{ | ||
3192 | 1462 | "rain":0.29, | ||
3193 | 1463 | "snow":0, | ||
3194 | 1464 | "tempMax":33.9, | ||
3195 | 1465 | "tempMin":25.42, | ||
3196 | 1466 | "windSpeed":12.456 | ||
3197 | 1467 | }, | ||
3198 | 1468 | "pressure":1011.84, | ||
3199 | 1469 | "timestamp":1437930000, | ||
3200 | 1470 | "windDeg":271, | ||
3201 | 1471 | "windDir":"W" | ||
3202 | 1472 | }, | ||
3203 | 1473 | { | ||
3204 | 1474 | "condition":"Rain", | ||
3205 | 1475 | "date":{ | ||
3206 | 1476 | "date":27, | ||
3207 | 1477 | "hours":11, | ||
3208 | 1478 | "minutes":59, | ||
3209 | 1479 | "month":6, | ||
3210 | 1480 | "year":2015 | ||
3211 | 1481 | }, | ||
3212 | 1482 | "hourly":[ | ||
3213 | 1483 | |||
3214 | 1484 | ], | ||
3215 | 1485 | "humidity":0, | ||
3216 | 1486 | "icon":"rain", | ||
3217 | 1487 | "imperial":{ | ||
3218 | 1488 | "rain":0.25826771653543307, | ||
3219 | 1489 | "snow":0, | ||
3220 | 1490 | "tempMax":93.506, | ||
3221 | 1491 | "tempMin":77, | ||
3222 | 1492 | "windSpeed":5.443200000000001 | ||
3223 | 1493 | }, | ||
3224 | 1494 | "metric":{ | ||
3225 | 1495 | "rain":6.56, | ||
3226 | 1496 | "snow":0, | ||
3227 | 1497 | "tempMax":34.17, | ||
3228 | 1498 | "tempMin":25, | ||
3229 | 1499 | "windSpeed":8.748000000000001 | ||
3230 | 1500 | }, | ||
3231 | 1501 | "pressure":1011.02, | ||
3232 | 1502 | "timestamp":1438016400, | ||
3233 | 1503 | "windDeg":182, | ||
3234 | 1504 | "windDir":"S" | ||
3235 | 1505 | } | ||
3236 | 1506 | ], | ||
3237 | 1507 | "save":true, | ||
3238 | 1508 | "updated":1437239163515 | ||
3239 | 1509 | } | ||
3240 | 0 | 1510 | ||
3241 | === added file 'tests/autopilot/ubuntu_weather_app/files/CMakeLists.txt' | |||
3242 | --- tests/autopilot/ubuntu_weather_app/files/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
3243 | +++ tests/autopilot/ubuntu_weather_app/files/CMakeLists.txt 2015-07-25 13:52:29 +0000 | |||
3244 | @@ -0,0 +1,6 @@ | |||
3245 | 1 | # make the data files visible on qtcreator | ||
3246 | 2 | file(GLOB PYTHON_TEST_RESOURCE_FILES | ||
3247 | 3 | RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
3248 | 4 | *.json) | ||
3249 | 5 | |||
3250 | 6 | add_custom_target(ubuntu-weather-app_PYTHONTestResourceFiles ALL SOURCES ${PYTHON_TEST_RESOURCE_FILES}) | ||
3251 | 0 | 7 | ||
3252 | === modified file 'tests/autopilot/ubuntu_weather_app/tests/__init__.py' | |||
3253 | --- tests/autopilot/ubuntu_weather_app/tests/__init__.py 2015-06-03 17:49:50 +0000 | |||
3254 | +++ tests/autopilot/ubuntu_weather_app/tests/__init__.py 2015-07-25 13:52:29 +0000 | |||
3255 | @@ -19,12 +19,17 @@ | |||
3256 | 19 | import os | 19 | import os |
3257 | 20 | import os.path | 20 | import os.path |
3258 | 21 | import shutil | 21 | import shutil |
3259 | 22 | import sqlite3 | ||
3260 | 23 | import time | ||
3261 | 22 | import logging | 24 | import logging |
3262 | 23 | 25 | ||
3263 | 24 | import fixtures | 26 | import fixtures |
3264 | 25 | from ubuntu_weather_app import UbuntuWeatherApp | 27 | from ubuntu_weather_app import UbuntuWeatherApp |
3265 | 28 | import ubuntu_weather_app | ||
3266 | 26 | 29 | ||
3267 | 27 | from autopilot import logging as autopilot_logging | 30 | from autopilot import logging as autopilot_logging |
3268 | 31 | from autopilot.matchers import Eventually | ||
3269 | 32 | from testtools.matchers import Equals | ||
3270 | 28 | from autopilot.testcase import AutopilotTestCase | 33 | from autopilot.testcase import AutopilotTestCase |
3271 | 29 | 34 | ||
3272 | 30 | import ubuntuuitoolkit | 35 | import ubuntuuitoolkit |
3273 | @@ -138,13 +143,123 @@ | |||
3274 | 138 | newvalue=temp_dir)) | 143 | newvalue=temp_dir)) |
3275 | 139 | 144 | ||
3276 | 140 | logger.debug("Patched home to fake home directory %s" % temp_dir) | 145 | logger.debug("Patched home to fake home directory %s" % temp_dir) |
3277 | 146 | |||
3278 | 141 | return temp_dir | 147 | return temp_dir |
3279 | 142 | 148 | ||
3280 | 143 | 149 | ||
3282 | 144 | class UbuntuWeatherAppTestCase(BaseTestCaseWithPatchedHome): | 150 | class DatabaseMixin(object): |
3283 | 151 | |||
3284 | 152 | """ | ||
3285 | 153 | Helper functions for dealing with sqlite databases | ||
3286 | 154 | """ | ||
3287 | 155 | |||
3288 | 156 | def _execute_sql(self, statement): | ||
3289 | 157 | conn = sqlite3.connect(self.db_path) | ||
3290 | 158 | cursor = conn.cursor() | ||
3291 | 159 | logger.debug("Executing sql") | ||
3292 | 160 | logger.debug(statement) | ||
3293 | 161 | cursor.execute(statement) | ||
3294 | 162 | conn.commit() | ||
3295 | 163 | conn.close() | ||
3296 | 164 | |||
3297 | 165 | def add_locations_to_database(self, limit=None): | ||
3298 | 166 | locations = self.get_locations_data() | ||
3299 | 167 | conn = sqlite3.connect(self.db_path) | ||
3300 | 168 | cursor = conn.cursor() | ||
3301 | 169 | logger.debug("Adding locations to database") | ||
3302 | 170 | |||
3303 | 171 | for loc_data in locations: | ||
3304 | 172 | db_exec = "INSERT INTO Locations(date, data) VALUES('{}', '{}')" | ||
3305 | 173 | cursor.execute(db_exec.format( | ||
3306 | 174 | int(time.time() * 1000), loc_data)) | ||
3307 | 175 | conn.commit() | ||
3308 | 176 | |||
3309 | 177 | conn.close() | ||
3310 | 178 | |||
3311 | 179 | def clean_db(self): | ||
3312 | 180 | logger.debug("Removing existing database at %s" % self.db_dir) | ||
3313 | 181 | |||
3314 | 182 | try: | ||
3315 | 183 | shutil.rmtree(self.db_dir) | ||
3316 | 184 | except OSError: | ||
3317 | 185 | logger.debug("Could not remove existing database") | ||
3318 | 186 | pass | ||
3319 | 187 | |||
3320 | 188 | def create_blank_db(self): | ||
3321 | 189 | self.clean_db() | ||
3322 | 190 | |||
3323 | 191 | # create blank db | ||
3324 | 192 | database_tmpl_dir = os.path.join( | ||
3325 | 193 | os.path.dirname(ubuntu_weather_app.__file__), | ||
3326 | 194 | 'databases') | ||
3327 | 195 | logger.debug("Creating blank db on filesystem %s" % self.db_dir) | ||
3328 | 196 | |||
3329 | 197 | if not os.path.exists(self.app_dir): | ||
3330 | 198 | os.makedirs(self.app_dir) | ||
3331 | 199 | |||
3332 | 200 | shutil.copytree(database_tmpl_dir, self.db_dir) | ||
3333 | 201 | |||
3334 | 202 | self.assertThat( | ||
3335 | 203 | lambda: os.path.exists(self.db_path), | ||
3336 | 204 | Eventually(Equals(True))) | ||
3337 | 205 | |||
3338 | 206 | # this needs to stay in sync with Storage.qml enties | ||
3339 | 207 | logger.debug("Creating locations and settings tables") | ||
3340 | 208 | self._execute_sql("CREATE TABLE IF NOT EXISTS Locations(id INTEGER " | ||
3341 | 209 | "PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)") | ||
3342 | 210 | |||
3343 | 211 | self._execute_sql("CREATE TABLE IF NOT EXISTS settings(key TEXT " | ||
3344 | 212 | "UNIQUE, value TEXT)") | ||
3345 | 213 | |||
3346 | 214 | def get_locations_data(self): | ||
3347 | 215 | result = [] | ||
3348 | 216 | json_files = [self.json_path + '/1.json', self.json_path + '/2.json'] | ||
3349 | 217 | |||
3350 | 218 | for path in json_files: | ||
3351 | 219 | with open(path) as fh: | ||
3352 | 220 | json_str = fh.read() | ||
3353 | 221 | result.append(json_str.strip()) | ||
3354 | 222 | fh.close() | ||
3355 | 223 | |||
3356 | 224 | return result | ||
3357 | 225 | |||
3358 | 226 | def load_vars(self): | ||
3359 | 227 | self.app_dir = os.path.join( | ||
3360 | 228 | os.environ.get('HOME'), | ||
3361 | 229 | ".local/share/com.ubuntu.weather") | ||
3362 | 230 | self.db_dir = os.path.join(self.app_dir, 'Databases') | ||
3363 | 231 | self.db_file = "34e1e542f2f083ff18f537b07a380071.sqlite" | ||
3364 | 232 | self.db_path = os.path.join(self.db_dir, self.db_file) | ||
3365 | 233 | |||
3366 | 234 | self.json_path = os.path.abspath( | ||
3367 | 235 | os.path.join(os.path.dirname(__file__), '..', 'files')) | ||
3368 | 236 | |||
3369 | 237 | |||
3370 | 238 | class UbuntuWeatherAppTestCase(BaseTestCaseWithPatchedHome, DatabaseMixin): | ||
3371 | 145 | 239 | ||
3372 | 146 | """Base test case that launches the ubuntu-weather-app.""" | 240 | """Base test case that launches the ubuntu-weather-app.""" |
3373 | 147 | 241 | ||
3374 | 148 | def setUp(self): | 242 | def setUp(self): |
3375 | 149 | super(UbuntuWeatherAppTestCase, self).setUp() | 243 | super(UbuntuWeatherAppTestCase, self).setUp() |
3376 | 244 | |||
3377 | 245 | self.load_vars() | ||
3378 | 246 | self.create_blank_db() | ||
3379 | 247 | |||
3380 | 248 | self.app = UbuntuWeatherApp(self.launcher()) | ||
3381 | 249 | |||
3382 | 250 | |||
3383 | 251 | class UbuntuWeatherAppTestCaseWithData(BaseTestCaseWithPatchedHome, | ||
3384 | 252 | DatabaseMixin): | ||
3385 | 253 | |||
3386 | 254 | """Base test case that launches the ubuntu-weather-app with data.""" | ||
3387 | 255 | |||
3388 | 256 | def setUp(self): | ||
3389 | 257 | super(UbuntuWeatherAppTestCaseWithData, self).setUp() | ||
3390 | 258 | |||
3391 | 259 | self.load_vars() | ||
3392 | 260 | self.create_blank_db() | ||
3393 | 261 | |||
3394 | 262 | logger.debug("Adding fake data to new database") | ||
3395 | 263 | self.add_locations_to_database() | ||
3396 | 264 | |||
3397 | 150 | self.app = UbuntuWeatherApp(self.launcher()) | 265 | self.app = UbuntuWeatherApp(self.launcher()) |
3398 | 151 | 266 | ||
3399 | === added file 'tests/autopilot/ubuntu_weather_app/tests/test_empty_state.py' | |||
3400 | --- tests/autopilot/ubuntu_weather_app/tests/test_empty_state.py 1970-01-01 00:00:00 +0000 | |||
3401 | +++ tests/autopilot/ubuntu_weather_app/tests/test_empty_state.py 2015-07-25 13:52:29 +0000 | |||
3402 | @@ -0,0 +1,35 @@ | |||
3403 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
3404 | 2 | # Copyright 2013, 2014, 2015 Canonical | ||
3405 | 3 | # | ||
3406 | 4 | # This program is free software: you can redistribute it and/or modify it | ||
3407 | 5 | # under the terms of the GNU General Public License version 3, as published | ||
3408 | 6 | # by the Free Software Foundation. | ||
3409 | 7 | |||
3410 | 8 | """Ubuntu Weather app autopilot tests.""" | ||
3411 | 9 | |||
3412 | 10 | from __future__ import absolute_import | ||
3413 | 11 | |||
3414 | 12 | import logging | ||
3415 | 13 | from autopilot.matchers import Eventually | ||
3416 | 14 | from testtools.matchers import Equals | ||
3417 | 15 | |||
3418 | 16 | |||
3419 | 17 | from ubuntu_weather_app.tests import UbuntuWeatherAppTestCase | ||
3420 | 18 | |||
3421 | 19 | logger = logging.getLogger(__name__) | ||
3422 | 20 | |||
3423 | 21 | |||
3424 | 22 | class TestEmptyState(UbuntuWeatherAppTestCase): | ||
3425 | 23 | |||
3426 | 24 | def setUp(self): | ||
3427 | 25 | super(TestEmptyState, self).setUp() | ||
3428 | 26 | |||
3429 | 27 | def test_add_location_button(self): | ||
3430 | 28 | """ tests that the add location page is shown after the Add Location | ||
3431 | 29 | button is clicked """ | ||
3432 | 30 | |||
3433 | 31 | self.app.click_add_location_button() | ||
3434 | 32 | |||
3435 | 33 | add_location_page = self.app.get_add_location_page() | ||
3436 | 34 | |||
3437 | 35 | self.assertThat(add_location_page.visible, Eventually(Equals(True))) | ||
3438 | 0 | 36 | ||
3439 | === added file 'tests/autopilot/ubuntu_weather_app/tests/test_home_page.py' | |||
3440 | --- tests/autopilot/ubuntu_weather_app/tests/test_home_page.py 1970-01-01 00:00:00 +0000 | |||
3441 | +++ tests/autopilot/ubuntu_weather_app/tests/test_home_page.py 2015-07-25 13:52:29 +0000 | |||
3442 | @@ -0,0 +1,32 @@ | |||
3443 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
3444 | 2 | # Copyright 2013, 2014, 2015 Canonical | ||
3445 | 3 | # | ||
3446 | 4 | # This program is free software: you can redistribute it and/or modify it | ||
3447 | 5 | # under the terms of the GNU General Public License version 3, as published | ||
3448 | 6 | # by the Free Software Foundation. | ||
3449 | 7 | |||
3450 | 8 | """Ubuntu Weather app autopilot tests.""" | ||
3451 | 9 | |||
3452 | 10 | from __future__ import absolute_import | ||
3453 | 11 | |||
3454 | 12 | import logging | ||
3455 | 13 | from autopilot.matchers import Eventually | ||
3456 | 14 | from testtools.matchers import Equals | ||
3457 | 15 | |||
3458 | 16 | |||
3459 | 17 | from ubuntu_weather_app.tests import UbuntuWeatherAppTestCaseWithData | ||
3460 | 18 | |||
3461 | 19 | logger = logging.getLogger(__name__) | ||
3462 | 20 | |||
3463 | 21 | |||
3464 | 22 | class TestHomePage(UbuntuWeatherAppTestCaseWithData): | ||
3465 | 23 | |||
3466 | 24 | def setUp(self): | ||
3467 | 25 | super(TestHomePage, self).setUp() | ||
3468 | 26 | |||
3469 | 27 | def test_locations_count_startup(self): | ||
3470 | 28 | """ tests that the correct number of locations appear at startup """ | ||
3471 | 29 | |||
3472 | 30 | home_page = self.app.get_home_page() | ||
3473 | 31 | |||
3474 | 32 | self.assertThat(home_page.get_location_count, Eventually(Equals(2))) | ||
3475 | 0 | 33 | ||
3476 | === removed file 'tests/autopilot/ubuntu_weather_app/tests/test_weather.py' | |||
3477 | --- tests/autopilot/ubuntu_weather_app/tests/test_weather.py 2015-06-16 00:10:16 +0000 | |||
3478 | +++ tests/autopilot/ubuntu_weather_app/tests/test_weather.py 1970-01-01 00:00:00 +0000 | |||
3479 | @@ -1,35 +0,0 @@ | |||
3480 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
3481 | 2 | # Copyright 2013, 2014, 2015 Canonical | ||
3482 | 3 | # | ||
3483 | 4 | # This program is free software: you can redistribute it and/or modify it | ||
3484 | 5 | # under the terms of the GNU General Public License version 3, as published | ||
3485 | 6 | # by the Free Software Foundation. | ||
3486 | 7 | |||
3487 | 8 | """Ubuntu Weather app autopilot tests.""" | ||
3488 | 9 | |||
3489 | 10 | from __future__ import absolute_import | ||
3490 | 11 | |||
3491 | 12 | import logging | ||
3492 | 13 | from autopilot.matchers import Eventually | ||
3493 | 14 | from testtools.matchers import Equals | ||
3494 | 15 | |||
3495 | 16 | |||
3496 | 17 | from ubuntu_weather_app.tests import UbuntuWeatherAppTestCase | ||
3497 | 18 | |||
3498 | 19 | logger = logging.getLogger(__name__) | ||
3499 | 20 | |||
3500 | 21 | |||
3501 | 22 | class TestMainWindow(UbuntuWeatherAppTestCase): | ||
3502 | 23 | |||
3503 | 24 | def setUp(self): | ||
3504 | 25 | super(TestMainWindow, self).setUp() | ||
3505 | 26 | |||
3506 | 27 | def test_add_location_button(self): | ||
3507 | 28 | """ tests that the add location page is shown after the Add Location | ||
3508 | 29 | button is clicked """ | ||
3509 | 30 | |||
3510 | 31 | self.app.click_add_location_button() | ||
3511 | 32 | |||
3512 | 33 | add_location_page = self.app.get_add_location_page() | ||
3513 | 34 | |||
3514 | 35 | self.assertThat(add_location_page.visible, Eventually(Equals(True))) |
PASSED: Continuous integration, rev:64 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- ci/137/ 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- utopic- amd64-ci/ 107 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- vivid-amd64- ci/137
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- ci/137/ rebuild
http://