Minor bug generates warnings for valid clino readings

Olly Betts olly at survex.com
Wed Nov 14 06:34:59 GMT 2012


On Tue, Nov 13, 2012 at 01:16:03PM +0000, Footleg wrote:
> I was processing a survey were clino readings were from an instrument where
> a zero reading is straight up. So the calibrate statement is:
> *calibrate clino 90.00 -1
> 
> The file processes fine, but the log is full of warnings about clino
> readings over 90 degrees:
> warning: Clino reading over 90 degrees (absolute value)
> 
> These readings are not over 90 degrees once the calibration is applied, so
> the warnings should be not generated. Presumably a related bug exists where
> erroneous readings of less that -90 degrees (after calibration adjustment)
> would not generate warnings because the actual value (before calibration
> adjustment) is > -90

The warning is actually intentional, but it's based on the assumption
that a clino reading in degrees has numbers on from -90 to +90, and so
could not have shown you a reading outside this range.  If your clino
under-reads by 5 degrees, pointing it almost straight down will give a
reading off the scale - that's why there's a check on both the
uncorrected and corrected reading.

But it sounds like your clino has numbers on from 0 to 180?  We probably
want a way to give a valid range for the current instrument.  That would
also allow us to catch some typos in the tape reading (like 123.4
instead of 12.34).

Cheers,
    Olly



More information about the Survex mailing list