This SharePoint 2007 web part pulls in the logged in users AD account and uses their location field to pulls in the weather data from weather.com
If the current users AD location is empty, then a default location is enclosed. An XML is provided to control how to render the weather info.