The endeavor is part of Prince William’s efforts to combat climate change.