check out a topographic map (check the USGS website; they should have some or a link). a biking map (available a sundry spots around the city) might provide this data, as well.
basically, dolores park area, mission (but not too low, like past 30th) are warmer than the rest of the city.
however, some neighborhoods don't match the rest of the area. for instance, the inner sunset isn't as foggy/cold as further westward, but still considered "foggy" by most people. i lived in the presidio and it's quite windy (can also hear the foghorns all night), but usually sunnier than one might expect. i would jog along crissy field very often.
i can drive to my boyfriends house in bernal heights from the UCSF area and go through 2-3 breaks in fog (and then re-immersion, especially twin peaks) to finally emerge on his sunny "south-side of bernal hill but above cortland" spot. the wind comes up around 3 pm (i work in marin and see the fog drifting over the headlands toward the 101 almost every day), but doesn't always reach every (his) area unless a storm system is making its way in. he has lots of clear nights, too, which is weird.