meteostat 1.7.5__tar.gz → 1.7.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {meteostat-1.7.5 → meteostat-1.7.6}/PKG-INFO +1 -1
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/__init__.py +1 -1
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/utilities/mutations.py +4 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat.egg-info/PKG-INFO +1 -1
- {meteostat-1.7.5 → meteostat-1.7.6}/setup.py +1 -1
- {meteostat-1.7.5 → meteostat-1.7.6}/LICENSE +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/README.md +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/core/__init__.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/core/cache.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/core/loader.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/core/warn.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/enumerations/__init__.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/enumerations/granularity.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/__init__.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/base.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/daily.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/hourly.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/interpolate.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/meteodata.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/monthly.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/normals.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/point.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/stations.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/interface/timeseries.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/__init__.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/aggregate.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/convert.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/count.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/coverage.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/fetch.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/interpolate.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/normalize.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/series/stations.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/units.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/utilities/__init__.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/utilities/aggregations.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/utilities/endpoint.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/utilities/helpers.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat/utilities/validations.py +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat.egg-info/SOURCES.txt +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat.egg-info/dependency_links.txt +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat.egg-info/requires.txt +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/meteostat.egg-info/top_level.txt +0 -0
- {meteostat-1.7.5 → meteostat-1.7.6}/setup.cfg +0 -0
|
@@ -67,6 +67,10 @@ def calculate_dwpt(df: pd.DataFrame, col: str) -> pd.DataFrame:
|
|
|
67
67
|
"""
|
|
68
68
|
Calculate dew point temperature
|
|
69
69
|
"""
|
|
70
|
+
# Check if required columns exist
|
|
71
|
+
if "temp" not in df.columns or "rhum" not in df.columns:
|
|
72
|
+
return df
|
|
73
|
+
|
|
70
74
|
magnus_const_a = 17.27
|
|
71
75
|
magnus_const_b = 237.7 # degrees Celsius
|
|
72
76
|
|
|
@@ -15,7 +15,7 @@ with open(path.join(here, "README.md")) as f:
|
|
|
15
15
|
# Setup
|
|
16
16
|
setup(
|
|
17
17
|
name="meteostat",
|
|
18
|
-
version="1.7.
|
|
18
|
+
version="1.7.6",
|
|
19
19
|
author="Meteostat",
|
|
20
20
|
author_email="info@meteostat.net",
|
|
21
21
|
description="Access and analyze historical weather and climate data with Python.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|