Skip to content

Commit

Permalink
revert zero weight note
Browse files Browse the repository at this point in the history
  • Loading branch information
flohump committed Jun 11, 2024
1 parent b2813f7 commit 4cf96d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/output/extra/disaggregation.R
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ message("Disaggregating BII values")
land_ini_hr <- read.magpie(land_hr_file)[, "y1995", ]
side_layers_hr <- read.magpie(luh_side_layers)
landArea <- dimSums(land_ini_hr, dim = 3)
side_layers_lr <- toolAggregate(x = side_layers_hr, rel = map_file, weight = landArea, from = "cell", to = "cluster", zeroWeight = "allow")
side_layers_lr <- toolAggregate(x = side_layers_hr, rel = map_file, weight = landArea, from = "cell", to = "cluster")

# Convert land types for BII disaggregation
land_ini_hr <- mbind(
Expand Down

0 comments on commit 4cf96d1

Please sign in to comment.