NCC-CNC / wheretowork

Interactive application for systematic conservation planning
https://NCC-CNC.github.io/wheretowork
Other
7 stars 1 forks source link

Generating importance values for solutions #324

Open edwardsmarc opened 1 year ago

edwardsmarc commented 1 year ago

The following ideas came out of meetings with the BC pilot project team. Recognizing that for some scenarios (especially when no Includes are used), repeating the same run could give different solutions (i.e. because we use an optimality gap of 10% in WTW), they are interested in reporting importance scores for each planning unit. There could be multiple approaches to this which I'll list for discussion here, roughly in order of difficulty to implement:

Export rij marix into csv or shapefile

Count the number of goals each PU contributes to

Calculate the resiliency index of each solution PU

Portfolio

edwardsmarc commented 1 year ago

Now thinking that these kinds of analyses will be conducted post-WTW. Ultimately the WTW solution will get processed in the Resiliency Index. But users may still want to do their own GIS analysis on the solutions. The following are my recommendations for now:

Export rij marix

Count number of goals each PU contributes to

Calculate resiliency index of each solution PU

Portfolio

ricschuster commented 1 year ago

Thanks very much @edwardsmarc !

This one Count number of goals each PU contributes to wouldn't be hard to do as the information can be extracted by using the rij matrix and a solution. Selecting the rows (species and such) from the rij matrix that correspond to a pu would give you this result. Not sure how easy that is in GIS, but in R its super simple to do.

edwardsmarc commented 1 year ago

Thanks very much @edwardsmarc !

This one Count number of goals each PU contributes to wouldn't be hard to do as the information can be extracted by using the rij matrix and a solution. Selecting the rows (species and such) from the rij matrix that correspond to a pu would give you this result. Not sure how easy that is in GIS, but in R its super simple to do.

Agreed, we'd also need to subset by themes that met their goals.

I'm realising we don't really have a good way to export the WTW data for further analysis. We can download the solution tif and summary info, but we don't have a way to subset by goals passed or by solution. It would be pretty handy if we just exported the rij matrix (wtw dataset objects) for passed and missed goals as two .rds objects.

edwardsmarc commented 1 month ago

This is related to #358 which is one implementation of the ideas documented in this issue.