aodn / imos-toolbox

Graphical tool for QC'ing and NetCDF'ing oceanographic datasets
GNU General Public License v3.0
46 stars 31 forks source link

convertSBEcnvVar some variable not correct/applicable for some SBE instruments #225

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With changes convertSBEcnvVar when parseing cnv with scan or flag can now 
variables assigned to instrument that aren't correct (or applicable). For 
example an SBE56 with ETIME
Default SBE56 cnv export is 

# name 0 = scan: Scan Count
# name 1 = timeK: Time, Instrument [seconds]
# name 2 = t090C: Temperature [ITS-90, deg C
# name 3 = flag:   0.000e+00

so cannot be changed. And ETIME would not be correct for this instrument.  

For an SBE37 with flag output in cnv file would now end up with SBE_FLAG which 
I am not sure how useful this would be (unless users bin the timeseries data?), 
similarly if had scan - > ETIME also will not be correct.

For a moored SBE16, scan->ETIME most likely wrong.

Need confirmation that all Seabird CTDs (19,19+,25) have 4Hz sampling rate so 
that the line "data = data/4;" is correct.

Not sure of solution, maybe pass mode (profile/timeseries), and if 
mode==timeseries most likely don't care about SBE_FLAG and ETIME. Will need 
some more user feedback.

Original issue reported on code.google.com by s.spag...@gmail.com on 30 Oct 2014 at 4:40

GoogleCodeExporter commented 9 years ago
Fair enough, I will disable parsing of scan, flag and f1 in timeSeries mode. 
These are only useful in profile mode.

Original comment by guillaum...@gmail.com on 18 Dec 2014 at 3:26