PuffinPlot issue tracker

Bug: a88/7e3

ID : 7e36fb32-92ec-4833-9691-c59c58cfddfa
Short name : a88/7e3
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Mon, 25 Jun 2012 10:08:06 +0000
Target : 1.02
Summary : First data point has NaN for demag level in some cases [236]

Comment: --------- Comment ---------
ID: 15addb31-8476-4c25-9119-91a9bedc5b9e
Short name: a88/7e3/15a
From: Pontus Lurcock <pont@talvi.net>
Date: Mon, 25 Jun 2012 10:08:06 +0000

Consider the following crafted file:

depth   demag   dec     inc     int
1       0       45      45      3
1       1       45      45      2
1       2       45      45      1

Import it using the tabular file importer with 3-axis AF demag.
The demag. of the first point comes up as NaN, which means that
it isn't plotted on the on-screen display, and is plotted in a
ludicrous place on the exported graphics files.

Comment: --------- Comment ---------
ID: a36439d1-7813-42c2-8473-55a75cfe1a6f
Short name: a88/7e3/a36
From: Pontus Lurcock <pont@talvi.net>
Date: Mon, 25 Jun 2012 12:42:07 +0000

If 3-axis demag is chosen when importing, but only the X-axis
demag level is tied to a column, a zero demag level comes out as
NaN. I've now fixed this in Datum.getTreatmentLevel(), and added
a comment to explain how such incomplete data is handled.