The southeastern corner of Pennsylvania is a sun hog.

And it’s probably little to no surprise to residents of Erie and Pittsburgh that their cities are among the gloomiest places in the state (in terms of weather).

Using data about how much sun is shining on each zip code in Pennsylvania for this story on solar energy, PublicSource found that the sunniest places in the state are in Delaware, Chester and Philadelphia counties.

Six Delaware County zip codes were exposed to the most sun in Pennsylvania, and thus the best places to put solar panels.

The sunniest place in Pennsylvania, in terms of solar energy, was Chester Heights, followed by Garnet Valley, Chester, Aston, Brookhaven and Marcus Hook.

The dreariest places are in the state’s western and northwestern portions, with Erie and Pittsburgh getting about 6 to 7 percent less solar energy than the southeastern corner of the state.

Nearly 50 percent more solar energy shines on the country’s sunniest places, like Southern California or Arizona, than it does on Allegheny County.

Of the country’s more than 3,100 counties, you won’t see a single Pennsylvania county rank in the top two-thirds for solar energy.

That’s, in part, because Pennsylvania is a northern state, but Pittsburgh is on roughly the same latitude as counties in Utah that get a lot more sun, according to this Washington Post map.

Last week, PublicSource wrote about the inaccessibility of solar energy for low-income families. We found there are several ways to measure the sun and finding the sunniest place in Pennsylvania can depend on whether you’re a human or a solar panel.

Solar panels do well in places with lots of powerful, direct sunlight to make electricity. Whereas us humans might not be as concerned about the brightness of the sun, as long as it’s a nice day.

That’s one of the primary differences between systems that measure solar radiation, or the energy from the sun, and the systems that measure how often the sun is shining.

The National Oceanic and Atmospheric Administration publishes its comparative climatic dataset, which includes sunshine as a percentage of total daylight hours. For instance, Yuma, Ariz., is the sunniest city in that dataset, seeing the sun 90 percent of the possible time. Other Arizona cities, like Phoenix and Tucson, are lucky enough to see the sun 85 percent of the time.

According to that data, Pittsburgh gets sun roughly 45 percent of its daylight hours, which is last among the six Pennsylvania weather stations. Harrisburg topped the list with 58 percent sunshine during its daylight hours, followed by Philadelphia at 56 percent and Allentown at 53 percent.

However, the National Weather Service has largely phased out sunlight sensors, according to a 2015 report. Pittsburgh had a sunlight sensor recording at the end of 2014, while Philadelphia’s stopped at the end of 2006.

Another way to evaluate weather is to look at the proportion of clear, partly cloudy and cloudy days in a city.

In a much-disputed figure from the National Oceanic and Atmospheric Administration, Pittsburgh has 59 clear days, 103 partly cloudy days and 203 cloudy days each year. That’s even worse than Erie, which receives the least amount of solar energy in the state.

A Pittsburgh Post-Gazette columnist has tracked and refuted the 59 clear days figure several times, saying the city actually gets much more sun.

A clear day is defined by having less than 30 percent average cloud cover, while a partly cloudy day has 40 to 70 percent average cloud cover. Anything more than that is considered a cloudy day.

Reach Eric Holmberg at 412-515-0064 or at eholmberg@publicsource.org. Follow him on Twitter @holmberges.

Know more than you did before? Support this work with a MATCHED gift!

Through Dec. 31, the Wyncote Foundation, Loud Hound Foundation and our generous local match pool supporters will match your new monthly donation 12 times or double your one-time gift, all up to $1,000. Now that's good news!

Readers tell us they can't find the information they get from our reporting anywhere else, and we're proud to provide this important service for our community. We work hard to produce accurate, timely, impactful journalism without paywalls that keeps our region informed and moving forward.

However, only about .1% of the people who read our stories contribute to our work financially. Our newsroom depends on the generosity of readers like yourself to make our high-quality local journalism possible, and the costs of the resources it takes to produce it have been rising, so each member means a lot to us.

Your MATCHED donation to our nonprofit newsroom helps ensure everyone in Allegheny County can stay up-to-date about decisions and events that affect them. Please make your gift of support now.