ecopipeline 0.7.0__tar.gz → 0.7.1__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 (23) hide show
  1. {ecopipeline-0.7.0/src/ecopipeline.egg-info → ecopipeline-0.7.1}/PKG-INFO +1 -1
  2. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/setup.cfg +1 -1
  3. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/load/load.py +1 -1
  4. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/transform/transform.py +2 -2
  5. {ecopipeline-0.7.0 → ecopipeline-0.7.1/src/ecopipeline.egg-info}/PKG-INFO +1 -1
  6. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/LICENSE +0 -0
  7. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/README.md +0 -0
  8. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/pyproject.toml +0 -0
  9. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/setup.py +0 -0
  10. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/__init__.py +0 -0
  11. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/extract/__init__.py +0 -0
  12. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/extract/extract.py +0 -0
  13. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/load/__init__.py +0 -0
  14. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/transform/__init__.py +0 -0
  15. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/transform/bayview.py +0 -0
  16. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/transform/lbnl.py +0 -0
  17. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/utils/ConfigManager.py +0 -0
  18. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/utils/__init__.py +0 -0
  19. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline/utils/unit_convert.py +0 -0
  20. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline.egg-info/SOURCES.txt +0 -0
  21. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline.egg-info/dependency_links.txt +0 -0
  22. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline.egg-info/requires.txt +0 -0
  23. {ecopipeline-0.7.0 → ecopipeline-0.7.1}/src/ecopipeline.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecopipeline
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Contains functions for use in Ecotope Datapipelines
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: License :: OSI Approved :: GNU General Public License (GPL)
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = ecopipeline
3
- version = 0.7.0
3
+ version = 0.7.1
4
4
  authors = ["Carlos Bello, <bellocarlos@seattleu.edu>, Emil Fahrig <fahrigemil@seattleu.edu>, Casey Mang <cmang@seattleu.edu>, Julian Harris <harrisjulian@seattleu.edu>, Roger Tram <rtram@seattleu.edu>, Nolan Price <nolan@ecotope.com>"]
5
5
  description = Contains functions for use in Ecotope Datapipelines
6
6
  long_description = file: README.md
@@ -315,7 +315,7 @@ def load_event_table(config : ConfigManager, event_df: pd.DataFrame, site_name :
315
315
  site_name = config.get_site_name()
316
316
  column_names = f"start_time_pt,site_name"
317
317
  column_types = ["datetime","varchar(25)","datetime",
318
- "ENUM('HW_OUTAGE', 'HW_LOSS','PIPELINE_STATUS', 'MISC_EVENT', 'PIPELINE_UPLOAD', 'DATA_LOSS', 'DATA_LOSS_COP', 'SITE_VISIT', 'COMMISIONING', 'SYSTEM_MAINTENENCE', 'POWER_OUTAGE', 'EQUIPMENT_MALFUNCTION','PARTIAL_OCCUPANCY','INSTALLATION_ERROR','SETPOINT_ADJUSTMENT')",
318
+ "ENUM('MISC_EVENT','DATA_LOSS','DATA_LOSS_COP','SITE_VISIT','SYSTEM_MAINTENANCE','EQUIPMENT_MALFUNCTION','PARTIAL_OCCUPANCY','INSTALLATION_ERROR','ALARM','MV_COMMISSIONED','PLANT_COMMISSIONED','INSTALLATION_ERROR_COP','SOO_PERIOD','SOO_PERIOD_COP','SYSTEM_TESTING')",
319
319
  "varchar(200)"]
320
320
  column_list = ['end_time_pt','event_type', 'event_detail']
321
321
  if not set(column_list).issubset(event_df.columns):
@@ -717,7 +717,7 @@ def flag_dhw_outage(df: pd.DataFrame, daily_df : pd.DataFrame, dhw_outlet_column
717
717
  Returns
718
718
  -------
719
719
  event_df : pd.DataFrame
720
- Dataframe with 'HW_OUTAGE' events on the days in which there was a DHW Outage.
720
+ Dataframe with 'ALARM' events on the days in which there was a DHW Outage.
721
721
  """
722
722
  # TODO edge case for outage that spans over a day
723
723
  events = {
@@ -739,7 +739,7 @@ def flag_dhw_outage(df: pd.DataFrame, daily_df : pd.DataFrame, dhw_outlet_column
739
739
  adjusted_time = first_true_index - pd.Timedelta(minutes=consecutive_minutes-1)
740
740
  events['start_time_pt'].append(day)
741
741
  events['end_time_pt'].append(next_day - pd.Timedelta(minutes=1))
742
- events['event_type'].append("HW_OUTAGE")
742
+ events['event_type'].append("ALARM")
743
743
  events['event_detail'].append(f"Hot Water Outage Occured (first one starting at {adjusted_time.strftime('%H:%M')})")
744
744
  event_df = pd.DataFrame(events)
745
745
  event_df.set_index('start_time_pt', inplace=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecopipeline
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Contains functions for use in Ecotope Datapipelines
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: License :: OSI Approved :: GNU General Public License (GPL)
File without changes
File without changes
File without changes
File without changes