[therion] problem with staggered data format
Martin Budaj
m.b at speleo.sk
Sat Jan 8 14:38:19 CET 2005
Olly Betts wrote:
>> On Sat, Jan 08, 2005 at 02:53:30AM +0000, Wookey wrote:
>
>>>> I've got a file with data in like this:
>>>>
>>>> data normal station ignore ignore ignore ignore newline tape compass
>>>> clino
>>>>
>>>> 1 6 6 20 1
>>>> 12.6 179 -39
>>>> 2 4 8 25 2
>>>> 20.5 266 +04
>>>> 3 4 4 3 2 # cairn
>>>>
>>>> 2 - - - -
>>>> 22.6 114 -01
...
>> Perhaps it doesn't understand you've started a new "string" of readings?
Yes, you have to separate new branch using 'break' keyword.
>> Although I'd probably expect "invalid compass reading" if it was trying
>> to parse "2 - - - -" as "tape compass clino". Or something like "too
>> many readings".
A dash is valid compass reading for clino values ± 90 deg, so it was
parsed as unspecified compass reading.
Martin
More information about the Therion
mailing list