The threshold for a heatwave is met when the maximum temperature of a station reaches at least 40 degrees Celsius in the plains, at least 37 degrees Celsius in coastal areas, and at least 30 degrees Celsius in hilly regions, and the departure from normal is at least 4.5 degrees Celsius.