JSONArray hourly = weatherData.getJSONArray("hourly");
if (hourly!=null) {
@SuppressWarnings("rawtypes") Iterator iterator = hourly.iterator();
while (iterator.hasNext()) {
JSONObject hourlyRecord = (JSONObject) iterator.next();
WeatherInfo weatherInfo = new WeatherInfo();
weatherInfo.cloudcover = Integer.valueOf(hourlyRecord.getString("cloudcover"));
weatherInfo.humidity = Integer.valueOf(hourlyRecord.getString("humidity"));
weatherInfo.precipMM = Float.valueOf(hourlyRecord.getString("precipMM"));
weatherInfo.pressure = Integer.valueOf(hourlyRecord.getString("pressure"));
weatherInfo.tempC = Integer.valueOf(hourlyRecord.getString("tempC"));