Public
Edited
Dec 18, 2023
Fork of HDF5 in JS
Insert cell
Insert cell
// js5 = require("jsfive@0.3.5/dist/hdf5.js").catch(() => window["hdf5"])
h5wasm = await import("https://cdn.jsdelivr.net/npm/h5wasm@0.1.8/dist/hdf5_hl.js")
Insert cell
Insert cell
Insert cell
Insert cell
f = {
const buffer = await (await fetch("https://ndownloader.figshare.com/files/7024985")).arrayBuffer();
h5wasm.FS.writeFile("x.h5", new Uint8Array(buffer));
return new h5wasm.File("x.h5", "r");
}
Insert cell
n = f.get("Domain_03/OSBS/min_1/boom_1/temperature").slice([[0, 4]])
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