das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

DataPointRecorder should export to .csv #59

Closed jbfaden closed 1 year ago

jbfaden commented 1 year ago

The DataPointRecorder (used for storing points from a digitizer) should be able to export to CSV instead of .dat files.

jbfaden commented 1 year ago

If the output filename endswith .csv, then a comma is used instead of a tab. The file dialog has an option to show .csv as well as .dat and .txt files.

jbfaden commented 1 year ago

I've verified that it can load the csv output.

jbfaden commented 1 year ago

The DataPointRecorder could not load the CSV written by Autoplot, which is a different code. It had quotes around the column headers and represented nominal units with the namespace for the nominal unit, as in "(visualFeature(ordinal))". This form is now supported.