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 4 2 7+ 15 2 16.4 158 0.5 5 4 6 12 2 #cairn 18.3 230 -08 This goes wrong at the line 2 - - - - with the error: therion: error -- terikan/elevator.th [56] -- invalid gradient reading -- - Does the data need reformating to make therion understand or does therion just need fixing? Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/
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 4 2 7+ 15 2 16.4 158 0.5 5 4 6 12 2 #cairn 18.3 230 -08
This goes wrong at the line 2 - - - - with the error: therion: error -- terikan/elevator.th [56] -- invalid gradient reading -- -
Perhaps it doesn't understand you've started a new "string" of readings? 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". Cheers, Olly
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
+++ Martin Budaj [05-01-08 14:38 +0100]:
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.
aha - that's the clue I needed. Thanx. Ol - I'm collecting info on the conversion script so we can improve the various things that go wrong. It mostly works quite well apart from 'overview' files which include a lot of others - I'll mail you my notes soon. Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/
participants (3)
-
Martin Budaj -
Olly Betts -
Wookey