Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Add tests to validate results from the HELP3O extension against a genuine test case #46

Merged
merged 7 commits into from
Nov 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 7 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
connect_table.npy
*.bat
*.pyd
/example/*.pdf
/example/*.out
/example/help_input_files/*
backup/
H3OFS32F.exe

# Shapefiles
*.cpg
Expand Down Expand Up @@ -108,25 +115,6 @@ ENV/
# mypy
.mypy_cache/

# HELP settings
*.bat
/help1.8-Harold
/HelpSrc
/Exemple_Francois
/CWEEDS
/RADEAU2
backup/
.help_threads/
*.D4
*.D7
*.D13
*.D10
*.D11
*.OUT
*.DAT
Ken_Input.csv
Ken_Input.xlsx
H3OFS32F.exe
*.exe
*.dll
make_help.bat
Expand Down
8 changes: 4 additions & 4 deletions pyhelp/tests/HELPORIG/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FORTRAN code very close to the original source code of version 3.07.

The code can be found here:
https://github.com/jnsebgosselin/pyhelp/commit/a9da11c8107275a4c2b64b857f3301c744aaf64e
https://github.com/cgq-qgc/pyhelp/commit/a9da11c8107275a4c2b64b857f3301c744aaf64e

Only 3 modifications were made on the original source code of HELP 3.07:

1: The saturated conductivity (RC) of the soil was defined as a double-precision.
https://github.com/jnsebgosselin/pyhelp/commit/a9da11c8107275a4c2b64b857f3301c744aaf64e
https://github.com/cgq-qgc/pyhelp/commit/a9da11c8107275a4c2b64b857f3301c744aaf64e

2: Remove reference to UTLTY for compilation
https://github.com/jnsebgosselin/pyhelp/commit/ac585c1694447e1b8c0fbb67ae269324470ce96a
https://github.com/cgq-qgc/pyhelp/commit/ac585c1694447e1b8c0fbb67ae269324470ce96a

3: Fix GETDAT and GETTIM compatibility issue
https://github.com/jnsebgosselin/pyhelp/commit/f1b2bf20e746ba8b6f0b9622ca96ed40f785a641
https://github.com/cgq-qgc/pyhelp/commit/f1b2bf20e746ba8b6f0b9622ca96ed40f785a641
12 changes: 12 additions & 0 deletions pyhelp/tests/rca_original_testcase_1997/OUTPARAM.DAT
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
RCRA.D4
RCRA.D7
RCRA.D13
RCRA.D11
RCRA.D10
RCRA2.OUT
1
3
1
1
1
0
25 changes: 25 additions & 0 deletions pyhelp/tests/rca_original_testcase_1997/RCRA.D10
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Example RCRA Landfill
1 0 15 100 3
3 200 9 3 82.2
1 30 9 .501 .284 .135 .00019
0 0
2 12 1 .417 .045 .018 .01
200 4 0 0
4 .04 36 .0000000000004
0 1 10 4
3 36 28 .452 .411 .311 .0000012
0 0
1 300 18 .671 .292 .077 .001
0 0
2 12 5 .457 .131 .058 .001
0 0
2 .2 20 .85 .01 .005 10
100 3 0 0
4 .06 35 .0000000000002
0 1 10 3
2 12 21 .397 .032 .013 .3
100 3 0 0
4 .06 35 .0000000000002
0 1 10 3
3 36 16 .427 .418 .367 .0000001
0 0
3 changes: 3 additions & 0 deletions pyhelp/tests/rca_original_testcase_1997/RCRA.D11
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1
NASHVILLE TENNESSEE
36.12 86 308 2. 21. 8.0 68.0 69.0 75.0 71.0
1,114 changes: 1,114 additions & 0 deletions pyhelp/tests/rca_original_testcase_1997/RCRA.D13

Large diffs are not rendered by default.

1,114 changes: 1,114 additions & 0 deletions pyhelp/tests/rca_original_testcase_1997/RCRA.D4

Large diffs are not rendered by default.

1,114 changes: 1,114 additions & 0 deletions pyhelp/tests/rca_original_testcase_1997/RCRA.D7

Large diffs are not rendered by default.