ERA5 rainfall — minimal notebook
~{python} print(“Hello from Python — if you don’t see this line below, execution didn’t run.”)~
~~~{python} import numpy as np import matplotlib.pyplot as plt
lat = np.linspace(-60, 60, 121) lon = np.linspace(-180, 180, 361) data = np.random.gamma(2, 1, (len(lat), len(lon)))
plt.figure() plt.imshow(data, extent=[lon.min(), lon.max(), lat.min(), lat.max()], origin=“lower”) plt.title(“Synthetic ERA5-like rainfall map”) plt.xlabel(“Longitude”); plt.ylabel(“Latitude”) plt.show() ~~~