Authorities are urging the public to avoid outdoor activities and guard against heatstroke with temperatures exceeding 40 degrees Celsius.