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
Repository
Basic Info
- Host: GitHub
- Owner: cboettig
- License: mit
- Language: R
- Default Branch: main
- Homepage: https://cboettig.github.io/modis-lai-forecast/spatial_forecast_example.html
- Size: 1.29 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 6
- Open Issues: 0
- Releases: 0
Metadata Files
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.
- 🗺️ Example notebook
- :octocat: source
Workflow overview
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 agdalcubedata 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 asNAand 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 vectorxof (possibly missing) data and fillsNAvalues using a bootstrap re-sampling of non-NAvalues.
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
- Website: http://carlboettiger.info
- Repositories: 173
- Profile: https://github.com/cboettig
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
- actions/checkout v3 composite
- r-lib/actions/setup-renv v2 composite
- eco4cast/rocker-binder latest build