import numpy as np
with np.load("weather_data.npz") as weather:
temperature = weather["temperature"]
uk_mask = weather["uk"]
irl_mask = weather["ireland"]
spain_mask = weather["spain"]
np.max(temperature)
uk_temp = temperature * uk_mask
np.max(uk_temp)
np.max(temperature * irl_mask)
np.max(temperature * spain_mask)