From the internet for use elsewhere:
$ pip install ecopipeline
Requires Python 3.11. The package pins numpy to the 1.24 series and pandas below 2.0; installing it will downgrade a newer numpy in the target environment.
This repository uses uv. From the DataPipelinePackage directory:
uv sync # build .venv from uv.lock
uv run pytest # run the test suiteSee https://ecotoperesearch.github.io/DataPipelinePackage/build/html/index.html for documentation
- database
- user: username for host database connection
- password: password for host database connection
- host: name of host
- database: name of database
- minute
- table_name: name of table to be created in the mySQL database containing minute-by-minute data
- hour
- table_name: name of table to be created in the mySQL database containing hour-by-hour data
- day
- table_name: name of table to be created in the mySQL database containing day-by-day data
- input
- directory: diretory of the folder containing the input files listed below
- site_info: name of the site information csv
- 410a_info: name of the 410a information csv
- superheat_info: name of the superheat infomation csv
- output
- directory: diretory of the folder where any pipeline output should be written to
- data
- directory: diretory of the folder from which extract loads the raw sensor data
- fieldManager_api_usr: Username for Field Manager API if extracting data through that medium
- fieldManager_api_pw: Password for Field Manager API if extracting data through that medium
- fieldManager_device_id: Device ID for Field Manager API if extracting data through that medium
To run Unit tests, run the following command in the terminal in the corresponding directory:
uv run pytest