Skip to content

gt-big-data/wildfire-detection

Repository files navigation

wildfire-detection

Run with pipenv (recommended)

Pipenv is basically pip + venv. It lets you set up an isolated environment per project. Read more here

pipenv install

pipenv run python app.py

Open http://127.0.0.1:8050/

Run with pip

Navigate to the project root

pip install -r requirements.txt

python app.py

Open http://127.0.0.1:8050/

Setup

After installing, make sure you select the right python interpreter.

If you're using VSCode, install the Python extension, hit 'ctrl + shift + p' and search 'select interpreter'

Note that if the dependencies change, requirements.txt must be manually generated using

pipenv lock -r > requirements.txt

Tests

Tests must go into the tests folder

Test files must be of form:

test_X.py

Linting

Style checking is done with flake8 (one of the packages installed above). In VSCode, hit 'ctrl + shift + p' and search 'select linter'

Data Catalogue

Data - data/cimis_wind.csv

Code - preprocessing/platform/cimis_wind.py

Code - preprocessing/cimis_wind.ipynb

  • wind_mph - average wind speed
  • year - [2010, 2020] inclusive

Based on 2010-2014 census data only

Data - data/wind_by_zip.csv

Code - preprocessing/platform/wind_by_zip.py

Data - data/noaa_precip.csv

Code - preprocessing/platform/noaa_precipitation.py

  • elevation_ft
  • precip_in - observed monthly precipitation (inches)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages