# prize35-5 Exercise 3: what clearing rainforest for pasture does to production biomes = { "tropical rainforest": (17, 900), "savanna": (15, 400), "temperate forest": (12, 600), "boreal forest": (12, 250), "temperate grassland": (9, 300), "tundra": (8, 100), "desert": (45, 40), } def land_total(table): return sum(area * npp / 1000 for area, npp in table.values()) before = land_total(biomes) cleared = 2 after_table = dict(biomes) rain_area, rain_npp = after_table["tropical rainforest"] after_table["tropical rainforest"] = (rain_area - cleared, rain_npp) after_table["pasture"] = (cleared, 350) after = land_total(after_table) print(f"before {before:.1f} GtC a year, after {after:.1f} GtC a year") print(f"change {after - before:+.2f} GtC a year ({(after - before) / before:+.1%} of land total)") print(f"lost per square metre cleared: {900 - 350} g C a year") # Output: # before 36.8 GtC a year, after 35.7 GtC a year # change -1.10 GtC a year (-3.0% of land total) # lost per square metre cleared: 550 g C a year # Reading it: each square metre cleared loses 550 g C a year of production. Clearing 2 million km2 trims the # land total by about 1.1 GtC a year (3.0%) in this table. That counts only yearly production, not the # carbon already stored in the trees and soil, which is released on clearing and is a much bigger one-off.