Closed PhDyellow closed 3 years ago
Functionality is implemented, we can take the gfbootstrap_cluster rows and produce a plot showing the area covered by MPAs, sorted by coverage.
I need to refactor the functionality, so that I am not doing the computationally expensive clean of the WDPA MPA polygons for every single survey, but that is covered in issue #12.
I currently get the clusters as polygons in the plotting code in
plot_gfbootstrap.R
, and discard them once the plots are done. I may want to precalculate the polygons and reuse them, but I will refactor later.The MPAs are available in wdpar. I have some trial code in
quick_grab_copepod_mpa.R
that also calculates overlap, but only for grid cells.