Jollyfant / PMAG2

Second iteration of paleomagnetism.org
https://paleomagnetism.org
Other
4 stars 1 forks source link

BCN2G format not working for "broken" lines #72

Closed Jollyfant closed 4 years ago

Jollyfant commented 4 years ago

In the binary 2G format sometimes there is a "broken" line that is then repeated. E.g. the 110mT step:

image

Start at the third row near the beginning and is followed by no measurements but only NULL bytes. Then in the middle of row 6 the 110mT step appears again but with correct measurements.

Example file:

160-1.txt

Jollyfant commented 4 years ago

Fixed in 54e6efd48f1c304f2bbe36cf7bfbda77200b7fca. Can test it out on https://beta.paleomagnetism.org.

Jollyfant commented 3 years ago

Not all lines have 30 inputs then.. make it more than 25?

G1.txt

This file also shows why we cannot just take the slice to get the right parameter. The "step" sometimes starts at byte 5 or 6.