source: git/tests/calibrate_clino.svx @ 9cbe799

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 9cbe799 was 93935c7, checked in by Olly Betts <olly@…>, 11 years ago

src/datain.c,tests/: We want to warn if there's a clino reading which
it would be impossible to have read from the instrument (e.g. on a
-90 to 90 degree scale you can't read "96" (it's probably a typo for
"69"). However, the gradient reading from a topofil is typically in
the range 0 to 180, with 90 being horizontal. Really we should allow
the valid range to be specified, but for now we infer it from the
zero error - if this is within 45 degrees of 90 then we assume the
range is 0 to 180.

  • Property mode set to 100644
File size: 482 bytes
Line 
1*fix 1 0 0 0
21 2 10.00 000 00
31 u 10.00 090 +90
42 u 10.00 090 90
52 d 10.00 090 -90
6; these should warn
72 w 10.00 090 91
82 x 10.00 090 -91
92 y 10.00 090 181
102 z 10.00 090 366
11*calibrate clino 90
121 2_ 10.00 000 90
131 u_ 10.00 090 +180
142 u_ 10.00 090 180
152 d_ 10.00 090 0
16; these should warn
172 w_ 10.00 090 181
182 x_ 10.00 090 -1
19*calibrate clino 90 -1
201 2__ 10.00 000 90
211 u__ 10.00 090 0
222 u__ 10.00 090 0
232 d__ 10.00 090 180
24; these should warn
252 w__ 10.00 090 -1
262 x__ 10.00 090 181
Note: See TracBrowser for help on using the repository browser.