Skip to content

Commit b924391

Browse files
Total Update
AJ realized this repository was completely outdated and unorganized, so I touched it up a bit. Still needs a good "how-to" document, however.
1 parent cd59350 commit b924391

12 files changed

+875
-719
lines changed

Changelog.txt

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
Update Log:
2+
12/5/18
3+
-Merged all functions into class.
4+
-Hyrdrus runs over all iterations, but ECe is not changing (as it should).
5+
Not sure why.
6+
12/12/18
7+
-Hydrus completes one iteration successfully, but cannot write output files
8+
-HydrusRun_ver2 was created to attempt running from H1D_UNSC.EXE directory
9+
-runs one iteration successfully, and writes complete output files, but
10+
cannot run the next iteration.
11+
12/18/18
12+
-Hydrus completes all iterations successfully! Now we need to check the
13+
quality of the data by plotting some things:
14+
-ECe v. Gypsum content with colorization for water contents for one soil
15+
-ECe v. Gypsum content with colorization for water contents for all soils
16+
New Efficiency Issues:
17+
-Running graph_output() results in having to run final_data() 4 separate
18+
times because of the way it is called with self.final_data() in the
19+
function. There is probably a way to prevent this from happening by saving
20+
the dataframe after running final_data() just once.
21+
12/20/18
22+
-Moving a little backwards. We decided it wasn't good to just select the
23+
first EC from the Equil.out file and instead import all of it, in case in
24+
the future someone might want to look at the entire soil profile at
25+
different times. This resulted in changing the _run_batch() function, but
26+
it's not working properly.
27+
-_run_batch() creates a giant DataFrame, but should only produce one of 1176
28+
(294 rows from input * 4 rows from Equil.out = 1,176 rows). Instead we have
29+
a massive dataframe with 43,932 rows, but we're unsure why.
30+
01/02/2019
31+
-fixed merge issue. More than one index was needed to merge correctly.
32+
So instead of merging on just 'soil_type', gypsum and VWC were also merged
33+
on.
34+
-consolidated ssat and paste ion values into single columns to allow hydrus
35+
to run each sample separately. This will make hydrus simulate a paste, and
36+
then simulate the field condition without mising ions from both.
37+
-implemented graph_output() function with customizable x and y values
38+
-need to improve graph_output() to include separate line fits for paste and
39+
ssat points
40+
02/11/19
41+
-need to figure out why NaN's are produced in input dataframe
42+
-still unknown
43+
-need to optimize gypsum so that the 1:1 fit is better
44+
-this might not be the case, I might just take observed values from the
45+
CSU soils lab for both CaSO4 and CaCO3
46+
-then I need to compare the same sample at different water contents
47+
-completed, added this functionality in self._inputs()
48+
02/12/19
49+
-need to update self.graph_output() so that we can graph different moistures
50+
-think that faceting would be good?
51+
-can't figure out why slicing my group isn't working in the graph_output
52+
02/18/19
53+
-fixed the graphing a bit
54+
-lost colorization
55+
-still can't condition by shape
56+
-can't separate moisture levels
57+
-maybe I don't need to group anything? I can probably just graph the df
58+
-DONE: try to include CO2 into datafram as input for paste vs. ssat
59+
-ambient CO2 (410ppm), ssat CO2 (410*1.05 = 430.5ppm)
60+
-CO2 is lower in lab water than in soil water
61+
-Im confused what hydrus CO2 is: ambient or solution?

0 commit comments

Comments
 (0)