WikiWatershed / model-my-watershed

The web application front end for Model My Watershed.
https://modelmywatershed.org
Apache License 2.0
57 stars 31 forks source link

AWS 2-5: Analyze Global Streams #3652

Closed rajadain closed 4 days ago

rajadain commented 2 weeks ago

Overview

Adds analysis for global streams. The analysis is lazy, so it doesn't run until someone explicitly selects it from the dropdown. It is also cached when using WKAoIs.

The analysis doesn't include Agricultural Length, because we're not intersecting it with land use data. That is deferred until later.

The Contributing Area calculation needs feedback from the clients before finalizing.

This also adds Vagrant scripts to increase the disk size of the services VM to 128GB, to accommodate the new streams dataset.

Closes #3645

Demo

image

https://github.com/user-attachments/assets/0e505c02-4d31-46c9-97db-323ecbcabf6a

Testing Instructions

Testing this locally requires the addition of the global streams dataset, which is a multi-hour process. To make it easier, I recommend testing on staging, which has this branch deployed:

rajadain commented 2 weeks ago

Talked to clients, they recommend removing Contributing Area for now.

rajadain commented 2 weeks ago

Alright removed the Contributing Area column. This is now ready for review.

rajadain commented 2 weeks ago

Reminder to myself for making sure we use the proper projection based on where the AoI is

rajadain commented 1 week ago

Alright, the code that gets the correct Albers projection based on AoI location is now implemented in a122968. This is now ready for another look on staging. Please run the same shape, Schuylkill HUC-8 (I've cleared the cache) and check that you get the same numbers as in the screenshot.

rachelekm commented 4 days ago

Alright, the code that gets the correct Albers projection based on AoI location is now implemented in a122968. This is now ready for another look on staging. Please run the same shape, Schuylkill HUC-8 (I've cleared the cache) and check that you get the same numbers as in the screenshot.

Sorry for the delay in re-reviewing! Confirming that I get the same numbers in the analysis on staging as in the screenshot above 👍

rajadain commented 4 days ago

Thanks for reviewing!