API Reference
This section provides a comprehensive overview of the Meteostat Python library's API. Here, you will find detailed documentation on the various modules, classes, and functions available for use in your projects. Whether you're looking to retrieve weather data, perform analyses, or visualize results, the API reference will guide you through the available options and how to implement them effectively.
👀 Learn More
📄️ ms.hourly
Get hourly weather data for a specific station or location.
📄️ ms.daily
Get daily weather data for a specific station or location.
📄️ ms.monthly
Get monthly weather data for a specific station or location.
📄️ ms.normals
Get climate normals data for a specific station or location.
📄️ ms.TimeSeries
A class representing a time series of meteorological data.
📄️ ms.TimeSeries.fetch
Fetch the actual weather/climate data as a Pandas DataFrame.
📄️ ms.TimeSeries.count
Get the number of rows in the whole time series or by parameter. NaN values are excluded.
📄️ ms.TimeSeries.completeness
The share of non-NaN values of the time series's full length.
📄️ ms.TimeSeries.validate
Check if the time series passes all quality checks. Values which fail any of the checks can be set to NaN when fetching data (using the clean parameter).
📄️ ms.merge
Merge multiple time series objects into a single object.
📄️ ms.interpolate
Estimate weather data at a specific geographical point based on nearby weather stations.
📄️ ms.lapse_rate
Calculate the lapse rate for temperature parameters based on weather data from multiple stations.
📄️ ms.stations
Access to the comprehensive database of weather stations worldwide.
📄️ ms.stations.meta
Retrieve metadata for a specific weather station.
📄️ ms.stations.nearby
Find weather stations near a geographical point.
📄️ ms.stations.inventory
Check data availability for a weather station.
📄️ ms.Inventory
A weather station's data inventory.
📄️ ms.Station
A class representing a weather station with its metadata and geographic location.
📄️ ms.Point
A class representing a geographical point with latitude, longitude, and optional elevation.
📄️ ms.Parameter
Enumeration of meteorological parameters available in Meteostat.
📄️ ms.Provider
Enumeration of data providers integrated in Meteostat.
📄️ ms.License
A data license specification.
📄️ ms.Granularity
Enumeration of data granularities available in Meteostat.
📄️ ms.UnitSystem
Enumeration of unit systems for meteorological data.
📄️ ms.config
Configure the behavior of the Meteostat Python library.
📄️ ms.config.load_env
Parse environment variables and update the configuration accordingly.
📄️ ms.config.get_env_name
Get the full name of an environment variable (including prefix) that can be used to set a configuration option.