This repository contains the files and data necessary to execute single parameterization interpolation of the OG-USA model output.
- Download or clone this repository and its files and file structure to your local machine.
- Navigate in your browser to the folder of the https://github.com/rickecon/OGlifespan-app
- Create the
oglife-app-dev
conda environment using theenvironment.yml
file in the repository:conda env create -f environment.yml
. - Activate the
oglife-app-dev
conda environment:conda activate oglife-app-dev
- Run the following code, which will generate the web app in a local server:
python main.py
- Paste the URL address of the server listed in your terminal output into your terminal URL bar.
- This is the web application.
.gitignore
: Tellsgit
which files to not track with GitHub.app.yml
: We don't use this for the local test use case above, but this file is valuable for posting an app like this on Google's App Engine.environment.yml
: Gives a list of the Python packages necessary for running the instructions in this code base. -interp_rbf_OGlifesense.pkl
: Python pickled binary version ofScipy.interpolator
estimated on the model data.LICENSE
: Open source license for the project.main.py
: This is the main Python file that defines and executes the page.README.md
: Instructions for this repository.requirements.txt
: We don't use this for the local test use case above, but this file is valuable for posting an app like this on Google's App Engine.static/mystyle.css
: CSS style file for the web application.templates/index.html
: HTML file that calls the flask app.