Compare the structure of two netCDF files at the command line
Posted: Tue Sep 26, 2023 10:57 am America/New_York
"ncompare" tool:
Problem:
When creating or modifying Network Common Data Form (netCDF) files, there is often a need to evaluate the differences between an original, unmodified file and a new, modified file. In these cases, one often finds themselves manually opening each file and inspecting its contents to determine whether there are or are not differences in the structure and shapes of groups and variables.
Brief Description:
`ncompare` compares the structure of two Network Common Data Form (netCDF) files at the command line. It facilitates rapid comparisons by generating a formatted display of the matching and non-matching groups, variables, and associated metadata between two netCDF datasets. The user can colorize the terminal output for ease of viewing. As an option, `ncompare` can save comparison reports in text and/or comma-separated value (CSV) formats.
When creating or modifying Network Common Data Form (netCDF) files, there is often a need to evaluate the differences between an original, unmodified file and a new, modified file. In these cases, one often finds themselves manually opening each file and inspecting its contents to determine whether there are or are not differences in the structure and shapes of groups and variables.
Brief Description:
`ncompare` compares the structure of two Network Common Data Form (netCDF) files at the command line. It facilitates rapid comparisons by generating a formatted display of the matching and non-matching groups, variables, and associated metadata between two netCDF datasets. The user can colorize the terminal output for ease of viewing. As an option, `ncompare` can save comparison reports in text and/or comma-separated value (CSV) formats.