Evidence of global heating has been accumulating over the past three decades and it is now widely accepted that the climate is undergoing a rapid change. In Australia the major impacts of global heating include increased occurances of heat waves, changes to the rainfall patterns, and increased occurances of days where the weather enhances bush fires.
The project consists of three components:
- The sql database to house the climate data and to provide data to the web page
- The API to provide a URL for web page queries
- The web page to provde the means to explore the data
The data were downloaded from Climate Change in Australia which is a collaboration between the CSIRO and the Australian Government Bureau of Meteorology.
README.mdFuture_Climate_Predictions_for_Australia.pdfProject proposalProject2_presentation.pdfProject presentationrequirements.txtPython requirements/dashboardindex.htmlLanding page for the web site/apiPython scripts for the api/dataInput csv files to put into the database/load_dbPython scripts to build the database/staticScripts to run the web site
The landing page is climate-change-dashboard/dashboard/index.html
Build the database
The application builds a database called Climate_DB in a PostgreSQL data base, assuming that the username is postgres.
- Create a python environment using the
requirements.txtfile. - Change directory to
climate-change-dashboard/dashboard/load_db - Edit
config.pyto set your postgres password. - Run
load-tables.pyto create and load the data.
Start the app to serve the data
- Change directory to
climate-change-dashboard/dashboard/api - Edit
api_keys.pyto set your postgres password. - Run
app.py.