You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our new Neware testers log temperature which is a very useful parameter. This should at least be read by cellpy and be possible to show in the raw plot/raw data.
Hi! I'd like to take this one, if nobody else is on it.
I checked it with the .ndax file that is already in the repo (testdata/data/20260302_IFE_BTS85_2_9_8_1.ndax). The bundled fastnda reader decodes three aux channels from it: aux1_temperature_cell_degC (channel type 1122, about 26.7 °C), aux1_temperature_CPU_degC (102) and aux1_single_cell_voltage_V (103). With cellpy.get(..., instrument="neware_nda") all three are dropped in harmonize() ("dropping vendor column(s) the loader does not recognise"), because neware_nda.declarations() has no aux_map.
Proposed fix, following the arbin_res aux precedent:
neware_nda declares an aux_map for the fastnda aux columns, so aux<N>_temperature_cell_degC ends up in raw as aux_temperature_cell (the name cellpycore already has in RawCols). The other channels get aux_<quantity>_<name> names too (e.g. aux_temperature_cpu, aux_potential_single_cell) instead of being dropped.
Files without aux channels load exactly as today.
Tests: the existing .ndax fixture (column present, values in the expected range) and a declaration-level test for a frame without aux columns.
I tried this locally with a patched declaration and the temperature column comes through, so raw_plot(c, y="aux_temperature_cell") should then work. Filling the summary temperature_cell_mean/temperature_cell_last columns and a temperature preset for raw_plot could be follow-ups if you want them.
Three questions before I start:
Is aux_temperature_cell the name you want? How should a second cell thermocouple be named (aux_temperature_cell_2)?
Should the CPU temperature and single-cell voltage channels be kept as above, or listed in dropped?
Is this BTS85 .ndax representative of the new testers in the issue? If they write something else (an .nda, or a CSV/xlsx export with a T1 column), a small anonymised sample would help me cover that format too.
Hi @Allan-dq, Great that you can have a go at this. For your information, this is what my coding agent said regarding your questions:
Thanks, please go ahead on neware_nda only.
Yes, aux_temperature_cell for the cell thermocouple. That is the RawCols name, and the summary columns temperature_cell_* are defined off that column alone. Do not fill those summary columns here, and do not add a raw-plot preset. raw_plot(c, y="aux_temperature_cell") is the check. A second cell probe is aux_temperature_ from the vendor channel id (Arbin style: Aux_Temperature_2 → aux_temperature_2), not aux_temperature_cell_2. Only the unsuffixed name is the cell signal.
Keep the CPU temperature and the single-cell voltage in aux_map: aux_temperature_cpu andaux_potential_single_cell. Do not map the single-cell voltage onto potential. Do not list them in dropped, and do not leave them undeclared (that warns on every load). Files with no aux columns stay unchanged.
The BTS85 .ndax already in the repo is the fixture for this issue. .nda is the same loader when the fastnda names match. @inger-emma, do the new testers write that .ndax, or a CSV/xlsx with a T1 column? A different export is a follow-up and needs a small anonymised file.
Activity
Allan-dq commentedon Nov 9, 2026
Hi! I'd like to take this one, if nobody else is on it.
I checked it with the
.ndaxfile that is already in the repo (testdata/data/20260302_IFE_BTS85_2_9_8_1.ndax). The bundled fastnda reader decodes three aux channels from it:aux1_temperature_cell_degC(channel type 1122, about 26.7 °C),aux1_temperature_CPU_degC(102) andaux1_single_cell_voltage_V(103). Withcellpy.get(..., instrument="neware_nda")all three are dropped inharmonize()("dropping vendor column(s) the loader does not recognise"), becauseneware_nda.declarations()has noaux_map.Proposed fix, following the
arbin_resaux precedent:neware_ndadeclares anaux_mapfor the fastnda aux columns, soaux<N>_temperature_cell_degCends up in raw asaux_temperature_cell(the name cellpycore already has inRawCols). The other channels getaux_<quantity>_<name>names too (e.g.aux_temperature_cpu,aux_potential_single_cell) instead of being dropped..ndaxfixture (column present, values in the expected range) and a declaration-level test for a frame without aux columns.I tried this locally with a patched declaration and the temperature column comes through, so
raw_plot(c, y="aux_temperature_cell")should then work. Filling the summarytemperature_cell_mean/temperature_cell_lastcolumns and a temperature preset forraw_plotcould be follow-ups if you want them.Three questions before I start:
aux_temperature_cellthe name you want? How should a second cell thermocouple be named (aux_temperature_cell_2)?dropped?.ndaxrepresentative of the new testers in the issue? If they write something else (an.nda, or a CSV/xlsx export with aT1column), a small anonymised sample would help me cover that format too.jepegit commentedon Nov 12, 2026
Hi @Allan-dq, Great that you can have a go at this. For your information, this is what my coding agent said regarding your questions:
Thanks, please go ahead on neware_nda only.
feat: keep Neware cell temperature and other aux channels in neware_n…