Main harmonization script
moirai_carbon_harmonization.R which performs the harmonization for three types of carbon (soil, above ground biomass, below ground biomass) for 6 states (weighted_average, min, max, q1, q3, median). Each type of carbon requires around 20 mins to run through (bringing the total runtime of the script to 1 hour).
Description of harmonization process
The figure below describes the harmonization process from start to finish.We begin with the raw carbon data and the ESA land classes. Carbon is calculated for each ESA class. This carbon is then resampled to get the 5arcmin map for the same class for each of the 6 states. Finally the R script is used to harmonize the data to the moirai land cover in the reference year.
Figure 1: Description of the harmonization process
As a part of the final harmonization we also use a nearest neighbor interpolation to increase coverage. The current nearest neighbor interpolation is based on 10 nearest neighbors within the same land class. The table below shows the results of NODATA cells remaining by land class after interpolation (both for vegetation and soil). As indicated by the table, even after the interpolation no data is found for the Polar desert and rock ice and Tundra land types.
| LC type | Total cells | Vegetation carbon Percentage unfound (NO DATA cells after interpolation) | Soil carbon Percentage unfound (NO DATA cells after interpolation) |
|---|---|---|---|
| Polardesert/rock/ice | 132021 | 100.0 | 100.0 |
| Tundra | 214261 | 100.0 | 86.6 |
| OpenShrubland | 274296 | 16.0 | 16.0 |
| BorealDeciduousForest/Woodland | 65824 | 0.0 | 0.4 |
| Grassland/Steppe | 498404 | 15.0 | 14.6 |
| Desert | 195579 | 1.0 | 1.1 |
| BorealEvergreenForest/Woodland | 148756 | 0.0 | 0.0 |
| Savanna | 173776 | 8.0 | 7.6 |
| TemperateNeedleleafEvergreenForest/Woodland | 71600 | 1.0 | 0.5 |
| TemperateDeciduousForest/Woodland | 86922 | 1.0 | 1.1 |
| DenseShrubland | 78065 | 10.0 | 9.5 |
| TropicalEvergreenForest/Woodland | 190780 | 0.0 | 0.3 |
| TemperateBroadleafEvergreenForest/Woodland | 14395 | 0.0 | 0.3 |
| TropicalDeciduousForest/Woodland | 56377 | 1.0 | 1.4 |