Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Explore the viewer

This guide describes the viewer on chronozarr.org. See self-host the viewer to copy the viewer from the npm package to your own host.

The live demo loads 117 monthly Sentinel-2 composites of the Ucayali River in Peru, November 2015 to February 2026, from a public storage bucket. Package publication and deployment of the hosted viewer are separate steps. Installing the Python package does not update the hosted demo.

Where it starts

The viewer opened without a selected store or view starts its catalog's default store at the latest well-covered timestep. Among the newest 24 timesteps, that is the latest in which at least half of the pixels are observed, according to the store's coverage plane, or valid, according to its mask. A store with neither plane starts at its last timestep. The public Ucayali store has neither, so it starts at its last month. A copied viewer has an empty catalog until you supply a store.

A link with a timestep (t) opens at that timestep. If it specifies a store, product, zoom or centre but omits t, it opens at the first timestep. Preview, share and publish links follow the same rule.

Controls

ToDo this
Play or pauseClick the play button, or press Space
Step one timestepPress the Left or Right arrow key, or click the arrows beside the date
Scrub through timeHold the Left or Right arrow key, or drag on the timeline
Jump to a dateClick or drag on the timeline
Go to the first or last timestepFocus the timeline, then press Home or End
Change the playback speedDrag the speed slider
ZoomScroll, pinch on a touch screen, or focus the map and press plus or minus. Press 0 with the map focused to fit the whole store
PanDrag the map, or focus it and press an arrow key
See a pixel's values over timeClick the map, or focus it and press Enter to inspect the centre. The inspector shows a snapshot at the displayed date and a chart across time. In a narrow or embedded view, Escape closes the inspector drawer. The desktop side panel stays visible
Copy a pixel's locationClick the map, then Copy beside Latitude, longitude. Coordinates are WGS84 degrees at the selected native pixel's centre, latitude first
Change the productChoose it in the product list, or press 1 to 9
Change the display range of one bandChoose Single band. For a band with adjustable limits, set the minimum and maximum, or use Auto to fit the pixels on the screen. Bands shown as reflectance, including the quickstart sample, use fixed limits and show no range or Auto controls
Color one bandChoose Single band, then pick Viridis, Magma or Turbo in the colormap list. When range controls are available, the bar between the minimum and maximum shows the colors
Show zero coverageClick Gaps. It hatches pixels whose coverage is 0. It needs a store with a coverage plane
Copy a link to this viewClick Copy link
Open another storePaste its URL in the store field and click Open
Save the loop as a videoClick Export, choose MP4, WebM or GIF and the range, click Export, then click the Download link. Firefox records WebM and GIF only. Embedded viewers have Export too
Show load and decode statisticsPress D

The date between the step buttons is the date of the image on the map. If the selected date is still loading or could not be loaded, a notice names it and the date still on screen.

Playback buffers two seconds of frames before starting. As the store loads, the viewer measures the link and counts the upcoming frames that still need to be downloaded. If the link cannot sustain your chosen speed, playback slows to match it. The label shows both speeds (4 /s → 0.7) with an explanation (0.7 step/s: link too slow for 4). Cached frames play faster, and playback returns to your chosen speed once the loop is in memory.

A drag on the timeline, a held arrow key and arrow-key presses less than 0.3 s apart are a scrub. While you scrub, the viewer draws the sharpest level whose next frames are already loaded. That level can be coarser than usual.

A scrub ends when you release the pointer or the held arrow key. Presses that you do not hold end it 0.3 s after the last press. The viewer then draws the date you stopped on at the usual level for your zoom.

At level 0, zero coverage means that no observation was recorded for that pixel. Overview coverage is a rounded mean and can become zero even when part of the block was observed. Zoom to native resolution before interpreting a hatch as an observation gap.

Products

The viewer computes each product on your graphics card from the stored bands. A product appears in the list when the store has the bands it needs.

ProductBands it needs
True colorred, green, blue
False colornear infrared, red, green
NDVInear infrared, red
NDWIgreen, near infrared
Watergreen, near infrared
Single bandany one band
Dual-pol compositeco-pol and cross-pol, in dB

