Skip to content

v1.0.0

Compare
Choose a tag to compare
@IndigoWizard IndigoWizard released this 04 Feb 12:07
· 22 commits to streamlit-app since this release
121082a

Wildfire Burn Severity Analysis - v1.0.0

Overview

This release marks a significant milestone as the project transitions from a static .html-based webmap to a fully interactive and dynamic web application built using Streamlit framework. The new app enhances user interactivity, introduces new features for analysis and visualization, and improves overall accessibility and usability.

wildfire-burn-severity-analysis-v1-0-0

Key Changes

Migration to Streamlit Web App with the v1.0.0:

Rebuilt the application as a Streamlit web app to replace the standalone static .html file.

Interactive user inputs for:

  • Date selection (pre-fire and post-fire imagery).
  • Cloud coverage threshold.
  • Area of interest (AOI) file uploads.

Added support for following indices and layers:

  • Normalized Difference Water Index (NDWI).
  • Normalized Burn Ratio (NBR).
  • Differenced Normalized Burn Ratio (dNBR).
  • Reclassified dNBR (classified burn severity levels).

Improved map visualization, including fixing date discrepancies on layer names.

New Features

Raster Masking:

  • Added land and water masks for cleaner visualization.
  • Improved variable naming for clarity and removed unused functions.

Burn Scar Area Vector Layer:

  • Displays a vector layer that calculates and highlights burnt areas using a supervised classification of dNBR.

Area Statistics and Results Reporting:

  • Calculates AOI and individual supervised dNBR classes surface areas.
  • Introduced a pie chart visualization for burn severity statistics using nivo and mui libraries.
  • Enhanced layout and organization of report sections.

Accessibility Features:

  • Implemented colorblind-friendly palettes: Deuteranomaly, Protanomaly, Tritanomaly, and Achromatopsia.
  • Dynamically updates raster layers, legends, and visual stats (e.g., pie chart) to match the selected palette.

Improved User Experience

Streamlit UI Enhancements:

  • Redesigned layout:
    • Added a sidebar with navigation and essential information.
    • Included a map legend for better interpretability of layers.
    • Organized the interface with responsive columns for desktop and mobile devices.
  • Custom CSS for a polished dark and light theme experience.

Resource consumption optimization:

  • Switched to a form-based input system to minimize resource usage and prevent app crashes on Streamlit Cloud.
  • Enhanced performance for large AOIs.

Technical Improvements

Authentication Method Update:

  • Integrated a new Google Earth Engine authentication method using a google service account and key.
  • Deprecated geemap-based authentication.

Requirements Updates:

  • Refactored requirements.txt for compatibility with Streamlit Cloud.
  • Updated package versions to resolve compatibility issues with newer dependencies.
  • Added streamlit-elements for enhanced visual components.

Additional Enhancements

Informational Sections:

  • Included detailed explanations for result interpretation, data sources, and credits.
  • Enhanced navigation for better usability.

Removed Legacy Components:

  • Deleted unused Python scripts from the previous version.
  • Removed dependencies on unused packages like geemap.

How to Update

  1. Install or update the required dependencies:
pip install -r requirements.txt
  1. Deploy the app locally or on Streamlit Cloud for a seamless experience:
  • Ensure the service account JSON key for Google Earth Engine is properly configured.