Skip to content

lguez/Test_compare

Repository files navigation

This repository contains seven tools:

  • diff_dbf compares dBase database files (.dbf file extension).
  • diff_gv compares files in Graphviz dot language.
  • diff_shp compares shapefiles.
  • max_diff_rect compares CSV files.
  • nccmp compares NetCDF files.
  • selective_diff compares directories.
  • test_compare launches user-defined processes and compares results with previous runs.

Each of these tools can be run directly on the command line. Some of them call others from this repository.

selective_diff

selective_diff compares two directories, recursively. The value of selective_diff is that it has better than diff capabilities for some chosen types of files: NetCDF, numeric CSV, shapefile.

Note that arguments should be two directories, not two files.

Dependencies: see requirements, plus ndiff.

test_compare

Test code and compare results.