Progress with programming of QC procedures into the Matlab ...
Progress with programming of QC procedures into the Matlab ...
Progress with programming of QC procedures into the Matlab ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Introduction to <strong>the</strong><br />
IMOS-Toolbox<br />
Guillaume Galibert, 26 th <strong>of</strong> August 2011
Introduction to <strong>the</strong> IMOS-Toolbox<br />
• Technical and historical background<br />
• What does/will it do Key features<br />
• Update on current development progress<br />
• Future developments
Technical & historical background<br />
• <strong>Matlab</strong> (core & GUI) + Java (access to database)<br />
• Standalone Windows executable & source code<br />
• MS-Access deployment database<br />
• Project (downloads / wiki / bugs) hosted on Google<br />
code : http://code.google.com/p/imos-toolbox/<br />
• Developers :<br />
– Paul McCarthy (April 2009 - February 2010 / v1.0 - v1.5)<br />
– Laurent Besnard (August - November 2010 / v1.55)<br />
– Guillaume Galibert (since May 2011 / v2.0 …)
IMOS-Toolbox : What does/will it do<br />
Data file<br />
Data file<br />
Data file<br />
Convert data files from ANMN sensors to<br />
IMOS NetCDF <strong>QC</strong>’d files<br />
Data file<br />
PP <strong>QC</strong><br />
IMOS<br />
NetCDF<br />
file<br />
IMOS - eMII<br />
data center<br />
Local<br />
deployment<br />
database
IMOS-Toolbox : Key features<br />
• Read data/metadata from data files<br />
– Seabird SBE37/39 CTD (.cnv)<br />
– Seabird SBE19+ V2 CTD (.hex & .cnv)<br />
– FSI NXIC CTD<br />
– RBR XR420 CTD<br />
– RBR DR-1050 pressure logger<br />
– Aquatec Aqualogger 520T & 520P & 520PT<br />
– WET Labs WQM (.raw & .dat)<br />
– YSI 6600 V2 Water Quality Sonde<br />
– Teledyne/RDI Workhorse ADCP<br />
– Nortek Aquadopp / Continental / AWAC ADCPs<br />
– Echoview (hydroacoustic processed data for fishery)<br />
• Read metadata from deployment database<br />
– MS-Access deployment database<br />
– Any kind <strong>of</strong> database <strong>with</strong> minimum design compatibility<br />
New<br />
New
IMOS-Toolbox : Key features<br />
• Perform pre-processing operations on data<br />
– Variable <strong>of</strong>fset/scaling<br />
– SBE43 oxygen voltage to concentration<br />
– Time start change<br />
– Time <strong>of</strong>fset to UTC<br />
– Add salinity variable<br />
– Add relative pressure variable<br />
New<br />
– Add depth variable for every sensor on a mooring<br />
New
• Display data<br />
IMOS-Toolbox : Key features<br />
– 1D/2D time series<br />
– Depth pr<strong>of</strong>ile<br />
– Lat/Lon plot<br />
– Any Xvar/Yvar plot<br />
• Display and edit<br />
IMOS NetCDF<br />
metadata<br />
– Global attributes<br />
– Variables attributes
IMOS-Toolbox : Key features<br />
• Perform <strong>QC</strong> operations on data using IOC flag system<br />
– IN / OUT water<br />
– Range test<br />
– Flat line detection<br />
– Time gap detection<br />
– Tukey 53 spike detection<br />
– RC filter spike detection<br />
– Teledyne workhorse ADCP <strong>QC</strong>
IMOS-Toolbox : Key features<br />
• Export data/metadata to IMOS NetCDF or ASCII formats<br />
• Import / PP / <strong>QC</strong> / Export steps can be operated in<br />
interactive or batch mode<br />
New
IMOS-Toolbox : Recent developments<br />
• Merge contributions<br />
– G. Keith (TAS) : Echoview parser + any kind <strong>of</strong> database connection<br />
– C. James (SA) : Parsers improvements (vectorization, …)<br />
– B. Morris (NSW) : Teledyne <strong>QC</strong> and batch mode improvements<br />
• Fix critical bugs (crashes + errors in data)<br />
– Parsers crashes (particular cases, memory issues)<br />
– Parameters reading and identification corrected<br />
– ADCP vertical dimension DEPTH => HEIGHT_ABOVE_SENSOR<br />
– Absolute and relative pressure measurements identified and documented<br />
– Time dependent DEPTH variable for every sensor on a mooring
IMOS-Toolbox : Recent developments<br />
• NetCDF CF compliance<br />
– T, X, Y and Z information<br />
– IMOS parameters / CF standard_name<br />
• Metadata auto-documentation<br />
– Instrument serial number<br />
– Instrument sample interval<br />
– vertical_geospatial_min/max + comment<br />
• Data display<br />
– Variables (1D / 2D) have matching X axis<br />
– Natural <strong>QC</strong> color settings<br />
– Y axis range adapted when <strong>QC</strong> performed
IMOS-Toolbox : Recent developments<br />
• Focus on DEPTH information (SYD100 : 2010/12 to 2011/02)<br />
– WQM<br />
– P & T loggers<br />
– ADCP
IMOS-Toolbox : Future developments<br />
• Pre-processing routines<br />
– Back processing from drifts model <br />
– Back processing from post calibration information <br />
• Metadata<br />
– Sensor serial number<br />
– Sensor calibration information<br />
– Flu (count) Vs Chl_a (mg.m-3) specific information
IMOS-Toolbox : Future developments<br />
• Define IMOS standard set <strong>of</strong> <strong>QC</strong> procedure<br />
– Which <strong>QC</strong> procedure for which instrument / variable <br />
– Improve existing <strong>procedures</strong><br />
– Implement Morello et al. <strong>procedures</strong> :<br />
o<br />
o<br />
o<br />
o<br />
o<br />
impossible date/location test<br />
regional range test based on climatologies<br />
spike test used in ANFOG<br />
stationarity test from IOC<br />
o<strong>the</strong>rs …<br />
• Quantitative <strong>QC</strong> - logical set based system (Morello et al.)<br />
– Results from <strong>QC</strong> tests<br />
– O<strong>the</strong>r information :<br />
o time since deployment/calibration<br />
o rate <strong>of</strong> change<br />
o deployment log sheet information<br />
o historical calibration information …<br />
-Fractions (S, M, L) <strong>of</strong> uncertainty<br />
-Qualitative flags
IMOS-Toolbox : Future developments<br />
• <strong>QC</strong> challenges/questions<br />
– Assessment <strong>of</strong> step functions in time series<br />
(Timms et al.)<br />
– Inter-observer bias (heterogeneous datasets<br />
in long term studies)<br />
– Different rate <strong>of</strong> change/behaviour : physical<br />
and biological data<br />
– Suites <strong>of</strong> special <strong>QC</strong> tests for distinct :<br />
o<br />
o<br />
Instruments : ADCP, CTD, WQM, …<br />
Variables : physical, biological, acoustic, …
IMOS-Toolbox : Future developments<br />
• Instrument/sensor quality<br />
management<br />
– Overall uncertainty fraction for<br />
each sensor after each<br />
deployment (Timms et al.)<br />
– Snapshots <strong>of</strong> sensors health<br />
• Deployment database<br />
– Update schema : calibration,<br />
uncertainty and quality<br />
management on sensors<br />
– Local Vs Central
IMOS-Toolbox : Future developments<br />
• Improve display<br />
– Tune colorbar settings for 2D<br />
data (ex. : ADCP)<br />
– Zoom & axis ticks behaviour<br />
– Legend integration<br />
– Resizable window<br />
• Routine maintenance<br />
– Bug fix<br />
– New feature request
Thank you
IMOS-Toolbox : <strong>QC</strong> on WQM<br />
• Spikes detection
IMOS-Toolbox : <strong>QC</strong> on WQM<br />
• Flat lines detection
IMOS-Toolbox : <strong>QC</strong> on WQM<br />
• WQM weird noise detection<br />
– Observation <strong>of</strong> statistical distributions
IMOS-Toolbox : <strong>QC</strong> on WQM<br />
• WQM weird noise detection<br />
– Filter on data from most important mode < (mode 1 – 3*standard_deviation)