possible O2 PP display bug

Robert C. Helling helling at atdotde.de
Sun Mar 3 07:57:54 PST 2013


On Mar 2, 2013, at 10:35 PM, Dirk Hohndel wrote:

> 
> On Mar 2, 2013, at 1:18 PM, Jan Schubert wrote:
>> It's 1,04, see the same dive freshly downloaded using current git attached.
>> Dirk, this also proves 3.0.2 is doing well, checked all the dives
>> available on my Shearwater.
> 
> Here is the one thing I really want to see tested.
> 
> Start with an empty file.
> Download with 3.0.1.
> Save
> Open again with 3.0.1
> Save 
> verify that pO2 values are corrupted
> Open with latest git
> download and check "force download of all dives"
> save
> verify that pO2 values are correct
> 
> (as that is what we'll tell our users to do after I release 3.0.2)


Hi,

here is the fix-using-guessing web service, that I announced 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: removepo2jumps.pl
Type: text/x-perl-script
Size: 1154 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130303/5c48a3c4/attachment.bin>
-------------- next part --------------


It takes a file name option on the command line or runs as a cgi-script and looks at all 'dangerous' po2 values and checks whether replacing them by the right-shifted values makes them better agree with the linear extrapolation of the previous two samples and if yes replaces the sample (and marks it corrected in the xml). I have it running on

http://euve10195.vserver.de/rch-cgi-bin/removepo2jumps.pl

If you upload the example file with the jumps it removes all the jumps.

I noticed that in the example file all po2's are multiples of 10mbar (that seems to be the granularity of the sensor or logging). Thus I assumed that this is generic and only test if the mbar-value is divisible by 100.

Best
Robert
--                                                                              
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO 
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 



More information about the subsurface mailing list