pyastroweatherio 0.43.1.dev5__tar.gz → 0.43.1.dev7__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.
Files changed (16) hide show
  1. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/PKG-INFO +1 -1
  2. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/client.py +6 -1
  3. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/PKG-INFO +1 -1
  4. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/setup.py +1 -1
  5. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/LICENSE +0 -0
  6. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/README.md +0 -0
  7. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/__init__.py +0 -0
  8. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/const.py +0 -0
  9. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/dataclasses.py +0 -0
  10. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/errors.py +0 -0
  11. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/helper_functions.py +0 -0
  12. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/SOURCES.txt +0 -0
  13. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/dependency_links.txt +0 -0
  14. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/requires.txt +0 -0
  15. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/top_level.txt +0 -0
  16. {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyastroweatherio
3
- Version: 0.43.1.dev5
3
+ Version: 0.43.1.dev7
4
4
  Summary: Python Wrapper for 7Timer and Met.no REST API
5
5
  Home-page: https://github.com/mawinkler/pyastroweatherio
6
6
  Author: Markus Winkler
@@ -622,10 +622,15 @@ class AstroWeather:
622
622
  else:
623
623
  # Fake 7timer weather data if service is broken
624
624
  # This eliminates consideration of seeing, transparency, and lifted_index
625
+ # TODO: Think about a complete redesign of the calculations and potentially
626
+ # make met.no the leading source instead of 7timer
627
+ # TODO: Find another source for seeing and transparency
628
+ self._seeing_weight = 0
629
+ self._transparency_weight = 0
625
630
  self._weather_data_seventimer = []
626
631
  for index in range(0, 20):
627
632
  self._weather_data_seventimer.append({"timepoint": index * 3, "seeing": 0, "transparency": 0, "lifted_index": 0})
628
- self._weather_data_seventimer_init = datetime.now().strftime("%Y%m%d%H")
633
+ self._weather_data_seventimer_init = datetime.now().replace(hour=0).strftime("%Y%m%d%H")
629
634
  else:
630
635
  _LOGGER.debug("Using cached data for 7Timer")
631
636
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyastroweatherio
3
- Version: 0.43.1.dev5
3
+ Version: 0.43.1.dev7
4
4
  Summary: Python Wrapper for 7Timer and Met.no REST API
5
5
  Home-page: https://github.com/mawinkler/pyastroweatherio
6
6
  Author: Markus Winkler
@@ -3,7 +3,7 @@ from setuptools import setup
3
3
  setup(
4
4
  name="pyastroweatherio",
5
5
  packages=["pyastroweatherio"],
6
- version="0.43.1.dev5",
6
+ version="0.43.1.dev7",
7
7
  license="MIT",
8
8
  description="Python Wrapper for 7Timer and Met.no REST API",
9
9
  long_description=" ".join(