Skip to content

EarthyScience/EarthPrints

Repository files navigation

FluxFingerPrints

POC Research — Browser-based exploration and insight generation for environmental fingerprints and Flux tower footprints.

Overview

FluxFingerPrints brings together global climate datasets and eddy-covariance flux tower measurements into an interactive, browser-native geospatial tool. The core idea: click any pixel on a global map and instantly see that pixel's environmental "fingerprint" — a composite view of climate variables over time — alongside the spatial footprint of nearby flux towers.

Two pillars

Pillar What it is Data source
Climate Fingerprints Per-pixel time-series of global variables (temperature, precipitation, NEE, …) rendered as heatmaps / charts In-house Zarr archives, streamed via zarrita.js
Flux Tower Footprints Probabilistic source-area footprints from eddy-covariance towers, visualised as heatmaps overlaid on the map Pre-computed outputs + optional on-the-fly computation via Kljun FFP

Features

  • Global map tiles — GPU-accelerated rendering with deck.gl
  • Climate variable overlays — stream and slice multidimensional Zarr arrays in-browser with zarrita.js
  • Click-to-pick pixel selection — point-and-click to select any grid cell
  • On-demand data fetch — lazy-load only the slices you need
  • Array reshaping & computation — TypeScript (and optionally WebGPU) for in-browser array math
  • Popup heatmap / time-series — interactive charts rendered per selected pixel
  • Export — download selected data slices or rendered visualisations

Tech Stack

Layer Choice
Framework Next.js 15 (App Router)
Language TypeScript
Styling Tailwind CSS
Map & GPU rendering deck.gl
Zarr streaming zarrita.js
Array compute TypeScript / WebGPU (TBD)
Charting TBD (e.g. Observable Plot, Recharts)

Getting Started

Prerequisites

  • Node.js ≥ 18
  • npm ≥ 9 (or pnpm / yarn / bun)

Install

git clone https://github.com/your-org/FluxFingerPrints.git
cd FluxFingerPrints
npm install

Run dev server

npm run dev

Open http://localhost:3000 in your browser.

Other commands

npm run build      # production build
npm run start      # serve production build
npm run lint       # ESLint

Data Sources


Roadmap

  • Deck.gl base map with tile layer
  • Zarr overlay for at least one climate variable
  • Click-pick pixel interaction
  • Fingerprint heatmap popup
  • Flux tower footprint overlay
  • On-the-fly footprint computation (time permitting)
  • Spectral / math analysis (SpectraScope-style, time permitting)
  • Export (CSV / PNG)

Project Structure

src/
├── app/               # Next.js App Router pages & layouts
├── components/        # Reusable UI components
├── lib/               # Data fetching, Zarr helpers, array compute
└── types/             # Shared TypeScript types

References

About

Browser-based exploration and insight generation for environmental fingerprints and Flux tower footprints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors