Well, if you really want to have the most sun as possible I would recommend the east side of the city. Coming from Danville I might recommend Mission Dolores. It's a great area with big parks and traditional San Francisco architecture. SOMA also sees the sun quite a bit. It's quite different than Mission Dolores in that there is not much in away of greenery and you are really in the city. In SOMA you have trendy luxury condos compared to the classic architecture of Mission Dolores. Another couple of options are Noe Valley and Potrero Hill.
If you have any questions please feel free to shoot me an email. When choosing a neighborhood in San Francisco, the proper microclimate is just the tip of the iceberg.
For over 50 years I've felt that SF should have the residents downtown and the busines' west of Twin Peaks. I have lived in the fog and know the weather pattern very well because of my bike riding, you know because the fog always has wind that comes off the top or push it along. Anyway stay east of Twin Peaks and I'd say Presideo Blvd, not Park Presideo as Greg said. The reason is that the summer layer burns off when it hits any altititude so it burns off east of the Twin Peaks, Mt Sutro and Mt. Davidson.
I do want to point out that it's the summer weather pattern you're referring to and it has been my impression that we've had many nice days here in the summer, I say it's global warming, but it doesn't seem as relentless as it was when I was growing up in the 50'snd 60's.
There are other reasons to live here and it is nice when you go to sleep at night to be cool, I think.
You can go to my website noted below for a description of the different areas. Go to sf.gov.org for police website to check crime statistics.
That being said South Beach, Mission Bay, parts of Potrero Hill are good areas that get lots of sunshine. (Think South and East sides of SF.) Noe Valley gets alot of sun. So do Eureka Valley and Mission Dolore and parts of SOMA. I say parts because there are better sections in which you would probably want to live than others in each district.
If you would like to contact me, I will send you a map and help you see what is for sale in each area. You can also look via my website as well. If I do not hear from you, good luck on your search! I am sure you will be successful.
You are somewhat safe looking anywhere east of Twin Peaks and east of Park Presido blvd in Richmond area. Now that is just a general statement, there are still little microclimates like you alluded to that may not have the sun as much as you want. My suggestion is for you to decide what areas you can afford and desire, then start your search and rule properties out if they don't fit into your weather expectation. I have lived in S.F. for over 30 years, please let me know if you want to discuss this further. Best of luck to you.