Skip to content

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Jan 18, 2022
1 parent 8e34d67 commit f479c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ jobs:
run: |
export PATH=${NETCDF_DIR}/bin:${PATH}
python checkversion.py
cd examples
python bench_compress4.py
cd ..
# serial
cd test
python run_all.py
Expand Down
4 changes: 2 additions & 2 deletions test/tst_compression2.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def runTest(self):
f = Dataset(self.files[4])
size = os.stat(self.files[4]).st_size
errmax = (np.abs(array-f.variables['data'][:])).max()
print('compressed lossy with shuffle and standard quantization = ',size,' max err = ',errmax)
#print('compressed lossy with shuffle and standard quantization = ',size,' max err = ',errmax)
assert(f.variables['data'].significant_digits() == nsd)
assert(errmax < 1.e-3)
assert(size < 0.24*uncompressed_size)
Expand All @@ -89,7 +89,7 @@ def runTest(self):
f = Dataset(self.files[5])
size = os.stat(self.files[5]).st_size
errmax = (np.abs(array-f.variables['data'][:])).max()
print('compressed lossy with shuffle and alternate quantization = ',size,' max err = ',errmax)
#print('compressed lossy with shuffle and alternate quantization = ',size,' max err = ',errmax)
assert(f.variables['data'].significant_digits() == -nsd)
assert(errmax < 1.e-3)
assert(size < 0.24*uncompressed_size)
Expand Down

0 comments on commit f479c12

Please sign in to comment.