Skip to content

finalized dist archived dw - #16

Open
conordoremus wants to merge 5 commits into
continued_dist_new_dwfrom
finalized_dist_archived_dw
Open

conordoremus wants to merge 5 commits into
continued_dist_new_dwfrom
finalized_dist_archived_dw

Conversation

@conordoremus

@conordoremus conordoremus commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Description

Archived all work relating to Dynamic World in the notebooks/archive/dynamic_world folder and updated the branch to reflect the status of main.

All analysis and code written for Dynamic World (prefix dw_) was moved into the archive under notebooks/archive/dynamic_world. This code is flawed and the notebook contains errors, like broken data pipelines and unfinished analysis, 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.

Created, updated, or replaced Files and/or tables

  • DIST_ALERT.ipynb: removed all dynamic world and propensity score matching - now only includes dist related work
  • notebooks/archive/dynamic_world: an archive folder containing all Dynamic World related work and the PSM attempts
    • dist_dw_psm.ipynb: a notebook that walks the user through the Dynamic World functions and attempts at integration into PSM
    • dw_analysis: moved to archive
    • dw_builders: moved to archive
    • dw_results: moved to archive
    • dw_variables: created to move variables to the archive
    • dw_visualization: moved to archive
  • Many other files are listed as changed but that stems from a merge performed attempting to align the branch with the current state of main.

Notes for reviewers

The main notebook DIST_ALERT.ipynb as it is in this PR should be production ready, so any feedback is most important and crucial at this point.

Stack created with GitHub Stacks CLIGive Feedback 💬

@alanalutz
alanalutz force-pushed the finalized_dist_archived_dw branch from 25acc6f to c523c77 Compare September 9, 2026 15:45
@alanalutz
alanalutz marked this pull request as ready for review September 9, 2026 15:46

@alanalutz alanalutz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't really review the archived dynamic world code, but we can always come back to it later if it needs to be fixed up and used. I did review and leave a couple of small comments on DIST_ALERT.ipynb.

Comment thread notebooks/DIST_ALERT.ipynb Outdated
"from disturbance.dw_results import results_to_summary_df, results_to_transitions_df, get_transition_mask\n",
"\n",
"from disturbance.dw_visualization import visualize_dw_on_map, plot_lc_change\n",
"\n",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These imports don't match the capitalization in the filenames that they import from, so the imports fail.
e.g. dist_status --> DIST_STATUS

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the map visualization it is difficult to tell which layer is derived from VEGDISTSTATUS and which layer is derived from VEGANOMMAX + VEGDISTCONF. It would be nice if the code would instead produce a map with 2 clearly labeled layers to directly compare the two outputs.

@conordoremus
conordoremus force-pushed the finalized_dist_archived_dw branch from c523c77 to a88bae0 Compare September 18, 2026 17:25
cjthomas730 and others added 5 commits September 18, 2026 15:24
* added dir and code for creating test/control grids as an input for future propensity score steps

* added geopandas to toml

* set up psm testing notebook

* added archive directory locally, including it in the gitignore

* added geopandas

* added numpy

* updated to output parquet, gave option to save intermediate files

* added data dir for repo-based files

* added variables related to PSM grid creation

* add pyarrow to toml

---------

Co-authored-by: alanalutz <81712531+alanalutz@users.noreply.github.com>
…rld which now includes a documentation notebook and all related modules and .py files.
…are distinguishable from layers showing disturbance status and added a colorbar to show DIST AC disturbance percentage.
@conordoremus
conordoremus force-pushed the finalized_dist_archived_dw branch from a88bae0 to da22e22 Compare September 18, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants