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
You can install the library using Python pip. **The library has only been tested for a Linux environment. It is not guaranteed that it will work in Windows.** If you have a Windows machine I recommend you to use WSL, or Google Colab.
6
+
```
7
+
pip install DSSATTools
8
+
```
9
+
## Documentation
10
+
The documentation is found here: https://py-dssattools.readthedocs.io/en/latest/. However, this readme and the Example Notebooks contain all the information you need to use the library.
11
+
## Example Notebooks
12
+
You'll find example notebooks in this repo:[https://github.com/daquinterop/DSSATTools_notebooks](https://github.com/daquinterop/DSSATTools_notebooks). I'll keep uploading examples as some new feature is introduced.
13
+
## Cite
14
+
15
+
If you use DSSATTools for your projects and analysis, you can cite it as
16
+
17
+
`Quintero, D. (2026). DSSATTools: a Python library for crop modeling with DSSAT (3.0). Zenodo. https://doi.org/10.5281/zenodo.18481764`
18
+
```
19
+
@software{quintero_2026_18481764,
20
+
author = {Quintero, Diego},
21
+
title = {DSSATTools: a Python library for crop modeling
22
+
with DSSAT
23
+
},
24
+
month = feb,
25
+
year = 2026,
26
+
publisher = {Zenodo},
27
+
version = {3.0},
28
+
doi = {10.5281/zenodo.18481764},
29
+
url = {https://doi.org/10.5281/zenodo.18481764},
30
+
}
31
+
```
2
32
## v3.0 Updates
3
-
Significant changes have been implemented. **Those changes are not backward compatible.** The DSSATTools code for the previous versions are not compatible with the new version. If you have DSSATTools in your current workflows, I recommend you to update your code. If you can't change your code, then install the 2.1.6 version.
33
+
Significant changes were implemented for the version 3.0 of the package. **Those changes are not backward compatible.** The DSSATTools code for the previous versions are not compatible with the new version. If you have DSSATTools in your current workflows, I recommend you to update your code. If you can't change your code, then install the 2.1.6 version.
4
34
5
35
The new version aims to be more intuitive for the users familiar with the model, the DSSAT GUI, and the DSSAT file creation tools. Therefore, **if you are new to DSSAT I highly recommend you to familiarize yourself with the model, the GUI, and the file creation Tools before jumping into using this library.** The changes in this new version are summarized next:
6
36
@@ -14,21 +44,6 @@ The new version aims to be more intuitive for the users familiar with the model,
14
44
- When the model is run using the `DSSAT.run_treatment` method, all the output files are stored in the `DSSAT.output_files` attribute. The files are stored as a string.
15
45
- The `DSSAT.run_treatment` returns a dictionary with the standard output of the CSM.
16
46
17
-
## Cite
18
-
19
-
You can cite DSSATTools as
20
-
21
-
`Quintero, D. (2026). DSSATTools: a Python library for crop modeling with DSSAT (3.0). Zenodo. https://doi.org/10.5281/zenodo.18481764`
22
-
23
-
## Installation:
24
-
You can install the library using Python pip. **The library has only been tested for a Linux environment. It is not guaranteed that it will work in Windows.** If you have a Windows machine I recommend you to use WSL, or Google Colab.
25
-
```
26
-
pip install DSSATTools
27
-
```
28
-
## Documentation
29
-
The documentation is found here: https://py-dssattools.readthedocs.io/en/latest/. However, this readme and the Example Notebooks contain all the information you need to use the library.
30
-
## Example Notebooks
31
-
You'll find example notebooks in this repo:[https://github.com/daquinterop/DSSATTools_notebooks](https://github.com/daquinterop/DSSATTools_notebooks). I'll keep uploading examples as some new feature is introduced.
32
47
## Module contents
33
48
34
49
DSSATTools library allows the user to create low-code scripts to run simulations using the DSSAT modeling framework. DSSATTools version 3 includes significant changes when compared to previous versions. The newer is more intuitive for the users familiar with the model, the DSSAT GUI, and the DSSAT file creation tools. Therefore, if you are new to DSSAT I highly recommend you to familiarize yourself with the model, the GUI, and the file creation Tools before jumping into using this library.
@@ -102,10 +117,11 @@ function runs the CSM in the 'C' mode (one treatment at a time).
102
117
| Sugarcane | CANEGRO |
103
118
| Bean (Dry) | CROPGRO |
104
119
| Cassava | CSYCA |
120
+
| Cotton | CROPGRO |
105
121
106
-
All crops have been validated by comparing the DSSATTools final harvest with that obtained using the DSSAT GUI.
122
+
All crops have been validated by comparing the DSSATTools final harvest with that obtained using the DSSAT GUI. If the crop you want to simulate is in the DSSAT GUI but not in this package, you can open an issue requesting the new crop, I'll add as soon as I can.
107
123
108
-
If you're interested in contributing to this project, don't hesitate in sending me an email (daquinterop@gmail.com).
124
+
If you're interested in contributing to this project, don't hesitate in sending me an email (daquinterop@gmail.com).
109
125
110
126
### DSSATTools.filex
111
127
This module implement the sections of the DSSAT FileX as python objects. All sections are implemented, excepting the enviromental modifications section. Environmental modifications can be easily implemented by modifying the Weather component of each experiment. One section object represents a single factor level in the experiment.
0 commit comments