Willem,

> On 17. Apr 2020, at 21:05, Willem Ferguson via subsurface 
> <[email protected]> wrote:
> 
> I select some files in the dive list. Then I select Files -> Export -> 
> Profile data CSV (Bottom of the list). I then specify a file name and hit 
> Save.
> 
>     Crash.
> 
> Is this finger trouble on my side or is it repeatable elsewhere?

Seems like Berhold was faster than me in fixing this. Does his patch fix the 
problem for you as well?

> What is this option meant to do, separate from the other similar option 6th 
> from the top on that same list of export options?

This exports not the data in struct dive directly but rather the data in struct 
plot_data that is data we compute to plot the profile, one line per profile 
point (which can be interpolated with respect to the samples in struct dive). 
Plus it includes all kinds of data that we compute including cylinder 
pressures, ceilings for all tissue compartments, time to surface and all that 
(fields below). It is meant for people who want to do further data analysis on 
their dives. It does not try to be smart about units but directly exports 
subsurface internal units (i.e. time in seconds, depths in mm, pressures in 
mbar etc). The resulting file is not meant to be looked at by a human but 
rather to be parsed by a program that does further analysis on the data.

Looking at this, I see there were commas missing in the CSV, do I created a PR 
to fix that as well (#2764).

Best
Robert

"in_deco", "sec", "pressure_0_cylinder", "pressure_0_interpolated", 
"pressure_1_cylinder", "pressure_1_interpolated", "pressure_2_cylinder", 
"pressure_2_interpolated", "pressure_3_cylinder", "pressure_3_interpolated", 
"pressure_4_cylinder", "pressure_4_interpolated", "temperature", "depth", 
"ceiling", "ceiling_0", "ceiling_1", "ceiling_2", "ceiling_3", "ceiling_4", 
"ceiling_5", "ceiling_6", "ceiling_7", "ceiling_8", "ceiling_9", "ceiling_10", 
"ceiling_11", "ceiling_12", "ceiling_13", "ceiling_14", "ceiling_15", 
"percentage_0", "percentage_1", "percentage_2", "percentage_3", "percentage_4", 
"percentage_5", "percentage_6", "percentage_7", "percentage_8", "percentage_9", 
"percentage_10", "percentage_11", "percentage_12", "percentage_13", 
"percentage_14", "percentage_15", "ndl", "tts", "rbt", "stoptime", "stopdepth", 
"cns", "smoothed", "sac", "running_sum", "pressureo2", "pressuren2", 
"pressurehe", "o2pressure", "o2sensor0", "o2sensor1", "o2sensor2", 
"o2setpoint", "scr_oc_po2", "mod", "ead", "end", "eadd", "velocity", "speed", 
"in_deco_calc", "ndl_calc", "tts_calc", "stoptime_calc", "stopdepth_calc", 
"pressure_time", "heartbeat", "bearing", "ambpressure", "gfline", "surface_gf", 
"density", "icd_warning",

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to