-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loss of <I> column in the converted json from the mpr file in GCPL technique using yadg 4 #122
Comments
Thanks for bringing this issue up to github. Maybe @vetschn can chime in. I seem to recall that Unfortunately, the headers from the As a measure of last resort, the |
I have attached a plot illustrating the issue, this was generated using We can see that the spike in This means:
|
Yep, I think @NukP's initial suspicion is completely correct, the mpr file does not contain the From the "variables description" section in the EC-Lab User's Manual:
so the |
@PeterKraus Here is the mpt file with the header. https://drive.switch.ch/index.php/s/Mc0XZCDeOK3BkLl So does this mean that during the mpr to json conversion, I should first call yadg to do the conversion and then use dgpost to convert |
Well, yadg is not meant to do any postprocessing, so any output file (json in v4 and netcdf in v5) will not have You will have to calculate the current somehow in a postprocessing step. The dgpost function is just a convenient way to do it... |
Background
When using yadg 4 to convert mpr file to json file, serveral data columns went missing although these columns are present in the mpt file generated from Biologic. Unfortunately, these missing data column,
<I>/mA
, in particular is crucial for plotting the data from GCPL experiment. The user has requested that this column is included in the json file.Investigation done so far
_parse_columns
function to read the column header in the mpr files before reading them and compile them into a datapoint which is subsequently written into a json file. I have tried to print thenames, dtypes, units, flags
which is returned from the_parse_columns
and found that the headers matches what is found in the json file. Strangely, the name stored in thenames
parameters only cover parts of the data column in the resulting mpt file. In particular, only frommode
toCapacitance discharge/µF
column.names, dtypes, units
for<I>
so that the script will extract this column from the mpr file. But, I got an error about not enough numpy buffer. I tried to add the attibute that I am sure not in the mpr file (by mispelling the name) and got a similar error. This led to my conclusion that the<I>
column may not exits in the mpr file in the first place and the yadg was performing correctly.My suspision so far
<I>/mA
tocycle number
(in the mpt file) during mpr to mpt conversion. These data columns may not have present in the original mpr file.<I>/mA
, for example, can be derived fromdq/mA.h
. Nevertheless, I have not yet verified this speculation with the user whoes have experince with battery electrochemistry.Corresponding files
https://drive.switch.ch/index.php/s/AGzUx3wPHscdWnq
The text was updated successfully, but these errors were encountered: