UDef-ARP was developed by Clark Labs, in collaboration with TerraCarbon, to facilitate implementation of the Verra tool, VT0007 Unplanned Deforestation Allocation (UDef-A).
GNU General Public License v3.0
25
stars
14
forks
source link
fix(vulnerability_map.py): alternative geometric classification #37
Refined alternative geometric classification algorithm to correct zone width assignments.
The original algorithm assigned narrow zones in areas of lowest vulnerability and wider zones in areas of highest vulnerability. This update reverses that logic, ensuring narrow zones are applied to areas of highest vulnerability, with progressively wider zones for lower-vulnerability areas.
According to UDef-A, in the alternative geometric classification, Common Ratio is as follow:
Common Ratio(r) = (LLmax/LLmin)^1/n_classes
Where:
r = Common ratio (unitless)
LLmax = Higher limit of the highest vulnerability class (m) = 2
LLmin = Lower limit of the lowest vulnerability class = 1
n_classes = Number of vulnerability classes = 30
r=(2/1)^1/30=~1.02337389199677
The alternative geometric classification differs from the original geometric classification, as the class ID increases, the bin width decreases (in contrast to the original geometric classification, where both the class ID and bin width increase). The formula for LLc in alternative geometric classification is as follow :
LLc = LLmin + (LLmax - LLmin) * r^c
Where:
LLc = Lower limit of the cth vulnerability class (m)
LLmax = Higher limit of the highest vulnerability class (m) = 2
LLmin = Lower limit of the lowest vulnerability class = 1
c = Class number (unitless)
r = Common ratio (unitless)
Refined alternative geometric classification algorithm to correct zone width assignments.
The original algorithm assigned narrow zones in areas of lowest vulnerability and wider zones in areas of highest vulnerability. This update reverses that logic, ensuring narrow zones are applied to areas of highest vulnerability, with progressively wider zones for lower-vulnerability areas.
According to UDef-A, in the alternative geometric classification, Common Ratio is as follow:
The alternative geometric classification differs from the original geometric classification, as the class ID increases, the bin width decreases (in contrast to the original geometric classification, where both the class ID and bin width increase). The formula for LLc in alternative geometric classification is as follow :
Class Limits of the Final Vulnerability Map