Skip to Content
Octant

Share links

Create URLs that open a specific dataset, variable, and view configuration in Octant.

A share link is an Octant web app URL with human-readable query parameters that describe the exact plot to render:

https://ndvis.github.io/octant/?src=https://x/a.zarr&var=t2m&plot=heatmap&time=2020-01-01

Opening a share link launches the view directly in your browser, or you can paste the same URL into desktop Octant's address field. Click Share in the Settings panel header to generate and copy a link for your current plot automatically.

Query parameters

ParameterDescription
srcDataset URL (http(s)://, s3://, or gs://). Local filesystem paths are not supported in share links.
varVariable to plot. For a multiscale pyramid, specify the finest level (level 0).
multiscale_levelPyramid resolution level to load: an integer such as 2 requests level 2 (0 is finest), falling back to a coarser level if it exceeds available memory; auto:2 starts at level 2 detail or finer and refines dynamically as you zoom, subject to memory limits. When omitted, Octant selects the level matching the viewport.
axesComma-separated dimensions mapped to the x, y, and (for 3D plots) z axes, e.g., lon,lat.
animDimension to animate along.
<dimension>Coordinate value or slice range for a dimension, e.g., time=2020-01-01..2020-12-31. Prefix with dim. (dim.<name>) if a dimension name collides with a reserved query parameter.
stepInitial step along the animated dimension.
plotPlot type: heatmap, line, surface, volume, sphere, or point cloud.
cmapColormap identifier in family:name format.
rangeColorbar minimum and maximum values, e.g., 250..310.
viewVisible viewport bounds for a zoomed heatmap (x0..x1,y0..y1) in coordinate units.
cameraCamera orientation for 3D plots as pitch,yaw,distance (angles in degrees, followed by distance to the target point). Append three optional coordinates (x,y,z) when the target point is off-center (not applicable to sphere). Example: camera=14.3,-30,2.6.
overlayVariable rendered as an overlay on top of a heatmap; repeat the parameter to add multiple overlays.

Coordinate values follow the dataset's native representation—ISO dates, numeric values in coordinate units, or category labels. Use #n to select the n-th index position directly.

Embedding an "Open in Octant" badge

You can add an Open in Octant badge to a README, dataset landing page, or publication website. Choose either the full badge or the compact icon, copy the snippet below, and replace the example URL with your own share link (generated with Share in Octant or constructed manually with ?src=).

Open in OctantOpen in Octant

The SVG badges include a built-in dark background so they remain legible on both light and dark pages, and they require no external scripts or stylesheets—making them compatible with GitHub, GitLab, PyPI, Zenodo, and any standard website.

Open in Octant
[![Open in Octant](https://ndvis.github.io/octant-docs/badge/open-in-octant.svg)](https://ndvis.github.io/octant/?src=https://example.org/data.zarr)
Icon only
[![Open in Octant](https://ndvis.github.io/octant-docs/badge/octant.svg)](https://ndvis.github.io/octant/?src=https://example.org/data.zarr)

You can append &var= or any other query parameter to customize the initial view. If the dataset URL itself contains & or ? characters, percent-encode it first (for example, with encodeURIComponent in JavaScript or urllib.parse.quote(url, safe="") in Python), just as Octant's Share button does.

On this page