dssat-csm-os

DSSAT Cropping System Model

https://github.com/DSSAT/dssat-csm-os

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    8 of 26 committers (30.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

agriculture-research crop-model crop-simulation-models
Last synced: 7 months ago · JSON representation

Repository

DSSAT Cropping System Model

Basic Info
  • Host: GitHub
  • Owner: DSSAT
  • License: bsd-3-clause
  • Language: Fortran
  • Default Branch: develop
  • Size: 51.1 MB
Statistics
  • Stars: 187
  • Watchers: 16
  • Forks: 188
  • Open Issues: 57
  • Releases: 4
Topics
agriculture-research crop-model crop-simulation-models
Created over 6 years ago · Last pushed 8 months ago
Metadata Files
Readme License Notice

README.md

DSSAT

[DSSAT Homepage] | [About DSSAT] | [Contact us]


The Decision Support System for Agrotechnology Transfer (DSSAT) Version is a software application program that comprises crop simulation models for more than 45 crops. The most recent version is DSSAT v4.8.5 released in December, 2024 (Check latest RELEASE here).

For DSSAT to be functional, it is supported by data base management programs for soil, weather, crop management, and experimental data, and by utilities and application programs. The crop simulation models simulate growth and development and predict yield, yield components and many other traits and variables as a function of the soil-plant-atmosphere dynamics.

Questions about usage of the DSSAT Crop Modeling Ecosystem [contact us].

Do not know how to use DSSAT? Consider participating in the [upcoming DSSAT training workshop]

Read more about DSSAT at [DSSAT Homepage]

The directory structure

DSSAT cropping system model (CSM) design is a modular structure in which components separate along scientific discipline lines and are structured to allow easy replacement or addition of modules. It has one Soil module, a Crop Template module which can simulate different crops by defining species input files, an interface to add individual crop models if they have the same design and interface, a weather module, and a module for dealing with competition for light and water among the soil, plants, and atmosphere. It is also designed for incorporation into various application packages, ranging from those that help researchers adapt and test the CSM to those that operate the DSSAT /CSM to simulate production over time and space for different purposes.

Structure of the code

.
├── build
│   └── ...
├── cmake
│   └── Modules
│       ├── SetCompileFlag.cmake
│       └── SetFortranFlags.cmake
├── Data
|   ├── Genotype
|   ├── Pest
|   └── StandardData 
├── <source files>
├── CMakeLists.txt
├── distclean.cmake
├── README.md
└── ...

Compiling the code

The code is compatible with the CMake utility for generating MakeFile and setting up projects for a variety of IDEs and compilers. To use this feature, first download and install CMake. Then set up a CMake project by pointing to the source code directory and the build directory.

Configuring the build

It is usually preferred that you do an out-of-source build. To do this, create a build/ directory at the top level of your project and build there. This folder is created to organize all working files inside it, avoiding messing up your source folder. During compilation and linking, working folders are created automatically inside this folder. Any libraries created end up in mod/, as well as compiled Fortran .mod files. The executable will end up in bin/.

$ mkdir build
$ cd build
$ cmake ..
$ make

When you do this, temporary CMake files will not be created in your src/ directory.

As written, this template will allow you to specify one of three different sets of compiler flags. The default is DEBUG. You can change this using to RELEASE or DEBUG using

$ cmake .. -DCMAKE_BUILD_TYPE=DEBUG

or

$ cmake .. -DCMAKE_BUILD_TYPE=RELEASE

You can provide all kind of information CMake. See more information at [CMake Tutorial].

One usable examples could be:

$ cmake -G "Unix Makefiles" -DCMAKE_Fortran_COMPILER=ifort ..

In this example we are specifying the fortran compiler and the kind of project we want as result (make file project).

CMakeLists.txt

This file contains all the configuration needed to set up the project.
Edit this file to make your own configuration and add new projects. Comment/Uncomment any lines pertaining to options you may need.

distclean.cmake

This is a CMake script that will remove all files and folder that are created after running make. You can run this code in one of two ways:

  • Execute cmake -P distclean.cmake. (The -P option to cmake will execute a CMake script)
  • Execute make distclean after your Makefile has been generated.

cmake/Modules/

This directory contains CMake scripts that aid in configuring the build system.

SetCompileFlag.cmake

This file defines a function that will test a set of compiler flags to see which one works and adds that flag to a list of compiler flags. This is used to set compile flags when you don't know which compiler will be used.

SetFortranFlags.cmake

This file uses the function from SetCompilerFlag.cmake to set the DEBUG, TESTING, and RELEASE compile flags for your build. You might want to inspect this file and edit the flags to your liking.

Data

This folder contains model-specific data for genotypes, pest, standard model data, code files, DSSATPRO files, etc.

.
├── Genotype
├── Pest
├── StandardData
├── Data.CDE
├── Detail.CDE
├── DSSATPRO.v48
├── ...
└── README.md

The files in this repository can be combined with the files in the Data repository (https://github.com/DSSAT/dssat-csm-data) to replicate the directory structure of the Windows installation of DSSAT v4.8.2 (e.g., with the Genotype directory at the same level as the Alfalfa and other crops directories and the CDE files in the root directory).

Best DSSAT coding practices

See: Non-threatening best practice DSSAT Fortran coding guidelines.

How to Cite DSSAT

If you are planning to use DSSAT in any reports or publications, please make sure to refer to the version number you used. The version and sub-version numbers can be found in the top section of your output files, e.g., 4.8.X (replace X with current version). In addition, please use the following two references for DSSAT and the Cropping System Model. Other related publications can be found in the Documentation section under DSSAT References and Model References.

Hoogenboom, G., C.H. Porter, K.J. Boote, V. Shelia, P.W. Wilkens, U. Singh, J.W. White, S. Asseng, J.I. Lizaso, L.P. Moreno, W. Pavan, R. Ogoshi, L.A. Hunt, G.Y. Tsuji, and J.W. Jones. 2019. The DSSAT crop modeling ecosystem. In: p.173-216 [K.J. Boote, editor] Advances in Crop Modeling for a Sustainable Agriculture. Burleigh Dodds Science Publishing, Cambridge, United Kingdom (https://dx.doi.org/10.19103/AS.2019.0061.10).

See also: The DSSAT crop modeling ecosystem

Hoogenboom, G., C.H. Porter, V. Shelia, K.J. Boote, U. Singh, W. Pavan, F.A.A. Oliveira, L.P. Moreno-Cadena, T.B. Ferreira, J.W. White, J.I. Lizaso, D.N.L. Pequeno, B.A. Kimball, P.D. Alderman, K.R. Thorp, S.V. Cuadra, M.S. Vianna, F.J. Villalobos, W.D. Batchelor, S. Asseng, M.R. Jones, A. Hopf, H.B. Dias, A. Jintrawet, R. Jaikla, E. Memic, L.A. Hunt, and J.W. Jones. 2024. Decision Support System for Agrotechnology Transfer (DSSAT) Version 4.8.5 (www.DSSAT.net). DSSAT Foundation, Gainesville, Florida, USA.

Jones, J.W., G. Hoogenboom, C.H. Porter, K.J. Boote, W.D. Batchelor, L.A. Hunt, P.W. Wilkens, U. Singh, A.J. Gijsman, and J.T. Ritchie. 2003. The DSSAT cropping system model. European Journal of Agronomy 18:235-265 (https://doi.org/10.1016/S1161-0301(02)00107-7).

See also: The DSSAT cropping system model.

Owner

  • Name: DSSAT Foundation
  • Login: DSSAT
  • Kind: organization

GitHub Events

Total
  • Create event: 32
  • Issues event: 26
  • Release event: 3
  • Watch event: 34
  • Delete event: 2
  • Issue comment event: 40
  • Push event: 74
  • Pull request review event: 4
  • Pull request event: 80
  • Fork event: 21
Last Year
  • Create event: 32
  • Issues event: 26
  • Release event: 3
  • Watch event: 34
  • Delete event: 2
  • Issue comment event: 40
  • Push event: 74
  • Pull request review event: 4
  • Pull request event: 80
  • Fork event: 21

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 1,281
  • Total Committers: 26
  • Avg Commits per committer: 49.269
  • Development Distribution Score (DDS): 0.658
Past Year
  • Commits: 167
  • Committers: 8
  • Avg Commits per committer: 20.875
  • Development Distribution Score (DDS): 0.605
Top Committers
Name Email Commits
chporter c****r@u****u 438
Fabio Oliveira f****2@g****m 240
Gerrit Hoogenboom g****t@u****u 133
Thiago Berton Ferreira t****f@g****m 89
fabiooliveira72 f****o@p****m 85
chporter c****r@g****m 67
murilodsv m****v@g****m 66
Patricia Moreno l****c@u****u 55
Willingthon Pavan w****n@i****g 32
Kelly Thorp k****p@u****v 21
MengZhang m****5@u****u 11
jguarin4 j****n@u****u 9
Mulugeta Belew m****w@i****g 9
Phillip D. Alderman p****n@o****u 8
Patricia Moreno l****c@u****o 3
Murilo Vianna m****a@f****e 3
Vásquez-Jiménez, Jhonny j****5@h****m 2
Henrique Boriolo Dias 4****b 2
vshelia e****h@g****m 1
usingh u****h@i****g 1
YujingGao y****0@g****m 1
Christopher Villalobos v****a@p****m 1
btstream b****m@g****m 1
ehfmsilva e****a@g****m 1
Ernesto Martínez del Pino e****7@h****m 1
David Clifford d****d 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 117
  • Total pull requests: 465
  • Average time to close issues: 4 months
  • Average time to close pull requests: 12 days
  • Total issue authors: 35
  • Total pull request authors: 31
  • Average comments per issue: 1.26
  • Average comments per pull request: 0.32
  • Merged pull requests: 398
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 23
  • Pull requests: 106
  • Average time to close issues: 10 days
  • Average time to close pull requests: 9 days
  • Issue authors: 7
  • Pull request authors: 9
  • Average comments per issue: 0.26
  • Average comments per pull request: 0.37
  • Merged pull requests: 80
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • chporter (36)
  • fabiooliveira72 (15)
  • palderman (10)
  • lpmorenoc (7)
  • xiangyi-wang (5)
  • helsharif (5)
  • NadaBenMhenni (3)
  • philderbeast (3)
  • mehmoodmz (3)
  • smkuhlani (2)
  • pcboy (2)
  • JongChao (2)
  • gelianxing (2)
  • okuRaku (1)
  • s23ir45 (1)
Pull Request Authors
  • GerritHoogenboom (131)
  • fabiooliveira72 (116)
  • chporter (67)
  • thiagoferreira53 (46)
  • lpmorenoc (24)
  • kthorp (16)
  • Murilodsv (9)
  • MengZhang (5)
  • wpavan (5)
  • palderman (5)
  • khan004 (4)
  • diashb (4)
  • pcboy (3)
  • frostbytten (3)
  • jguarin4 (3)
Top Labels
Issue Labels
bug (5) enhancement (3)
Pull Request Labels