Comments (9)
My guess is that you have a newer version of the Arbin software which adds additional data columns to the .res file. It's been a long time since I had access to a battery cycler myself so I'm reliant on users to keep me updated with newer versions of the file format.
from galvani.
@nhshetty-99 Do you have a .res
file that you are able to share with me so that I can add the necessary columns?
from galvani.
Hi, Chris,
I do have an example of a .res file that I can provide you. I have attached a zip file of it to this post, and I used it to write in the new columns to two of the tables in my local copy of res2sqlite.py
. The extra (column, type) pairs I needed to enter were:
Log_Can_BMS_Data_Flag
,INTEGER
Software_Version
,TEXT
Serial_Number
,TEXT
Schedule_Version
,TEXT
MASS
,REAL
Specific_Capacity
,REAL
Capacity
,REAL
I added the above columns to the Global_Table
table, in between the Log_Smart_Battery_Data_Flag
and Item_ID
columns.
I also had to include the following (column, type) pairs:
BATMAN_Status
,INTEGER
DTM_PDM_Status
,INTEGER
I added these ones to the Smart_Battery_Data_Table
table, below the CycleCount
columns and above the --Version 1.14 ends here...
comment.
Please let me know if adding these columns to res2sqlite.py
also lets you properly run my example .res file on your computer. Thanks!
from galvani.
@nhshetty-99 thanks for sending the file, and sorry for taking to long to get back to you on this.
The changes you suggested do indeed fix the problem of trying to put too much data into the existing tables and I have added a fix for that in https://github.com/chatcannon/galvani/tree/arbin-5-26
I will also look in more detail at the file you sent me to see if there are any additional tables that need to be imported.
from galvani.
@nhshetty-99 Would it be OK if I added the file you submitted to the (publicly available) test data for this project?
from galvani.
Hi, Chris,
Thank you so much for looking into this issue. I will check out the link you provided in your previous comment. There were also one or two more problems I was facing with the galvani module, so I will look into those a bit more and get back to you. As for the test file I provided you, I'll check with my research professor first and get back to you on that as well.
from galvani.
Hi, Chris,
I talked to my research professor and coordinators, and they are okay with you using the example file I sent you for test data. I don't believe that file has any protected data, so it should be fine for usage. Additionally, my research coordinators were not able to get the uploaded version of galvani with all the recent merge requests when running pip install galvani in their virtual environments. We believe this is the case because the most recent release (0.1.0) for galvani was done back in June (I think). Is there a way we can use a forked version of this galvani module and use pip install on that? Will I need to submit my own releases in my forked in order for that to happen?
Thanks again for the help.
from galvani.
Since @bcolsen has not had time to review my changes in #53 I will merge it myself and make a new release to PyPI.
from galvani.
@nhshetty-99 FYI I just released version 0.2.0 which includes these changes and should now be available for download with pip
.
https://github.com/echemdata/galvani/releases/tag/0.2.0
from galvani.
Related Issues (20)
- CI is using up too much git-lfs bandwidth HOT 4
- Read Arbin files without writing temporary database
- Column 16/17 are not readable - `Analog IN 1/V`
- BioLogic: Unexpected end of file while reading data current module: b'VMP settings HOT 1
- NotImplementedError: Column ID 174 after column time/s is unknown HOT 2
- Use contextmanagers to ensure files are closed on errors
- Add a release checklist HOT 2
- Column ID 175, 176, 177, 182, 215, 475, 478, 481, 503 unknown HOT 5
- how to find Dtype for unknown columns ? HOT 1
- more of a question than an issue, i am not seeing all of the columns that are in the data set in the output of the biologic.mprfile data HOT 5
- Not implemented error (Column ID 185) HOT 1
- Numpy 2.0.0 breaks BioLogic.MPTfile() HOT 1
- column 6 has wrong label HOT 1
- column 11 has wrong label
- Incompatibility with EC-Lab>=11.50 - BioLogic.MPRfile issue HOT 27
- Unable to read res files with mdbtools>=1.0 HOT 3
- Maintenance status + sustainability HOT 10
- Something to cite HOT 2
- OSError: Unexpected end of file while reading data might due incompatibility with EC-lab 11.50 HOT 1
- [sugestion] Get more precise start date without log module HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galvani.