RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
|
Last change
on this file since 9cbe799 was
93935c7,
checked in by Olly Betts <olly@…>, 13 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 |
|---|
| 2 | 1 2 10.00 000 00 |
|---|
| 3 | 1 u 10.00 090 +90 |
|---|
| 4 | 2 u 10.00 090 90 |
|---|
| 5 | 2 d 10.00 090 -90 |
|---|
| 6 | ; these should warn |
|---|
| 7 | 2 w 10.00 090 91 |
|---|
| 8 | 2 x 10.00 090 -91 |
|---|
| 9 | 2 y 10.00 090 181 |
|---|
| 10 | 2 z 10.00 090 366 |
|---|
| 11 | *calibrate clino 90 |
|---|
| 12 | 1 2_ 10.00 000 90 |
|---|
| 13 | 1 u_ 10.00 090 +180 |
|---|
| 14 | 2 u_ 10.00 090 180 |
|---|
| 15 | 2 d_ 10.00 090 0 |
|---|
| 16 | ; these should warn |
|---|
| 17 | 2 w_ 10.00 090 181 |
|---|
| 18 | 2 x_ 10.00 090 -1 |
|---|
| 19 | *calibrate clino 90 -1 |
|---|
| 20 | 1 2__ 10.00 000 90 |
|---|
| 21 | 1 u__ 10.00 090 0 |
|---|
| 22 | 2 u__ 10.00 090 0 |
|---|
| 23 | 2 d__ 10.00 090 180 |
|---|
| 24 | ; these should warn |
|---|
| 25 | 2 w__ 10.00 090 -1 |
|---|
| 26 | 2 x__ 10.00 090 181 |
|---|
Note: See
TracBrowser
for help on using the repository browser.