pyastroweatherio 0.76.0.dev7__tar.gz → 0.76.0.dev8__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.
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/PKG-INFO +1 -1
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/client.py +12 -4
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio.egg-info/PKG-INFO +1 -1
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/setup.py +1 -1
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/LICENSE +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/README.md +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/__init__.py +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/const.py +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/dataclasses.py +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/errors.py +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/helper_functions.py +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio.egg-info/SOURCES.txt +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio.egg-info/dependency_links.txt +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio.egg-info/requires.txt +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio.egg-info/top_level.txt +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/setup.cfg +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/tests/test_calculations.py +0 -0
- {pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/tests/test_client.py +0 -0
|
@@ -623,18 +623,26 @@ class AstroWeather:
|
|
|
623
623
|
return True
|
|
624
624
|
|
|
625
625
|
def _test_weather_df(self) -> None:
|
|
626
|
-
#
|
|
626
|
+
# Optional columns are intentionally NaN when their source fetch failed.
|
|
627
|
+
# Warn about those once at fetch time; suppress per-cell noise here.
|
|
628
|
+
_OPTIONAL_COLUMNS = {
|
|
629
|
+
"gfs_lifted_index",
|
|
630
|
+
"gfs_cape",
|
|
631
|
+
"gfs_boundary_layer_height",
|
|
632
|
+
"gfs_visibility",
|
|
633
|
+
"aerosol_optical_depth",
|
|
634
|
+
}
|
|
635
|
+
|
|
627
636
|
nan_locations = self._weather_df.isna()
|
|
628
637
|
|
|
629
|
-
|
|
638
|
+
core_cols = [c for c in nan_locations.columns if c not in _OPTIONAL_COLUMNS]
|
|
630
639
|
result = [
|
|
631
640
|
(index, col)
|
|
632
|
-
for col in
|
|
641
|
+
for col in core_cols
|
|
633
642
|
for index in nan_locations.index
|
|
634
643
|
if nan_locations.at[index, col]
|
|
635
644
|
]
|
|
636
645
|
|
|
637
|
-
# Print results
|
|
638
646
|
if result:
|
|
639
647
|
_LOGGER.warning("NaN in main dataframe found at:")
|
|
640
648
|
for index, col in result:
|
|
@@ -11,7 +11,7 @@ if os.path.isfile(requirement_path):
|
|
|
11
11
|
setup(
|
|
12
12
|
name="pyastroweatherio",
|
|
13
13
|
packages=["pyastroweatherio"],
|
|
14
|
-
version="0.76.0.
|
|
14
|
+
version="0.76.0.dev8",
|
|
15
15
|
license="MIT",
|
|
16
16
|
description="Python Wrapper for OpenMeteo and Met.no REST API",
|
|
17
17
|
long_description=" ".join(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/dataclasses.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio/helper_functions.py
RENAMED
|
File without changes
|
{pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.76.0.dev7 → pyastroweatherio-0.76.0.dev8}/pyastroweatherio.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|