public static void main(String[] args) {
        WeatherService weatherService = new WeatherService();
        Report myReport = weatherService.getReport("newark, de");
        List<Forecast> myForecasts = myReport.getForecasts();
        System.out.println(myForecasts.size());
        Forecast firstForecast = myForecasts.get(0);
        System.out.println(firstForecast.getProbabilityOfPrecipitation());
        
        // The following pre-generated code demonstrates how you can
		// use StickyWeb's EditableCache to create data files.
		try {
            // First, you create a new EditableCache, possibly passing in an FileInputStream to an existing cache
			EditableCache recording = new EditableCache();
            // You can add a Request object directly to the cache.
			String[] locations= {"newark, de", "newark,de",
					"blacksburg,va", "blacksburg, va",
					"minneapolis,mn", "minneapolis, mn",
					"seattle, wa", "seattle, wa",
					"nome, al", "nome,al",
					"miami,fl", "miami, fl",}; 
			for (String location : locations) {
				System.out.println(location);
				recording.addData(weatherService.geocodeRequest(location));
				Location l = weatherService.geocode(location);
				recording.addData(weatherService.getReportRequest(l.getLatitude(), l.getLongitude()));				
			}
            // Then you can save the expanded cache, possibly over the original
			recording.saveToStream(new FileOutputStream("cache.json"));
		} catch (StickyWebDataSourceNotFoundException e) {
			System.err.println("The given FileStream was not able to be found.");
		} catch (StickyWebDataSourceParseException e) {
			System.err.println("The given FileStream could not be parsed; possibly the structure is incorrect.");
		} catch (StickyWebLoadDataSourceException e) {
			System.err.println("The given data source could not be loaded.");
		} catch (FileNotFoundException e) {
			System.err.println("The given cache.json file was not found, or could not be opened.");
		}
        // ** End of how to use the EditableCache
		catch (StickyWebNotInCacheException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (StickyWebInternetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (StickyWebInvalidQueryString e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (StickyWebInvalidPostArguments e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
    }