Code involved in the climate extremes portal