Skip to content

axiom-data-science/zarrdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zarrdump logo

zarrdump

ncdump but for zarr

Copyright 2025 Axiom Data Science, LLC

See LICENSE for details.

Building

In order to build the project, contributors need rust, see Install Rust for details about installing the rust development environment on your system.

To build the project:

cargo build

To run the binary without building a release version or installing to a locally available path:

cargo run

For details about cargo and using cargo, please see The Cargo Book

Docker

To build the docker image:

docker build -t zarrdump .

To run the image as a docker container

docker run -it --rm zarrdump

Usage

Dump a ZARR v2 or v3 dataset metadata as JSON

Usage: zarrdump <PATH>

Arguments:
  <PATH>  File path to the zarr dataset

Options:
  -h, --help     Print help
  -V, --version  Print version

Examples

List all the variables in a zarr dataset:

zarrdump CE01ISSM-MFD35-04-ADCPTM000-daily-2025.zarr | jq '.variables | keys'

About

Dump zarr metadata to JSON from a command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published