gnome-weather usa libgweather sob o qual, por sua vez, usa vários GWeatherProviders (definidos em gweather-weather.h ) para obter informações sobre o tempo da sua localização geográfica específica:
* GWeatherProvider:
....
* @GWEATHER_PROVIDER_METAR: METAR office, providing current conditions worldwide
* @GWEATHER_PROVIDER_IWIN: US weather office, providing 7 days of forecast
* @GWEATHER_PROVIDER_YAHOO: Yahoo Weather Service, worldwide but non commercial only
* @GWEATHER_PROVIDER_YR_NO: Yr.no service, worldwide but requires attribution
* @GWEATHER_PROVIDER_OWM: OpenWeatherMap, worldwide and possibly more reliable, but requires attribution and is limited in the number of queries
....
Você pode pesquisar o código-fonte e ver como eles o fazem:
weather-metar.c ,
weather-iwin.c ,
weather-yahoo.c ,
weather-yrno.c ,
weather-owm.c . Veja também weather.c
As horas do nascer e do pôr-do-sol são calculadas em weather-sun.c