# meteostat.Stations

Select weather stations from the full list of stations.

# Parameters

This class does not take any parameters.

# Attributes

Attributes allow the configuration of general settings and behaviour.

Parameter Description Type Default
cache_dir The path of the cache directory String ~/.meteostat/cache
cache_subdir The subdirectory of the cache String stations
max_age Maximum age of a cached file in seconds Integer 86400

You can disable caching completely by setting max_age to 0.

When changing attributes, make sure to do so before creating a class instance:


from meteostat import Stations

Stations.cache_dir = '/my/path/goes/here'

stations = Stations()

# Methods