Locals said up to 50 whales had been stranded on the coastline overnight, Radio New Zealand reported.