You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,10 @@ swat-pytools
38
38
│ ├── figFiles
39
39
│ ├── Models
40
40
│ └── Observed
41
-
└── src
42
-
├── main
43
-
│ └── swat_utilities
44
-
└── test
41
+
├── src
42
+
│ └── swat_utilities
43
+
└── tests
44
+
45
45
</pre>
46
46
47
47
In the `resources` directory, you must place all the necessary files for executing and calibrating SWAT, such as the model executables, zip files containing input SWAT text files (`resources/Models` directory), csv files containing observed time series (`resources/Observed` directory), and other optional files. Regarding SWAT executables, revisions 622, 670, and 681 are available for Unix in this repository, only version 622 is available for macOS.
@@ -50,7 +50,9 @@ In the `resources` directory, you must place all the necessary files for executi
50
50
51
51
In this example, we are using the SWAT 622 version to run a model of the Honeyoey Creek - Pine Creek Watershed located in Michigan, US. The SWAT input text files, which normally are generated inside the `TxtInOut` folder when using ArcSWAT, are put together in a zip file that will be handled by the Python wrapper. In this case, we are using the `Honeyoy_Model.zip` file placed in the `resources/Observed` directory.
52
52
53
-
We assume that a new Python script is created in the `src/main` directory. First, we import the libraries that we are going to use:
53
+
We assume that a new Python script is created in the `test` directory.
54
+
55
+
First, we import the libraries that we are going to use:
54
56
55
57
```python
56
58
import os
@@ -59,7 +61,7 @@ from swat_utilities.swat_config import ModelSetup
59
61
Then, we define a variable with the path to the zip file containing the SWAT text files:
0 commit comments