simple-dwd-weatherforecast 2.0.28__py3-none-any.whl → 2.0.29__py3-none-any.whl
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.
- simple_dwd_weatherforecast/dwdmap.py +1 -1
- {simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/METADATA +1 -1
- {simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/RECORD +6 -6
- {simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/LICENCE +0 -0
- {simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/WHEEL +0 -0
- {simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/top_level.txt +0 -0
@@ -40,7 +40,7 @@ def get_map(minx,miny,maxx,maxy, map_type: WeatherMapType, background_type: Weat
|
|
40
40
|
if image_width > 1200 or image_height > 1400:
|
41
41
|
raise ValueError("Width and height must not exceed 1200 and 1400 respectively. Please be kind to the DWD servers.")
|
42
42
|
|
43
|
-
url = f"https://maps.dwd.de/geoserver/dwd/wms?service=WMS&version=1.1.0&request=GetMap&layers={
|
43
|
+
url = f"https://maps.dwd.de/geoserver/dwd/wms?service=WMS&version=1.1.0&request=GetMap&layers={background_type.value},{map_type.value}&bbox={minx},{miny},{maxx},{maxy}&width={image_width}&height={image_height}&srs=EPSG:4326&styles=&format=image/png"
|
44
44
|
request = requests.get(url, stream=True)
|
45
45
|
if request.status_code == 200:
|
46
46
|
image = Image.open(BytesIO(request.content))
|
{simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/RECORD
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
simple_dwd_weatherforecast/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
simple_dwd_weatherforecast/dwdforecast.py,sha256=2yhMV4qXs8MllvL6vDXHGV20TX5811IrkjL7FnpR6Wg,33831
|
3
|
-
simple_dwd_weatherforecast/dwdmap.py,sha256=
|
3
|
+
simple_dwd_weatherforecast/dwdmap.py,sha256=bFAZfYjUryZkErJ3aDNRm9ZhNwKGMcy4pEl8TnWJKzA,2476
|
4
4
|
simple_dwd_weatherforecast/stations.json,sha256=1u8qc2CT_rVy49SAlOicGixzHln6Y0FXevuFAz2maBw,838948
|
5
5
|
simple_dwd_weatherforecast/uv_stations.json,sha256=ADenYo-aR6qbf0UFkfYr72kkFzL9HyUKe4VQ23POGF8,2292
|
6
6
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -34,8 +34,8 @@ tests/test_update.py,sha256=JMdlN_lc9Zb58yU4GNrO_sOaKN9pZEx8nt4E2UeKBi0,7254
|
|
34
34
|
tests/test_update_hourly.py,sha256=Zx0e_E2n2Wi1yGMDN6TURzIbk_xVYaMc-7IDK1sC5UY,1668
|
35
35
|
tests/test_uv_index.py,sha256=tr6wnOyHlXT1S3yp1oeHc4-Brmc-EMEdM4mtyrdpcHg,579
|
36
36
|
tests/test_weather.py,sha256=U4FkTtqLcLs8k-xy6YKNM_4HVscITymURCEIUShk6iE,802
|
37
|
-
simple_dwd_weatherforecast-2.0.
|
38
|
-
simple_dwd_weatherforecast-2.0.
|
39
|
-
simple_dwd_weatherforecast-2.0.
|
40
|
-
simple_dwd_weatherforecast-2.0.
|
41
|
-
simple_dwd_weatherforecast-2.0.
|
37
|
+
simple_dwd_weatherforecast-2.0.29.dist-info/LICENCE,sha256=27UG7gteqvSWuZlsbIq2_OAbh7VyifGGl-1zpuUoBcw,1072
|
38
|
+
simple_dwd_weatherforecast-2.0.29.dist-info/METADATA,sha256=o5uk2kAj9w8j32s8wA6cKR2Q8JNZ0D7jZhtBT8GzaFE,10800
|
39
|
+
simple_dwd_weatherforecast-2.0.29.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
40
|
+
simple_dwd_weatherforecast-2.0.29.dist-info/top_level.txt,sha256=iyEobUh14Tzitx39Oi8qm0NhBrnZovl_dNKtvLUkLEM,33
|
41
|
+
simple_dwd_weatherforecast-2.0.29.dist-info/RECORD,,
|
{simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/LICENCE
RENAMED
File without changes
|
{simple_dwd_weatherforecast-2.0.28.dist-info → simple_dwd_weatherforecast-2.0.29.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|