ocssw
V2022
|
Classes | |
class | DiffItem |
Functions | |
def | addItem (item) |
Variables | |
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 |
Detailed Description
Created on Thu Sep 29 12:19:06 2016 @author: dshea
Function Documentation
◆ addItem()
def compare_hdf4.addItem | ( | item | ) |
Definition at line 37 of file compare_hdf4.py.
Variable Documentation
◆ args
args = parser.parse_args() |
Definition at line 56 of file compare_hdf4.py.
◆ dataItems
dictionary dataItems = {} |
Definition at line 33 of file compare_hdf4.py.
◆ exclude
exclude = exclude.strip() |
Definition at line 104 of file compare_hdf4.py.
◆ excludes
excludes = args.globalExclude.split(",") |
Definition at line 102 of file compare_hdf4.py.
◆ exitCode
int exitCode = 0 |
Definition at line 109 of file compare_hdf4.py.
◆ globalAttributeItems
dictionary globalAttributeItems = {} |
Definition at line 34 of file compare_hdf4.py.
◆ help
help |
Definition at line 51 of file compare_hdf4.py.
◆ item
item = DiffItem('start', 'first item') |
Definition at line 75 of file compare_hdf4.py.
◆ line
line = line.decode() |
Definition at line 80 of file compare_hdf4.py.
◆ lines
lines = out.split(b'\n') |
Definition at line 78 of file compare_hdf4.py.
◆ out
out = proc.communicate()[0] |
Definition at line 63 of file compare_hdf4.py.
◆ parser
parser = argparse.ArgumentParser(description='Compare two HDF4 files.') |
Definition at line 49 of file compare_hdf4.py.
◆ proc
proc = subprocess.Popen(["hdiff", "-e", "10", args.file1, args.file2], stdout=subprocess.PIPE) |
Definition at line 59 of file compare_hdf4.py.
◆ startItems
dictionary startItems = {} |
Definition at line 32 of file compare_hdf4.py.