PuffinPlot issue tracker

Bug: a88/4c3

ID : 4c38ba3a-ea08-4b3b-9b87-b839a18ba07a
Short name : a88/4c3
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Wed, 06 Mar 2013 10:47:14 +0000
Target : 1.03
Summary : PuffinPlot does not read file 516_1.DAT correctly [267]

Comment: --------- Comment ---------
ID: bc24bce7-a13b-4532-bd66-83e6f1bd6907
Short name: a88/4c3/bc2
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 06 Mar 2013 10:47:14 +0000

The file 516_1.DAT , part of the DSDP 516 data, is read as 
continuous data although it is discrete.

Comment: --------- Comment ---------
ID: ead14e5f-6828-4d2f-98c9-d22d704106a2
Short name: a88/4c3/ead
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 06 Mar 2013 10:49:01 +0000

Offended file copied to bugs/267_-_PuffinPlot_does_not_read 
for reference.

Comment: --------- Comment ---------
ID: 0ec8852b-1c2d-419f-81e0-801fc67f8d1d
Short name: a88/4c3/0ec
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 06 Mar 2013 10:54:40 +0000

This bug was introduced during the fixing of #266 -- PP was guessing
Continuous if there was a Position field, even if there was also
a Sample ID field. I have now modified the logic to guess as follows:
Depth field -> continuous
No Depth field, no Sample ID, but Position field present -> continuous
All other cases -> discrete
Of course this only takes effect when the measurement type is not
explicitly specified. Ultimately the user should probably be queried
in these cases, as I'm not sure that any heuristic will be 100%
reliable.