The Dual-pol composite draws co-pol in red, cross-pol in green and their ratio in dB in blue. The co-pol and cross-pol bands are the bands named VV and VH, or HH and HV. The viewer sets each channel's range once, from the first pixels on the screen, and keeps it while you step through time. A store with such a pair opens on this product.

The store names these roles in its band metadata. chronozarr bands STORE lists them and sets them. See Band roles and the first view.

Links to a view

Copy link copies the address of the current view. It holds the store, the timestep, the product, the band with its display range and colormap, the zoom and the map centre. It does not hold the playback speed or the loop setting. If your browser blocks automatic copying, copy the selected URL in the dialog.

If a shared store fails to open, the viewer shows the error. Use the store field to try a corrected URL or choose Open default dataset to go to the demo.

The address uses these parameters:

ParameterMeaningExample
storeURL of the storehttps://data.example.org/my_store
tTimestep index, from 0t=71
pProductp=ndvi
bBand, for Single bandb=B08
rDisplay range low,high in physical units, for Single band with adjustable limits; ignored for bands shown as reflectancer=0,100
cmColormap for Single band: gray, viridis, magma or turbocm=viridis
zZoom, in screen pixels per stored pixelz=2.5
cMap centre x,y in the store's coordinate systemc=684500,9123350

chronozarr link STORE_URL prints the same kind of link from the command line and checks it against the store. It sets t, p, b, r, cm, z and c with --time, --product, --band, --range, --colormap, --zoom and --lonlat or --xy. Use --viewer to point the link at your hosted viewer. To show the viewer inside your own page, see Embed the viewer.

Choose a date and a place

chronozarr link https://data.example.org/my_store --time 71 --lonlat -64.62,-3.41 --zoom 2
  • --lonlat LON,LAT is a longitude and a latitude in degrees, longitude first. link converts them to the store's coordinate system and writes the result as c. A store declaring only EPSG:4326 needs no projection library. Projected coordinates and stored WKT2/PROJJSON definitions need pyproj from the geo extra to interpret the definition or prove it equivalent to its code, including a geographic store with redundant WKT2. A lower-priority code never replaces an unverified definition. A longitude moves by 360 degrees when that puts it inside the store, so -64.6 finds a store that counts longitudes from 0 to 360.
  • --xy X,Y is the point in the store's own coordinate system, the CRS that chronozarr info prints. Use it when you already have those numbers, for example from the c of a copied link. It remains usable without pyproj, as does a link without a centre. Give --lonlat or --xy, not both.
  • link refuses a point that the store does not cover and prints what it does cover. The viewer would move such a centre to the nearest edge without a message.
  • --zoom Z is z, the number of screen pixels that draw one stored pixel. At 1 each stored pixel is one screen pixel, at 4 it is a square of 4 by 4, and at 0.5 one screen pixel shows 2 by 2 stored pixels. The map shows its width in screen pixels, times the pixel size, divided by the zoom: on a map 1,000 pixels wide, a store with 10 m pixels shows 10 km at zoom 1, 2.5 km at zoom 4 and 20 km at zoom 0.5. A centre without --zoom gets zoom 1. A zoom without a centre zooms on the middle of the store. The viewer cannot draw more than 16 device pixels per stored pixel, or less than half of what fits the whole store, and moves a zoom beyond that to the limit.

What the browser downloads

The map is divided into cells of 512 by 512 pixels. For each view, the browser downloads the cells on the screen, at the current timestep, at the level of detail that matches the zoom. It also downloads the timesteps around the current one in the background. Stepping through time then usually needs no new download. A link to a store gives read access to the whole store, but the browser fetches only what the view needs.

Privacy

The viewer page and its scripts come from chronozarr.org. The page runs no analytics script and sets no cookies. It keeps the playback speed that you choose in your browser's local storage. The store's data travels from the store's host to your browser, and chronozarr.org receives none of it. The page address, with its store= value, does reach chronozarr.org's host, as any page request does. Private stores explains what a viewer link exposes.

The documentation pages are separate from the viewer. They load their fonts from Google Fonts and use Cloudflare Web Analytics.

Browser support

The viewer needs WebGL2. Current versions of Chrome, Edge, Firefox and Safari have it. A store that you preview from your own computer is served from http://127.0.0.1. Safari can block that address from the https viewer page. Use Chrome or Firefox for a local preview, or see Troubleshooting.