dankelley / oce

R package for oceanographic processing
http://dankelley.github.io/oce/
GNU General Public License v3.0
142 stars 42 forks source link

guessing on SBE param names relating to oxygen #1951

Closed dankelley closed 2 years ago

dankelley commented 2 years ago

As noted in #1948 I have some files that have column names that are not handled by read.ctd.sbe(). The reason they are not handled is that I have no SBE documentation to state what they are. However, I do have the cnv files, and so I plan to add the presently-unhandled ones to read.ctd.sbe().

PS. SBE show little evidence of thought in these variable names. Sometimes "M" is for milli, other times for micro. K is for "kilo", which is weird since I bet temperature can be reported in Kelvin. Oh well, ours is not to wonder why.

grep ": Oxygen" ../tests/testthat/local_data/ctd/*cnv|sed -es/.\*=//|sort|uniq
 oxsolML/L: Oxygen Saturation, Garcia & Gordon [ml/l]
 oxsolMg/L: Oxygen Saturation, Garcia & Gordon [mg/l]
 oxsolMm/Kg: Oxygen Saturation, Garcia & Gordon [umol/kg]
 sbeox0ML/L: Oxygen, SBE 43 [ml/l]
 sbeox0ML/L: Oxygen, SBE 43 [ml/l]
 sbeox0Mg/L: Oxygen, SBE 43 [mg/l]
 sbeox0Mm/L: Oxygen, SBE 43 [umol/l]
 sbeox0PS: Oxygen, SBE 43 [% saturation]
 sbeox0PS: Oxygen, SBE 43 [% saturation]
 sbox0Mm/Kg: Oxygen, SBE 43 [umol/kg]
 sbox0dV/dT: Oxygen, SBE 43 [dov/dt]
dankelley commented 2 years ago

A checklist so I can keep track (a checkmark means changed in my file, not that it is on GH yet).

dankelley commented 2 years ago

Done in "develop" commit def1a1595af47f46c86016107c303435e09ddf5b