My use case for ncdump is almost exclusively ncdump -h $FILE
.
This presents two mild inconveniences:
- Output is not colourised. This is kind of annoying.
- It's too many characters to type.
This tool solves these glaring errors, by providing shorter command name, and colourising the output. It mostly exists because I wanted to write a CLI tool in Rust. For reference, I'm using the output of nchd as a target for what this tool should output.
- Clone this repository
- Run
cargo build --release
- Copy the binary from
target/release/nchdr
to somewhere in your$PATH
.
You will probably also need to update the rpath configurations in config.toml to link to the correct location of the netCDF library on your system. Fixing this is on my radar.
nchdr $FILE
--help
: Show help message and exit... Currently not implemented.
Feel free to contribute! With that in mind, this tool is intentionally simple.