DIST ALERT - #4
Open
conordoremus wants to merge 16 commits into
Open
Conversation
…to utils, modified DIST_ALERT ipynb
… a preference for changes incoming from main.
…rld which now includes a documentation notebook and all related modules and .py files.
…le dw_variables.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR is focused on analyzing the DIST-ANN product from the UMD GLAD Lab and uses Dynamic World land cover classifications to assess pre and post disturbance land cover change. The disturbance directory includes modules housing functions created to process, function, and analyze DIST and Dynamic World data. The prefixes "dist_" and "dw_" differentiate which data source the module applies to. The DIST_ALERT notebook is where the analysis will be run and currently contains example visualizations and outputs. The core analysis this PR achieves is identifying disturbed pixels within PAs.
All analysis and code written for Dynamic World (prefix dw_) was moved into the archive folder under a folder named dynamic_world. This code is flawed and the notebook contains errors that were not resolved at this point but are explicitly mentioned in the dist_dw_psm.ipynb. Leaving them in the archive means they will not be lost and can be returned to if Dynamic World or a similar data source is used in the future.
Changes
Created the disturbance directory of modules used for DIST analysis and a folder in the archive for Dynamic World analysis. The module dist_variables was created added to utils. The DIST_ALERT notebook was created and added to notebooks.
Reviewer Checklist
Associated tickets or issues
TECH-3417
Created, updated, or replaced Files and/or tables
src/disturbance: directory for disturbance related codesrc/disturbance/dist_status: code for analyzing disturbance data using dist-status layersrc/disturbance/dist_anom_conf: code for analyzing the disturbance data using anomaly and confidence layerssrc/disturbance/dist_visualization: code for visualizing disturbance layersarchive/dynamic_world: an archive folder that now contains all DW related code and filesarchive/dynamic_world/dist_dw_psm.ipynb: an ipynb which walks through the DW functions and an attempt at combining the DIST, DW, and PSM workflowsarchive/dynamic_world/dw_analysis: code for analyzing change in DW land coverarchive/dynamic_world/dw_builders: functions for building DW compositesarchive/dynamic_world/dw_results: functions for parsing land cover change resultsarchive/dynamic_world/dw_visualization: functions for visualizing DW land cover change resultsarchive/dynamic_world/dw_variables.py: stores variables used for DW analysis - moved from utils/dist_variables to be part of archiveutils/dist_variables.py: stores variables used for DIST analysispyproject.toml: updated earthengine-api and added geopandas, stackstac, earthaccess, pystac-client, geopandas, hvplot, xarray, rioxarray