A small, reproducible GRID4EARTH example that exercises the analysis side of the
stack: take a real Sentinel-2 L2A scene, put it on an equal-area HEALPix
grid on the WGS84 ellipsoid with healpix-geo,
and compute its isotropic power spectrum with
healpix-analyse — a
differentiable (PyTorch) toolkit for analysing signals on HEALPix grids.
Why it matters¶
The power spectrum measures at which spatial scales a field has structure. To
be meaningful it must be computed on cells of equal surface area — a naïve
lon/lat grid shrinks cells towards the poles and biases the spectrum. HEALPix
cells all cover the same area at a given depth (nside = 2**depth), so
healpix-geo gives an unbiased grid and healpix-analyse does the analysis on
it. And because healpix-analyse is built on PyTorch, every operator is
differentiable — the same pipeline drops straight into a learning loop.
What the notebook does¶
The angular power spectrum of a Sentinel-2 scene on equal-area HEALPix
reads a window of Sentinel-2 L2A band B04 straight from the public AWS Cloud-Optimized GeoTIFF archive (no credentials);
samples it onto a HEALPix rectangle at
depth 18(~25 m cells, WGS84) withhealpix-geo;computes the radially-averaged power spectrum with
healpix-analyse.
Self-contained and runs in seconds — the Jupyter Book builds it on every push.
Reproduce it¶
Tools:
healpix-geo·healpix-analyse(GRID4EARTH)Data: Sentinel-2 L2A scene
S2A_22WEV_20190723(Copernicus / ESA), via the Element 84sentinel-s2-l2a-cogsarchive