Data is a critical factor in enabling cities to transition to cleaner energy, and cities are finding creative ways to get the data they need.