Placeholder
Placeholder
Make sure to follow the First Time Setup steps included below before running the application
Launch the server with
# include the --show flag to automatically open in the default browser
uv run panel serve .\src\fhba\app\app.py --showPlaceholder
For ease of use, this project relies on
uvfor python environment management. See theuvUser's Guide for Installation Instructions viapip.
Run uv sync from to install the necessary third-party packages into a .venv within the project directory:
# From the same directory with the uv.lock and pyproject.toml file...
uv syncBounding Box: The default bounding box of [97.75W, 39.75N, 95.25W, 35.75N] is set in the src\fhba\config.yaml file, but this can be changed if desired.
If you would like to use the NLCD from a different year instead of the default 2024 file:
- Download the Annual Land Cover Database for a recent year from the Multi Resolution Land Characteristics (MRLC) Consortium. Unzip the download into ./fhba/src/fhba/app/appdata/annual_nlcd
- Update the application config file to point to the correct NLCD file (e.g., update
nlcd_filenameto have the correct year in the filename)- Execute the python script (e.g.,
uv run /fhba/process_landcover_mask.py) as above.
This tool relies on a landcover mased derived from the USGS National Land Cover Database. As seen in the image below, the Flint Hills primarily consists of NLCD categories 71 (Grasslands/Herbaceous) and 81 (Pasture/Hay). A recent version of the NLCD (Annual Land cover for 2024) is included in the repository via Git Large File Storage, and should be automatically downloaded locally when the repository is cloned.
The included fhba/process_landcover_mask.py script generates an appropriate landcover mask based on the bounding box specified in the config.yaml file so that only pixels coincident with these two NLCD categories are considered to have the potential to burn.
Execute the script with:
uv run ./src/fhba/process_landcover_mask.py
