-
Notifications
You must be signed in to change notification settings - Fork 1
Description
as proposed by @timadriaens
Having discussed with @SanderDevisscher and looked at the results of the bulbul climate matching, we notice that the maps produced are not very clear nor useful to provide an idea to a risk assessor about areas at risk. The reason is that the %overlap (perc_climate) is calculated on the entire global dataset and many records do not "hit" a climate classification that occurs in the risk assessment area (Europe). Consequently, when making the legend, the 'suitability' is extremely low overall.
To better visualize the areas at risk in Europe, we propose to calculate the % overlap using only the records that intersect in a climate classification occurring in Europe. Maybe we could also think about an automated way of reclassification (highly suitable, moderately suitable, low suitability).
=> I'll add this "subset" as a new type of map output based on the code below, the cm output and the single species maps
https://github.com/inbo/riparias-prep/blob/5c3039199c6104a30adf0a382651e16fe2c202b3/scripts/bul_bul_cm.Rmd#L89-L156
this output has to be NULL when maps == FALSE
and/or when missing(region)
n_totaal
, and consequently the perc_climate
, needs to be recalculated to only take observations in climate zones present in the region of intrest into account.
the new outputs shall be:
- region_cm: the recalculated cm
- region_single_species_maps: The visualized region_cm with bbox around the region_shape