Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

header

Extract the metadata of a single NetCDF file to a YAML file, dimensions, variables, and global attributes. No observation data is read.

ctddump header <subcommand> <src_file> <target_file>
SubcommandSource
nrtNRT files
coraCORA files

Examples

ctddump header nrt  input.nc output.yaml
ctddump header cora input.nc output.yaml

To extract metadata for a whole directory at once, use batch header; to combine many YAML files into one, use concat header.