https://github.com/adamancer/ea-drought-burn

Notebooks and code for evaluating the effect of vegetation mortality on wildfire burn severity in the Woolsey Fire

https://github.com/adamancer/ea-drought-burn

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 17 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

satellite-imagery wildfires
Last synced: 9 months ago · JSON representation

Repository

Notebooks and code for evaluating the effect of vegetation mortality on wildfire burn severity in the Woolsey Fire

Basic Info
  • Host: GitHub
  • Owner: adamancer
  • License: bsd-3-clause
  • Language: HTML
  • Default Branch: main
  • Homepage:
  • Size: 2.26 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
satellite-imagery wildfires
Created about 5 years ago · Last pushed almost 5 years ago
Metadata Files
Readme License

README.md

ea-drought-burn

DOI

This repository contains code for evaluating the effect of vegetation mortality on burn severity during the Woolsey Fire. It was developed as part of the CU Boulder Earth Data Analytics Certificate Program.

Background

The Woolsey Fire burned nearly 100,000 acres near Malibu, CA in November 2018. A four-year drought preceded the fire, resulting in widespread dieback of grass, shrubs, and trees in and around the area that burned. This project seeks to understand how the dieback affected the severity of the fire. Did areas where more vegetation die burn more severely during the fire? Can satellite-based estimates of dieback be used to inform planning for future wildfires?

In this repository, I've used the random-forest machine-learning algorithm to try to evaluate these questions.

Installation

The following software is required to install this package using the instructions below:

Once you have Git and Miniconda installed, open the command line and run the following commands to set up the environment needed to run this package:

git clone https://github.com/adamancer/ea-drought-burn cd ea-drought-burn conda env create --file environment.yml conda activate ea-drought-burn

Then install the ea-drought-burn scripts using:

pip install -e .

Usage

The data required for this project is not currently available for download. Some data was prepared by other researchers, and I do not have permission to share it. To run the notebooks in this repository, please contact me to obtain a copy of the data as a zip file, then extract it to *~/earth-analytics/data/woolsey-fire*.

The package includes the following directories:

  • eadroughtburn contains a set of utility functions used by the notebooks to read, process, and plot raster data.

  • notebooks contains a set of Jupyter Notebooks used to explore and model climate, vegetation, and burn severity data related to the Woolsey Fire.

  • reports contains documents summarizing the results of the project.

Notebooks

Notebooks include:

  • 0-run-all-notebooks.ipynb runs all notebooks in the notebooks directory

  • 1-load-data.ipynb loads and provides reference info for the data used in this project. The full list of references is below.

  • 2-data-exploration.ipynb includes plots and descriptions of the data used in the burn-severity model.

  • 3-random-forest.ipynb runs a random-forest model that predicts burn severity for the Woolsey Fire based on pre-fire conditions. Variables, sampling strategies, and the area of interest are all adjustable. By default, individual runs are saved to ~/earth-analytics/data/woolsey-fire/outputs/models.

  • 4-view-model-results.ipynb allow you to view and compare results of previous models.

  • 5-project-report.ipynb generates an HTML blog post summarizing some results of this project for a general audience.

Once you have a copy of the data in the right place, you can run the notebooks using the Jupyter Notebook interface:

conda activate ea-drought-burn cd path/to/ea-drought-burn jupyter notebook

Open and run 0-run-all-notebooks.ipynb in the Jupyter Notebook interface to run all notebooks at once and recreate the HTML report in the reports directory.

Utility functions

The utility functions defined in eadroughtburn can be accessed directly. For example, the plot_bands function simplifies plotting an xarray.DataArray using the earthpy library:

```python import rioxarray as rxr

from eadroughtburn.utils import plot_bands

xda = rxr.openrasterio("path/to/raster.tif", masked=True) plotbands(xda) ```

Citation

Please see the Zenodo record for this repository for a version-specific citation.

References

Data and publications used in this repository include:

  • CA State Boundary. Available from: https://data.ca.gov/dataset/ca-geographic-boundaries/resource/3db1e426-fb51-44f5-82d5-a54d7c6e188b.

  • Dagit R, Contreras S, Daukiss R, Spyrka A, Quelly N, Foster K, Nickmeyer A, Rousseau B, Chang E. How can we save our native trees? Drought and Invasive Beetle impacts on Wildland Trees and Shrublands in the Santa Monica Mountains. Final Report for Los Angeles County Contract CP-03-44. 2017. Available from: https://www.rcdsmm.org/wp-content/uploads/2016/04/Drought-and-Invasive-Beetle-impacts-RCDSMM-1.2.18.pdf.

  • Eidenshink J, Schwind B, Brewer K et al. A Project for Monitoring Trends in Burn Severity. Fire Ecol. 2007;3:3-21. doi:10.4996/fireecology.0301003.

  • Foster K, Queally N, Nickmeyer A, Rousseau N. Appendix: Santa Monica Mountains Ecological Forecasting II: Utilizing NASA Earth Observations to Determine Drought Dieback and Insect-related Damage in the Santa Monica Mountains, California. 2017A. Avalable from: https://www.rcdsmm.org/wp-content/uploads/2016/04/Drought-and-Tree-Appendices_12.15.17.pdf.

  • Foster K, Queally N, Nickmeyer A, Rousseau N. Utilizing NASA Earth Observations to Determine Drought Dieback and Insect-related Damage in the Santa Monica Mountains, California. 2017B. Available from: https://develop.larc.nasa.gov/2017/fall/posters/2017FallJPLSantaMonicaMountainsEcoII_Poster.pdf

  • Gao B. NDWI—A normalized difference water index for remote sensing of vegetation liquid water from space. Remote Sens Environ. 1996;58(3):257-266. doi:10.1016/S0034-4257(96)00067-3.

  • Hicke JA, Johnson MC, Hayes JL, Presiler HK. Effects of bark beetle-caused tree mortality on wildfire. For Ecol Manag. 2013;271:81-90. doi:10.1016/j.foreco.2012.02.005.

  • McCune B, Keon D. Equations for potential annual direct incident radiation and heat load. Jour Veg Sci. 2002;13(4):603-606. doi:10.1111/j.1654-1103.2002.tb02087.x.

  • National Interagency Fire Center. Historic Perimeters Combined 2000-2018. 2019. Available from: https://data-nifc.opendata.arcgis.com/datasets/historic-perimeters-combined-2000-2018.

  • National Interagency Fire Center. Interagency Fire Perimeter History - All Years. 2021. Available from: https://data-nifc.opendata.arcgis.com/datasets/4454e5d8e8c44b0280258b51bcf24794_0.

  • Rao K, Williams AP, Flefil JF, Konings AG. SAR-enhanced mapping of live fuel moisture content. Remote Sens Environ. 2020;245:111797. doi:10.1016/j.rse.2020.111797.

  • PRISM Climate Group, Oregon State University https://prism.oregonstate.edu, created October 2017.

  • PRISM Climate Group, Oregon State University https://prism.oregonstate.edu, created June 2021.

Owner

  • Name: Adam Mansur
  • Login: adamancer
  • Kind: user
  • Location: Ellensburg, WA
  • Company: Smithsonian Institution

I manage data and informatics for the Department of Mineral Sciences at the Smithsonian. I used to do geochemsitry, but lab work wasn't for me.

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 40
  • Total Committers: 1
  • Avg Commits per committer: 40.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Adam Mansur m****a@s****u 40
Committer Domains (Top 20 + Academic)
si.edu: 1

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

environment.yml pypi
setup.py pypi