private static boolean uploadData(AirNowData airDat){
		String[][] data = airDat.getJSON();
		for (int i = 0; i < data[0].length; i++){
			System.out.println("Uploading " + (i + 1) + " of " + data[0].length);
			int count = 0;
			while (!uploadDataSource(data[0][i],data[1][i],data[2][i],data[3][i],data[4][i])){
				System.out.println("Retrying to upload " + (i + 1) + " of " + data[0].length);
				count++;
				if (count == MAX_UPLOAD_RETRIES)
					return false;
			}
		}
		return true;
	}