forked from parflow/parflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into remove-slow-cuda-tests
- Loading branch information
Showing
135 changed files
with
1,428 additions
and
76 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00000.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00001.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00002.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00003.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00004.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00005.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00006.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00007.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00008.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00009.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00010.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00011.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00012.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00013.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00014.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00015.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00016.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00017.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00018.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00019.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff/TiltedV_OverlandDiff.out.press.00020.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00000.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00001.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00002.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00003.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00004.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00005.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00006.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00007.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00008.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00009.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00010.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00011.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00012.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00013.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00014.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00015.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00016.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00017.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00018.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00019.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandDiff_MGSemi/TiltedV_OverlandDiff.out.press.00020.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00000.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00001.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00002.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00003.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00004.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00005.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00006.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00007.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00008.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00009.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00010.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00011.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00012.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00013.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00014.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00015.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00016.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00017.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00018.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00019.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow/TiltedV_OverlandFlow.out.press.00020.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00000.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00001.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00002.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00003.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00004.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00005.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00006.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00007.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00008.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00009.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00010.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00011.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00012.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00013.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00014.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00015.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00016.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00017.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00018.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00019.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandFlow_MGSemi/TiltedV_OverlandFlow.out.press.00020.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00000.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00001.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00002.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00003.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00004.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00005.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00006.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00007.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00008.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00009.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00010.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00011.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00012.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00013.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00014.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00015.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00016.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00017.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00018.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00019.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin/TiltedV_OverlandKin.out.press.00020.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00000.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00001.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00002.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00003.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00004.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00005.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00006.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00007.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00008.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00009.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00010.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00011.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00012.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00013.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00014.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00015.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00016.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00017.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00018.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00019.pfb
Binary file not shown.
Binary file added
BIN
+300 Bytes
test/correct_output/TiltedV_OverlandKin_MGSemi/TiltedV_OverlandKin.out.press.00020.pfb
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import os | ||
import sys | ||
import numpy as np | ||
from parflow import Run | ||
from parflow.tools.io import read_pfb, write_pfb, ParflowBinaryReader | ||
from parflow.tools.fs import mkdir, get_absolute_path | ||
|
||
# Check that the ParflowBinaryReader reads the correct values of p, q, r even | ||
# when they don't exactly divide nx, ny, nz. | ||
|
||
data = np.ones((89, 91)) | ||
run = Run("test_dist", __file__) | ||
working_dir = get_absolute_path(os.path.join("test_output", "dist")) | ||
mkdir(working_dir) | ||
|
||
path = os.path.join(working_dir, 'data.pfb') | ||
write_pfb(path, data) | ||
|
||
run.dist(path, P=15, Q=15) | ||
rd = ParflowBinaryReader(path, read_sg_info=True) | ||
if rd.header['p'] != 15 or rd.header['q'] != 15: | ||
sys.exit(1) | ||
|
||
run.dist(path, P=14, Q=15) | ||
rd = ParflowBinaryReader(path, read_sg_info=True) | ||
if rd.header['p'] != 14 or rd.header['q'] != 15: | ||
sys.exit(1) |
Oops, something went wrong.