1. Aleksey Kunitskiy
  2. gisx

Wiki

Clone wiki

gisx / Home

What is gisx?

gisx is simple program to get weather forecast information from gismeteo.ru website.

gisx features

Currently gisx is not full-featured, but can get simple forecast very fast. To do this look at gisx code and find the line where:

def __main__():
    # Odessa, UA: id = 33837
    w = GisWeather('33837')

Change id to your's town id. Town ids you can find here (in russian only)

Then simply run gisx:

$ python gisx.py

... and you'll get something like this:

Date: 3.4.2010 20:00 evening
	 Temp(°C) (min max): 9.0 11.0
	 Cloudiness: a bit cloudy
	 Precipitation: no precipitation
	 Pressure(mm) (min max): 759.0 761.0
	 Heat(°C) (min max): 9.0 11.0

Date: 4.4.2010 2:00 night
	 Temp(°C) (min max): 8.0 10.0
	 Cloudiness: overcast
	 Precipitation: rain
	 Pressure(mm) (min max): 760.0 762.0
	 Heat(°C) (min max): 8.0 10.0

Date: 4.4.2010 8:00 morning
	 Temp(°C) (min max): 10.0 12.0
	 Cloudiness: a bit cloudy
	 Precipitation: no precipitation
	 Pressure(mm) (min max): 762.0 764.0
	 Heat(°C) (min max): 10.0 12.0

Date: 4.4.2010 14:00 afternoon
	 Temp(°C) (min max): 13.0 15.0
	 Cloudiness: clear
	 Precipitation: no precipitation
	 Pressure(mm) (min max): 763.0 765.0
	 Heat(°C) (min max): 13.0 15.0

Updated