Wareham scientist to get medal for aiding whales