# Exercise 1: AAR and balance against ELA, then where does the balance cross zero? # Exercise 1: tabulate AAR and balance against ELA, then interpolate where the balance crosses zero BANDS = [(2900, 0.4), (2800, 0.7), (2700, 1.0), (2600, 1.3), (2500, 1.5), (2400, 1.4), (2300, 1.1), (2200, 0.8), (2100, 0.5), (2000, 0.3)] GRAD = 0.007 AREA = sum(a for _, a in BANDS) def aar(ela): return sum(a for z, a in BANDS if z > ela) / AREA def balance(ela): return sum(GRAD * (z - ela) * a for z, a in BANDS) / AREA rows = [(ela, aar(ela), balance(ela)) for ela in range(2050, 2951, 100)] print(" ELA AAR balance (m w.e./yr)") for ela, a, b in rows: print(f"{ela:5d} {a:4.2f} {b:+6.2f}") for (e1, a1, b1), (e2, a2, b2) in zip(rows, rows[1:]): if b1 > 0 >= b2: zero = e1 + (e2 - e1) * b1 / (b1 - b2) print(f"Balance crosses zero between {e1} m and {e2} m, at about {zero:.0f} m") print(f"AAR there is between {a2:.2f} and {a1:.2f}") # ELA AAR balance (m w.e./yr) # 2050 0.97 +2.96 # 2150 0.91 +2.26 # 2250 0.82 +1.56 # 2350 0.70 +0.86 # 2450 0.54 +0.16 # 2550 0.38 -0.54 # 2650 0.23 -1.24 # 2750 0.12 -1.94 # 2850 0.04 -2.64 # 2950 0.00 -3.34 # Balance crosses zero between 2450 m and 2550 m, at about 2472 m # AAR there is between 0.38 and 0.54 # The balance crosses zero near 2472 m, the same steady-state ELA found in the chapter. Higher ELA means a smaller # accumulation area ratio and a more negative balance. The AAR at the balanced ELA is roughly 0.5 here (check: balanced glaciers often sit between 0.5 and 0.7).