-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Recent Weather in DRWI #3574
Conversation
The DRWI includes DRB and some neighboring HUCs in New Jersey. Instructions for how this was made are in the README. This will be used for recent weather stations.
Since we use the boundary check both in the back- and front-ends, we need to wire it through to be available in both places.
This is not the most sustainable design, but will do for now. Just like the `in_drb` attribute, we add a new one that checks if the project is in the DRWI region. This is also added to the weather modal's WindowModel, since that will need this information for correct rendering of simulated weather options.
This will show a grayed out box with appropriate message for DRWI and DRB-specific Simulated Weather options given the AoI. These boundaries will also be enforced at the API level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! For each of the shape scenarios I had the expected data available/unavailable in the weather data dropdown.
done for `drb_simple_perimeter`. The file was then manually edited to remove | ||
the `GeometryCollection` parent, keeping only the `Polygon` value. | ||
|
||
Finally, this was Unioned and Dissolved with the `drb_simple_perimeter` in QGIS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice documentation 👏
distance = 3, | ||
unit = 'miles', | ||
drwiBuf = turfBuffer(drwi, distance, unit); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be combined into a general purpose buffer script with DRB or DRWI flag arguments to set the path variables or is it better to have this as a separate script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably could be parameterized into a single script, but since different shapes could have different buffer radii based on their size and shape, and there's little else in these files but those variables, I decided to keep them separate.
Thank you for reviewing! |
Overview
Copy of #3548, for the hotfix.
Closes #3569
Testing Instructions
bundle.sh --debug