https://github.com/cboettig/modis-lai-forecast

https://github.com/cboettig/modis-lai-forecast

Science Score: 23.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: science.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 6
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

modis-lai-forecast

project team: John Smith, David Durden, Emma Mendelsohn, Carl Boettiger

This repo holds code for a spatially explicit forecasting challenge pipeline to benchmark spatial models using MODIS leaf index data. In this example we focus on locations of wildfire burns and recovery.

Workflow overview

efi-spatial (3)

Site selection

Our goal is to select locations across a variety of environments and burn conditions. Currently we have two sites selected from Monitoring Trends in Burn Severity (MTBS). These shapefiles are available in the /shp directory. - California August complex fire - Colorado East Troublesome

Functions

Functions are stored in the R/ directory.

  • fire_bbox() reads in a fire boundary shapefile and determines a bounding box for grabbing MODIS data with a padding option.
  • ingest_planetary_data() downloads data from Microsoft planetary comuputer and returns a gdalcube data cube proxy object.
  • create_target_file() subsets the data cube, pulls data for a given data and serializes target geotiff to disk.
  • spat_climatology() creates climatology predictions and serializes prediction geotiff to disk. Predictions are created using an ensemble of historical data within a given month. If historical data is missing, values are treated as NA and bootstrap re-sampling is performed using previous monthly data.
  • scoring_spat_ensemble() assigns CRPS (Continuous Ranked Probability Scores) and Logarithmic Scores for a given target file and ensemble forecast. Serializes scored geotiff to disk.
  • na_bootstrap_fun() is used internally for re-sampling during creation of climatological forecasts. The function takes a vector x of (possibly missing) data and fills NA values using a bootstrap re-sampling of non-NA values.

Environment

This project uses renv for package management. Use renv::restore() to load project packages.

Next steps

  • Ingest additional fire sites. Potential locations
    • NEON GRSM: https://www.neonscience.org/
    • NEON SOAP: https://www.neonscience.org/field-sites/soap
    • Arizona rapid burn/recovery
    • Eastern canada fires
  • Ingest addition data streams (e.g., burn intensity from MTBS)
  • Deployment for submissions

Owner

  • Name: Carl Boettiger
  • Login: cboettig
  • Kind: user
  • Company: UC Berkeley

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 minutes
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.33
  • Merged pull requests: 1
  • 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
  • emmamendelsohn (2)
  • cboettig (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/spatial-forecast.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/setup-renv v2 composite
Dockerfile docker
  • eco4cast/rocker-binder latest build