Go to the source code of this file.
|
| dictionary | startItems = {} |
| |
| dictionary | dataItems = {} |
| |
| dictionary | globalAttributeItems = {} |
| |
| | parser = argparse.ArgumentParser(description='Compare two HDF4 files.') |
| |
| | help |
| |
| | args = parser.parse_args() |
| |
| | proc = subprocess.Popen(["hdiff", "-e", "10", args.file1, args.file2], stdout=subprocess.PIPE) |
| |
| | out = proc.communicate()[0] |
| |
| | item = DiffItem('start', 'first item') |
| |
| | lines = out.split(b'\n') |
| |
| | line = line.decode() |
| |
| | excludes = args.globalExclude.split(",") |
| |
| | exclude = exclude.strip() |
| |
| int | exitCode = 0 |
| |