Skip to content

Commit 14a17e9

Browse files
authored
Update README.md
1 parent 15c3470 commit 14a17e9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ swat-pytools
3838
│   ├── figFiles
3939
│   ├── Models
4040
│   └── Observed
41-
── src
42-
── main
43-
│   └── swat_utilities
44-
└── test
41+
── src
42+
│   └── swat_utilities
43+
└── tests
44+
4545
</pre>
4646

4747
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
5050

5151
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.
5252

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:
5456

5557
```python
5658
import os
@@ -59,7 +61,7 @@ from swat_utilities.swat_config import ModelSetup
5961
Then, we define a variable with the path to the zip file containing the SWAT text files:
6062

6163
```python
62-
model_file_path = os.path.abspath('../../resources/Models/Honeyoy_Model.zip')
64+
model_file_path = os.path.abspath('../resources/Models/Honeyoy_Model.zip')
6365
```
6466
Now, we create the model object using the `ModelSetup` class:
6567

@@ -72,7 +74,7 @@ We must indicate which SWAT version we are going to use, which is the property `
7274
```python
7375
swat_model.swat_exec_name = 'SWAT_Rev622'
7476
```
75-
To see the executing progress when running the model, we set the property 'verbose_swat' as `True`:
77+
To see the execution progress when running the model, we set the property 'verbose_swat' as `True`:
7678

7779
```python
7880
swat_model.verbose_swat = True

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy