Public
Edited
Nov 8, 2023
3 forks
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
byteArray = file.arrayBuffer().then((d) => new Uint8Array(d))
Insert cell
Insert cell
Insert cell
wasmBytes = {
wasm;
let t0 = Date.now();
let result = window.rinex2Json(byteArray);
mutable benchmark = Date.now() - t0;
return result;
}
Insert cell
Insert cell
text = {
return wasmBytes.map((d) => String.fromCharCode(...d));
}
Insert cell
Insert cell
json = text.map((d) => JSON.parse(d))
Insert cell
Insert cell
data = d3.merge(
json.map((d) => {
d.obs.forEach((t) => (t.time = d3.timeParse("%Y-%m-%dT%H:%M:%SZ")(d.time)));
return d.obs;
})
)
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

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