To reproduce my results, run the following in order:
- benson_scraper
- benson_cleaner
- merge_weather (this script requires requesting a CSV file from the NOAA - follow steps below to get this file)
- benson_viz
- scheduler_tool_demo
Note: Each Jupyter notebook spits out a csv that feeds the next notebook
Note: There must be a ./csv
folder in your path to store data from the scraper
- Go to https://www.ncdc.noaa.gov/cdo-web/search?datasetid=GHCND
- For field "Select Weather Observation Type" choose "Daily Summaries"
- For field "Search For" choose "Stations"
- Enter the query "Central Park" in the search box
- Find NY CITY CENTRAL PARK, NY US in the list on the left with the following Station ID, GHCND:USW00094728. Click "ADD TO CART" next to the search result
- Your cart (upper right) should now have one item--click the cart to view items in your cart
- The next screen, "Select Cart Options," should present you with 3 options. Choose "Custom GHCN-Daily CSV" and make sure the date range goes back 3 years and press "Continue"
- Under "Select data types for custom output" check the box for "Precipitation" and click "Continue"
- Enter your email address and SUBMIT ORDER
- You will receive an email with the CSV file. Rename this file to NY_weather_summer.csv and copy it to the root project directory.