ecopipeline 0.6.0__tar.gz → 0.6.2__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.
- {ecopipeline-0.6.0/src/ecopipeline.egg-info → ecopipeline-0.6.2}/PKG-INFO +1 -1
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/setup.cfg +1 -1
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/load/load.py +2 -2
- {ecopipeline-0.6.0 → ecopipeline-0.6.2/src/ecopipeline.egg-info}/PKG-INFO +1 -1
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/LICENSE +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/README.md +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/pyproject.toml +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/setup.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/__init__.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/extract/__init__.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/extract/extract.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/load/__init__.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/transform/__init__.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/transform/bayview.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/transform/lbnl.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/transform/transform.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/utils/ConfigManager.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/utils/__init__.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline/utils/unit_convert.py +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline.egg-info/SOURCES.txt +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline.egg-info/dependency_links.txt +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline.egg-info/requires.txt +0 -0
- {ecopipeline-0.6.0 → ecopipeline-0.6.2}/src/ecopipeline.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = ecopipeline
|
|
3
|
-
version = 0.6.
|
|
3
|
+
version = 0.6.2
|
|
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
|
|
@@ -207,7 +207,7 @@ def load_overwrite_database(config : ConfigManager, dataframe: pd.DataFrame, con
|
|
|
207
207
|
else:
|
|
208
208
|
|
|
209
209
|
print(f"Attempting to write data for {dataframe.index[0]} to {dataframe.index[-1]} into {table_name}")
|
|
210
|
-
if auto_log_data_loss and dataframe.index[-1] < datetime.now() - timedelta(days=
|
|
210
|
+
if auto_log_data_loss and dataframe.index[-1] < datetime.now() - timedelta(days=3):
|
|
211
211
|
report_data_loss(config)
|
|
212
212
|
|
|
213
213
|
# Get string of all column names for sql insert
|
|
@@ -416,7 +416,7 @@ def report_data_loss(config : ConfigManager, site_name : str = None):
|
|
|
416
416
|
table_name = "site_events"
|
|
417
417
|
if site_name is None:
|
|
418
418
|
site_name = config.get_site_name()
|
|
419
|
-
error_string = "Error
|
|
419
|
+
error_string = "Error processing data. Please check logs to resolve."
|
|
420
420
|
|
|
421
421
|
print(f"logging DATA_LOSS into {table_name}")
|
|
422
422
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|