Skip to content

Commit e2a2f36

Browse files
committed
2 parents e1370a9 + a2ae19f commit e2a2f36

1 file changed

Lines changed: 34 additions & 18 deletions

File tree

README.md

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
# DSSATTools package
2+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.18481764.svg)](https://doi.org/10.5281/zenodo.18481764) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
3+
4+
## Installation:
5+
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+
```
232
## 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.
434

535
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:
636

@@ -14,21 +44,6 @@ The new version aims to be more intuitive for the users familiar with the model,
1444
- 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.
1545
- The `DSSAT.run_treatment` returns a dictionary with the standard output of the CSM.
1646

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.
3247
## Module contents
3348

3449
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).
102117
| Sugarcane | CANEGRO |
103118
| Bean (Dry) | CROPGRO |
104119
| Cassava | CSYCA |
120+
| Cotton | CROPGRO |
105121

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.
107123

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).
109125

110126
### DSSATTools.filex
111127
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

Comments
 (0)