WebAssembly geospatial toolkit

Read weather & geospatial grids right in the browser

GRIB2, NetCDF, Zarr and GeoTIFF through one mental model: scan a file, pull a point or an area, render it on a map, or trim it down — no server, no Python.

GRIB2 NetCDF3 NetCDF4 / HDF5 Zarr v2 TIFF / GeoTIFF / COG

Choosing your pathway

From a file to what you need

The two questions that branch the API: point or area? and object or file-ready output?

What is this file?format · variables · time · bbox
detectFormat / scan format + metadata
A value at one pointnearest lat / lon
extract object  ·  extractOutput JSON / CSV
A grid over an areabounding box, parallel + abortable
extractGrid Float32 grid  ·  extractGridOutput JSON / GeoTIFF / PNG
Draw it on a mapgrid → pixels
gridToImageData / gridToPNG RGBA / PNG (+ color ramps)
A smaller file, same formatkeep only what you need
trim { bytes, … }

Try it

Interactive demos

Drop one of your own files (or a fixture from examples/testfile/) into any demo.

API demo

The full functional API on one page: detect, scan, extract a point, export a bbox grid, and trim a file — with live JSON output.

scanextractextractGridtrim
Open API demo →

Map demo

Render any file onto a MapLibre basemap with a color ramp, then click the map to read back the underlying value. Worker-offloaded.

extractGridgridToImageDatarender
Open map demo →

Library usage

A minimal copy-paste page showing the class-based SciWridToolkit API — load a file once and reuse it across queries.

SciWridToolkitclass API
Open usage example →