Skip to content

Commit 2e0a33a

Browse files
committed
brought over files from failing branch
1 parent 06dac1a commit 2e0a33a

31 files changed

+8072
-1
lines changed

pypestutils/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def mod2obs_mf6(gridinfo_fname: str,depvar_fname: str,obscsv_fname: str ,model_t
108108
print("warning: the following site(s) failed to have interpolation factors calculated:")
109109
fsites = usitedf.reset_index().site.iloc[interp_fac_results==0].to_list()
110110
print(fsites)
111-
all_results = lib.interp_from_mf6_depvar_file(depvar_fname,fac_file,"binary",depvar_info["ntime"],"head",interp_thresh,True,
111+
all_results = lib.interp_from_mf6_depvar_file(depvar_fname,fac_file,"binary",depvar_info["ntime"],depvar_name,interp_thresh,True,
112112
no_interp_val,usitedf.shape[0])
113113
datetimes = start_datetime+pd.to_timedelta(all_results["simtime"],unit=model_timeunit)
114114
allresults_df = pd.DataFrame(all_results["simstate"],index=datetimes,columns=usitedf.index)

tests/data/p09/gwf-p09-mf6.bud

539 KB
Binary file not shown.

tests/data/p09/gwf-p09-mf6.chd

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# File generated by Flopy version 3.7.0.dev0 on 05/14/2024 at 15:14:54.
2+
BEGIN options
3+
auxiliary CONCENTRATION
4+
END options
5+
6+
BEGIN dimensions
7+
MAXBOUND 28
8+
END dimensions
9+
10+
BEGIN period 1
11+
1 1 1 2.50000000E+02 0.00000000E+00
12+
1 18 1 2.00000000E+01 0.00000000E+00
13+
1 1 2 2.50000000E+02 0.00000000E+00
14+
1 18 2 2.25000000E+01 0.00000000E+00
15+
1 1 3 2.50000000E+02 0.00000000E+00
16+
1 18 3 2.50000000E+01 0.00000000E+00
17+
1 1 4 2.50000000E+02 0.00000000E+00
18+
1 18 4 2.75000000E+01 0.00000000E+00
19+
1 1 5 2.50000000E+02 0.00000000E+00
20+
1 18 5 3.00000000E+01 0.00000000E+00
21+
1 1 6 2.50000000E+02 0.00000000E+00
22+
1 18 6 3.25000000E+01 0.00000000E+00
23+
1 1 7 2.50000000E+02 0.00000000E+00
24+
1 18 7 3.50000000E+01 0.00000000E+00
25+
1 1 8 2.50000000E+02 0.00000000E+00
26+
1 18 8 3.75000000E+01 0.00000000E+00
27+
1 1 9 2.50000000E+02 0.00000000E+00
28+
1 18 9 4.00000000E+01 0.00000000E+00
29+
1 1 10 2.50000000E+02 0.00000000E+00
30+
1 18 10 4.25000000E+01 0.00000000E+00
31+
1 1 11 2.50000000E+02 0.00000000E+00
32+
1 18 11 4.50000000E+01 0.00000000E+00
33+
1 1 12 2.50000000E+02 0.00000000E+00
34+
1 18 12 4.75000000E+01 0.00000000E+00
35+
1 1 13 2.50000000E+02 0.00000000E+00
36+
1 18 13 5.00000000E+01 0.00000000E+00
37+
1 1 14 2.50000000E+02 0.00000000E+00
38+
1 18 14 5.25000000E+01 0.00000000E+00
39+
END period 1
40+

tests/data/p09/gwf-p09-mf6.dis

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# File generated by Flopy version 3.7.0.dev0 on 05/14/2024 at 15:14:54.
2+
BEGIN options
3+
LENGTH_UNITS meters
4+
END options
5+
6+
BEGIN dimensions
7+
NLAY 1
8+
NROW 18
9+
NCOL 14
10+
END dimensions
11+
12+
BEGIN griddata
13+
delr
14+
CONSTANT 100.00000000
15+
delc
16+
CONSTANT 100.00000000
17+
top
18+
CONSTANT 0.00000000
19+
botm
20+
CONSTANT -10.00000000
21+
idomain
22+
INTERNAL FACTOR 1
23+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
24+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
25+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
26+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
27+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
28+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
29+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
30+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
31+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
32+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
33+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
34+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
35+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
36+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
37+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
38+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
39+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
40+
1 1 1 1 1 1 1 1 1 1 1 1 1 1
41+
END griddata
42+

tests/data/p09/gwf-p09-mf6.dis.grb

13.6 KB
Binary file not shown.

tests/data/p09/gwf-p09-mf6.hds

48.5 KB
Binary file not shown.

tests/data/p09/gwf-p09-mf6.ic

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# File generated by Flopy version 3.7.0.dev0 on 05/14/2024 at 15:14:54.
2+
BEGIN griddata
3+
strt
4+
INTERNAL FACTOR 1.0
5+
250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000 250.00000000
6+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
7+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
8+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
9+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
10+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
11+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
12+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
13+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
14+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
15+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
16+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
17+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
18+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
19+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
20+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
21+
0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000
22+
20.00000000 22.50000000 25.00000000 27.50000000 30.00000000 32.50000000 35.00000000 37.50000000 40.00000000 42.50000000 45.00000000 47.50000000 50.00000000 52.50000000
23+
END griddata
24+

tests/data/p09/gwf-p09-mf6.ims

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# File generated by Flopy version 3.7.0.dev0 on 05/14/2024 at 15:14:54.
2+
BEGIN options
3+
PRINT_OPTION summary
4+
END options
5+
6+
BEGIN nonlinear
7+
OUTER_DVCLOSE 1.00000000E-06
8+
OUTER_MAXIMUM 100
9+
UNDER_RELAXATION none
10+
END nonlinear
11+
12+
BEGIN linear
13+
INNER_MAXIMUM 300
14+
INNER_DVCLOSE 1.00000000E-06
15+
inner_rclose 1.00000000E-06
16+
LINEAR_ACCELERATION cg
17+
RELAXATION_FACTOR 1.00000000
18+
SCALING_METHOD none
19+
REORDERING_METHOD none
20+
END linear
21+

0 commit comments

Comments
 (0)