ecopipeline 0.11.4__py3-none-any.whl → 0.11.5__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.
- ecopipeline/event_tracking/event_tracking.py +3 -0
- {ecopipeline-0.11.4.dist-info → ecopipeline-0.11.5.dist-info}/METADATA +1 -1
- {ecopipeline-0.11.4.dist-info → ecopipeline-0.11.5.dist-info}/RECORD +6 -6
- {ecopipeline-0.11.4.dist-info → ecopipeline-0.11.5.dist-info}/WHEEL +0 -0
- {ecopipeline-0.11.4.dist-info → ecopipeline-0.11.5.dist-info}/licenses/LICENSE +0 -0
- {ecopipeline-0.11.4.dist-info → ecopipeline-0.11.5.dist-info}/top_level.txt +0 -0
|
@@ -293,6 +293,9 @@ def power_ratio_alarm(daily_df: pd.DataFrame, config : ConfigManager, day_table_
|
|
|
293
293
|
for required_column in required_columns:
|
|
294
294
|
if not required_column in ratios_df.columns:
|
|
295
295
|
raise Exception(f"{required_column} is not present in Variable_Names.csv")
|
|
296
|
+
if ratios_df['alarm_codes'].isna().all() or ratios_df['alarm_codes'].isnull().all():
|
|
297
|
+
print("No alarm codes in ", variable_names_path)
|
|
298
|
+
return pd.DataFrame()
|
|
296
299
|
if not 'pretty_name' in ratios_df.columns:
|
|
297
300
|
ratios_df['pretty_name'] = ratios_df['variable_name']
|
|
298
301
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
ecopipeline/__init__.py,sha256=pjC00JWsjVAhS0jUKHD-wyi4UIpTsWbIg9JaxLS1mlc,275
|
|
2
2
|
ecopipeline/event_tracking/__init__.py,sha256=SV2kkvJgptjeyLQlqHWcDRpQO6-JC433_dRZ3H9-ZNU,131
|
|
3
|
-
ecopipeline/event_tracking/event_tracking.py,sha256=
|
|
3
|
+
ecopipeline/event_tracking/event_tracking.py,sha256=uqGfku6QBqFALCedKn9pbOkJtFJ9_aJUUU2nij2y2YQ,29829
|
|
4
4
|
ecopipeline/extract/__init__.py,sha256=gQ3sak6NJ63Gpo-hZXrtZfeKOTHLRyAVXfTgxxRpqPo,675
|
|
5
5
|
ecopipeline/extract/extract.py,sha256=5C6KrfMAGQhTxHaWc1Lgm8yV5g994Fiinwk-IEVSHbM,51519
|
|
6
6
|
ecopipeline/load/__init__.py,sha256=NLa_efQJZ8aP-J0Y5xx9DP7mtfRH9jY6Jz1ZMZN_BAA,292
|
|
@@ -13,8 +13,8 @@ ecopipeline/utils/ConfigManager.py,sha256=-g1wtExdvhYO5Y6Q3cRbywa__DxRMFruLrB4Ya
|
|
|
13
13
|
ecopipeline/utils/NOAADataDownloader.py,sha256=iC2nl_O4PS1KFrchcPXRZxshwZwUMSqXy6BQBUwnOUU,20927
|
|
14
14
|
ecopipeline/utils/__init__.py,sha256=7dT3tP6SMK4uBW6NBmQ8i6LaNTTuV6fpAZToBBlJ904,62
|
|
15
15
|
ecopipeline/utils/unit_convert.py,sha256=VFh1we2Y8KV3u21BeWb-U3TlZJXo83q5vdxxkpgcuME,3064
|
|
16
|
-
ecopipeline-0.11.
|
|
17
|
-
ecopipeline-0.11.
|
|
18
|
-
ecopipeline-0.11.
|
|
19
|
-
ecopipeline-0.11.
|
|
20
|
-
ecopipeline-0.11.
|
|
16
|
+
ecopipeline-0.11.5.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
ecopipeline-0.11.5.dist-info/METADATA,sha256=y6Y85wETutaGhBOT0NbNcsUT-gqjq__93HBm4jxRS8U,2330
|
|
18
|
+
ecopipeline-0.11.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
ecopipeline-0.11.5.dist-info/top_level.txt,sha256=WOPFJH2LIgKqm4lk2OnFF5cgVkYibkaBxIxgvLgO7y0,12
|
|
20
|
+
ecopipeline-0.11.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|