Soaring temperatures of nearly 40 degrees are expected in parts of southern B.C. this weekend, and the public is being warned to limit their time outdoors.

Environment Canada said a major heat wave will be hitting the South Coast and Southern Interior, with the hottest weather forecast for Saturday and Sunday afternoons.

“You may have trouble falling asleep too because it’s going to stay warm even through the evenings,” CTV weathercaster Marke Driesschen said.

The highest temperatures are forecast in the Southern Interior, but even Metro Vancouverites can expect temperatures in the low-thirties.

Vancouver said it will be setting up temporary water stations to help people stay hydrated, and that anyone who is feeling overheated can stop into an air conditioned library or community centre.

The city won’t be imposing any emergency measures until Environment Canada or health authorities issue an alert, however.

During the heat, people are urged to wear sunscreen, avoid spending too much time in the sun, and to never leave children or pets unattended in hot cars.

Any bystanders who see someone locked in a muggy car is urged not to break the windows, and call 911 instead.

In a special weather statement issued Thursday, Environment Canada blamed the approaching heat wave on an exceptionally strong ridge of high pressure that will be building over Western Canada starting Friday.

The agency said things will cool down a bit starting Monday, but unseasonably high temperatures are expected to continue through Canada Day.

With a report from CTV Vancouver’s Tom Popyck