This uses the config file to remap over certain columns in the data csv given
EX: if you had data.csv and you wanted to remap all values with the header PT-N2-220 from volts to PSI with this mapping (data - .5) * 700
PSI you would change one of the config lines to say PT-N2-220,700,-0.5,PSI
.
You put in each row of the config file the header, the scale, the offset applied before the scaling and then finally the unit.
Place the csv file in the directory, edit the config.csv file to your what you need
python remapper.py your_data.csv
numpy and pandas
pip install numpy pandas
Clone this github repo then make your changes
git add
all changed files
git commit -m "a message about the changes"
git push
Then on any device that you are using the server on
git pull