Render frames, plots, animations, or composed video.
Aliases accepted for stage: — visualization, render.
Generated from Zyra 0.1.54. See Pipeline Schema for how args keys become CLI flags.
Commands: animate · compose-video · contour · heatmap · interactive · sos · timeseries · vector
visualize animate
zyra visualize animate
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
||
|
|
path |
||
|
|
path |
||
|
|
path |
||
|
|
str |
|
Choices: |
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
float |
|
|
|
|
str |
||
|
|
str |
|
|
|
|
str |
Basemap (path, bare image name, or pkg:ref) |
|
|
|
float |
west east south north (default: -180 180 -90 90) (note: |
|
|
|
int |
|
|
|
|
int |
|
|
|
|
int |
|
|
|
|
str |
|
|
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
bool |
|
|
|
|
str |
||
|
|
str |
||
|
|
bool |
|
|
|
|
str |
||
|
|
str |
|
Choices: |
|
|
str |
|
Choices: |
|
|
str |
||
|
|
int |
|
|
|
|
str |
||
|
|
str |
||
|
|
bool |
|
|
|
|
str |
||
|
|
int |
|
|
|
|
str |
|
Choices: |
|
|
int |
|
|
|
|
str |
||
|
|
int |
|
|
|
|
int |
|
|
|
|
bool |
|
|
|
|
float |
|
|
|
|
int |
|
|
|
|
str |
|
Choices: |
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
visualize compose-video
zyra visualize compose-video
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
Frames directory |
|
|
|
path |
Output MP4 path |
|
|
|
str |
Filename glob within frames dir (e.g., ‘*.png’); defaults to first extension found |
|
|
|
int |
Frames per second (default: 30) |
|
|
|
str |
Basemap (path, bare image name, or pkg:ref) |
|
|
|
str |
Named output preset. ‘sos’ pins the Science On a Sphere spec: 4096x2048, 30 fps, H.264 yuv420p, faststart. Explicit flags override individual preset values. Choices: |
|
|
|
str |
Output size as WIDTHxHEIGHT (e.g., 4096x2048); frames are scaled preserving aspect ratio and padded to fit |
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
visualize contour
zyra visualize contour
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
Path to .nc/.nc4, .npy, or .tif/.tiff input |
|
|
|
path |
Multiple inputs for batch rendering |
|
|
|
path |
Directory to write outputs for –inputs |
|
|
|
path |
Destination filenames for –inputs, one per input, in order (default: the source stem + .png) |
|
|
|
str |
Variable name for NetCDF inputs |
|
|
|
int |
|
Band to read for GeoTIFF (.tif/.tiff) inputs (1-based; nodata renders transparent) |
|
|
str |
Basemap (path, bare image name, or pkg:ref) |
|
|
|
float |
west east south north (default: -180 180 -90 90) (note: |
|
|
|
path |
Output PNG path (required for single –input; when using –inputs, prefer –output-dir) |
|
|
|
int |
|
|
|
|
int |
|
|
|
|
int |
|
|
|
|
str |
|
|
|
|
str |
Palette JSON (classified bands or continuous spec); path, ‘-’, or an http(s)/s3 URL |
|
|
|
str |
Write a standalone colorbar legend image (transparent background) |
|
|
|
str |
|
Orientation for –legend-file Choices: |
|
|
bool |
|
Use filled contours |
|
|
str |
Count or comma-separated levels (default: 10; with a classified –cmap-file the palette bounds are used unless set) |
|
|
|
bool |
|
|
|
|
str |
||
|
|
str |
||
|
|
str |
Comma-separated features: coastline,borders,gridlines |
|
|
|
str |
xarray engine for NetCDF inputs (e.g., netcdf4, h5netcdf, scipy) |
|
|
|
str |
|
Choices: |
|
|
str |
Contextily tile source (when –map-type=tile) |
|
|
|
int |
|
|
|
|
str |
Overlay timestamp string |
|
|
|
str |
Force input CRS (e.g., EPSG:3857) |
|
|
|
bool |
|
|
|
|
str |
|
Timestamp placement (axes-relative) Choices: |
|
|
bool |
|
|
|
|
bool |
|
|
|
|
bool |
|
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
visualize heatmap
zyra visualize heatmap
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
Path to .nc/.nc4, .npy, or .tif/.tiff input |
|
|
|
str |
Variable name for NetCDF inputs |
|
|
|
int |
|
Band to read for GeoTIFF (.tif/.tiff) inputs (1-based; nodata renders transparent) |
|
|
str |
Basemap (path, bare image name, or pkg:ref) |
|
|
|
float |
west east south north (default: -180 180 -90 90) (note: |
|
|
|
path |
Output PNG path (required when using –input; for –inputs use –output-dir) |
|
|
|
path |
Multiple input paths for batch rendering |
|
|
|
path |
Directory to write outputs for –inputs |
|
|
|
path |
Destination filenames for –inputs, one per input, in order (default: the source stem + .png) |
|
|
|
int |
|
|
|
|
int |
|
|
|
|
int |
|
|
|
|
str |
|
|
|
|
str |
Palette JSON (classified bands or continuous spec); path, ‘-’, or an http(s)/s3 URL |
|
|
|
str |
Write a standalone colorbar legend image (transparent background) |
|
|
|
str |
|
Orientation for –legend-file Choices: |
|
|
float |
Fixed minimum data value for color scaling (use across frame sequences to avoid flicker) |
|
|
|
float |
Fixed maximum data value for color scaling (use across frame sequences to avoid flicker) |
|
|
|
bool |
|
Write value-exact 8-bit grayscale instead of a picture: luma is the value normalised against –vmin/–vmax, and a palette sidecar colours it at display time. Requires –vmin/–vmax; never autoscales per frame. Bypasses the basemap and the figure pipeline entirely |
|
|
str |
Write the palette + scale sidecar JSON for –data-encoded (stops, vmin, vmax, units, transparentRange) |
|
|
|
bool |
|
|
|
|
str |
||
|
|
str |
||
|
|
str |
Comma-separated features: coastline,borders,gridlines |
|
|
|
str |
xarray engine for NetCDF inputs (e.g., netcdf4, h5netcdf, scipy) |
|
|
|
str |
|
Basemap type: image (default) or tile Choices: |
|
|
str |
Contextily tile source name or URL (when –map-type=tile) |
|
|
|
int |
|
Tile source zoom level |
|
|
str |
Overlay timestamp string |
|
|
|
str |
Force input CRS (e.g., EPSG:3857) |
|
|
|
bool |
|
Attempt reprojection to EPSG:4326 (limited support) |
|
|
str |
|
Timestamp placement (axes-relative) Choices: |
|
|
bool |
|
|
|
|
bool |
|
|
|
|
bool |
|
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
Example stage
- stage: visualize
command: heatmap
args:
input: "samples/demo.npy"
output: "/tmp/heatmap.png"
visualize interactive
zyra visualize interactive
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
||
|
|
str |
||
|
|
str |
|
Choices: |
|
|
str |
|
Choices: |
|
|
str |
|
|
|
|
bool |
|
|
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
str |
|
|
|
|
str |
|
|
|
|
int |
|
|
|
|
float |
west east south north (default: -180 180 -90 90) (note: |
|
|
|
int |
|
|
|
|
int |
|
|
|
|
path |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
float |
|
|
|
|
float |
|
|
|
|
str |
|
|
|
|
bool |
|
|
|
|
str |
||
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
visualize sos
Render gridded data as Science On a Sphere (SOS) frames: full-globe, PlateCarree, 2:1, edge-to-edge PNGs. Use a fixed –vmin/–vmax range to keep color scaling identical across a frame sequence (flicker-free). Supports single (–input/–output) and batch (–inputs/–output-dir) modes.
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
Path to .nc or .npy input |
|
|
|
path |
Multiple input paths for batch rendering |
|
|
|
str |
Variable name for NetCDF inputs |
|
|
|
path |
Output PNG path (required when using –input) |
|
|
|
path |
Directory to write outputs (required when using –inputs) |
|
|
|
str |
Optional basemap (path, bare image name, or pkg:ref) drawn under the data |
|
|
|
float |
west east south north (default: global -180 180 -90 90) (note: |
|
|
|
int |
|
Output width (px) |
|
|
int |
|
Output height (px) |
|
|
int |
|
|
|
|
str |
|
Colormap name |
|
|
float |
Fixed minimum data value for color scaling (recommended for sequences) |
|
|
|
float |
Fixed maximum data value for color scaling (recommended for sequences) |
|
|
|
bool |
|
Flip data vertically before rendering (for north-up grids) |
|
|
str |
xarray engine for NetCDF inputs (e.g., netcdf4, h5netcdf, scipy) |
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
visualize timeseries
zyra visualize timeseries
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
path |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
str |
|
Choices: |
|
|
int |
|
|
|
|
int |
|
|
|
|
int |
|
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
visualize vector
zyra visualize vector
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
||
|
|
path |
||
|
|
path |
||
|
|
path |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
str |
||
|
|
str |
Basemap (path, bare image name, or pkg:ref) |
|
|
|
float |
west east south north (default: -180 180 -90 90) (note: |
|
|
|
int |
|
|
|
|
int |
|
|
|
|
int |
|
|
|
|
str |
||
|
|
bool |
|
|
|
|
str |
|
Choices: |
|
|
str |
||
|
|
int |
|
|
|
|
float |
|
|
|
|
float |
||
|
|
str |
|
|
|
|
bool |
|
|
|
|
str |
||
|
|
bool |
|
|
|
|
bool |
|
|
|
|
bool |
|
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.