-
Notifications
You must be signed in to change notification settings - Fork 0
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
WTW_NAT_SPECIES_METADATA.xlsx: Protected_Km2, Pct_Protected #1
Comments
I think those columns would be good to keep in the ERAPs. At least in the short term. If it makes sense we could incorporate that code into the ERAP workflow by adding a script that calculates the columns. That way you could drop it from the species prep repo and we just run it once a year when the ERAPs get refreshed. I know the original calculations ran on the raw vector layers for ECCC data. We could consider just running it on the 1km raster data so it matches how I calculate the ecoregion values. |
I am surprised that Also, those values should be updated regularly, at least once a year but we could even consider keeping the protected layer current through an automated process to ensure new additions to the NCC portfolio are considered when they close. Sorry if I'm missing something here. I haven't kept up to date on this. |
There is a method on the This is done when the app initializes and when you toggle includes off: WTW does all this on the fly. And for data prep, the Ok, sounds like we should keep these columns. I just need to make sure that they reflect the updated includes layer. This is the script that creates I generated a RIJ Matrix with the 1km Existing Conservation layer. Which is CPCAD + NCC Fee Simple & NCC Conservation Agreements as a continuous Ha layer. I then intersect the species RIJ with the continuous includes RIJ, and build out the columns. EDIT And here is where I build the Existing Conservation Layer (vector and raster). Both in Ha and as binary (50% cut off). |
The goal column does carry through to the app here: @DanWismer can you confirm that? The goal won't change unless the total range changes though because its based on the full range extent across Canada. |
The Total KM2 is calculated by summing up the entire species area. And the Goal is then calculated by calling the So the protection columns do not intersect with the Goal column. Does this make sense? Bit of a puzzle wracking my brain around it all. edit For wtw-data-prep and WTW, we use the pre-populated goals from If we calculated this on the fly in wtw-data-prep, we would only be calculating a Goal of the species area that intersects the AOI. I also use Yes, the goal will not change unless the |
I would add: or the area protected across the country (that intersects the species range) changes. |
Recording here that Dan and Marc decided that the national total coverage and goals should be maintained in wtw-species-prep, and the ERAPs will calculate the national protection values required for the ERAP analysis. Moving the protection goals over to the ERAPs will be done for the 2025 release. We're out of time to incorporate this into v1. |
The
Protected_Km2
andPct_Protected
are likely out dated from when I first built those columns in summer 2023:https://github.com/NCC-CNC/wtw-species-prep/blob/main/R/species_metadata.R
These columns are not needed for WTW or wtw-data-prep and I was thinking of dropping them in the
WTW_NAT_SPECIES_METADATA
.Or
I can revisit that wtw-species-prep and do some updates. It should only be a matter of rerunning with the updated includes data. The species data hasn't changed.
Do you think calculating the species total_km2, Protected_km2, and Pct_protected should be in the ERAP workflow?
https://github.com/NCC-CNC/erap_code/blob/653ca1934529af10806de514e1627579fc4f18fe/5c_species_extractions.R#L46-L50
The text was updated successfully, but these errors were encountered: