Public
Edited
Sep 30, 2024
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
(pressure.depth * -1).toFixed(0)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
const coef = `G=-1.02792940e+001
H= 1.26817446e+000
I=-8.39929287e-004
J= 1.09210690e-004
CTcor= 3.25000e-006
CPcor=-9.57000e-008`;
const lines = coef.split("\n");
const lines2 = lines.map((d) => d.split("="));
lines2.forEach((l) => (l[1] = parseFloat(l[1])));
const obj = {};
lines2.forEach((l) => (obj[l[0]] = l[1]));

const t = -1.5;

const g = obj.g ?? obj.G;
console.log(obj);
const c = Cond.getValueConductivity(obj, 5500, t, 10);
const sal = Cond.COND2PSU(c.SPerM, t, 10);
return [obj, c, sal];
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
// 0.025 : 0.000348 = 0.04 : x
// 0.025 : 0.000348 = 0.1 :
return (0.000348 * 0.1) / 0.025;
}
Insert cell
sbe4cAccuracyPSU = Cond.COND2PSU(4.2914 + 0.0003, 15, 0) -
Cond.COND2PSU(4.2914, 15, 0)
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more