Skip to content

Commit

Permalink
Merge pull request #116 from GerritHoogenboom/CSM48
Browse files Browse the repository at this point in the history
Csm48
  • Loading branch information
GerritHoogenboom authored Jul 27, 2021
2 parents 194e3ff + 585bbbc commit ab76764
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 30 deletions.
4 changes: 2 additions & 2 deletions Data/DATA.CDE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*Codes for Field and Simulated Data
! DSSAT v4.8; 2021-07-16
! DSSAT v4.8; 2021-07-27

! Codes currently used for both simulated and field data are listed in sections
! relating to specific model output files. Codes currently only used for field
Expand Down Expand Up @@ -113,7 +113,6 @@ L#SM Leaf number # Leaf number per stem at maturity
L#SX Leaf number # Leaf number per stem, maximum .
LAIH LAI harvest Leaf area index, at harvest .
LAIX LAI maximum Leaf area index, maximum .
LATI Latitude � Latitude (degrees) .
LIWAM Lint Yld kg/ha Lint Yield at maturity (kg [dm]/ha) .
LONG Longitude � Longitude (degrees) .
LWAH Leaf wt kg/ha Leaf weight at harvest (kg/ha) .
Expand Down Expand Up @@ -188,6 +187,7 @@ VNAM Veg N @ matur. Vegetative N at maturity (kg/ha)
VWATM Veg t/h @ matur Vegetative dry matter at maturity (t/ha) .
WSTA Weather station Weather station .
WYEAR Weather year Year for weather data (for forecast ensembles) .
XLAT Latitude � Latitude (degrees) .
YDWAH Yield, dry t/ha Yield dry weight at harvest (t/ha) .
YPEM Yd-ET Prod Yield-ET productivity (kg[yield]/ha/mm[ET]) .
YPIM Yd-Irrig Prod Yield-irrigation productivity (kg[yield]/ha/mm[irrig]) .
Expand Down
12 changes: 0 additions & 12 deletions Data/DSSATPRO.L48.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ DDE // @CMAKE_INSTALL_PREFIX@
TOG // @CMAKE_INSTALL_PREFIX@/TOOLS/GBUILD GBUILD.EXE

MAL // @CMAKE_INSTALL_PREFIX@ dscsm048 PRFRM048
MAR // @CMAKE_INSTALL_PREFIX@
MBA // @CMAKE_INSTALL_PREFIX@ dscsm048 CSCER048
MBH // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MBM // @CMAKE_INSTALL_PREFIX@ dscsm048 PRFRM048
MBN // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MBR // @CMAKE_INSTALL_PREFIX@ dscsm048 PRFRM048
MBS // @CMAKE_INSTALL_PREFIX@ dscsm048 BSCER048
MBW // @CMAKE_INSTALL_PREFIX@
MCB // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MCH // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MCT // @CMAKE_INSTALL_PREFIX@
Expand All @@ -49,12 +47,10 @@ MML // @CMAKE_INSTALL_PREFIX@ dscsm048 MLCER048
MMZ // @CMAKE_INSTALL_PREFIX@ dscsm048 MZCER048
MNN // @CMAKE_INSTALL_PREFIX@
MNP // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MOA // @CMAKE_INSTALL_PREFIX@
MPE // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MPI // @CMAKE_INSTALL_PREFIX@ dscsm048 PIALO048
MPN // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MPO // @CMAKE_INSTALL_PREFIX@ dscsm048 PRFRM048
MAR // @CMAKE_INSTALL_PREFIX@
MPP // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MPR // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MPT // @CMAKE_INSTALL_PREFIX@ dscsm048 PTSUB048
Expand All @@ -74,14 +70,12 @@ MTM // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MTN // @CMAKE_INSTALL_PREFIX@ dscsm048 TNARO048
MTR // @CMAKE_INSTALL_PREFIX@ dscsm048 TRARO048
MVB // @CMAKE_INSTALL_PREFIX@ dscsm048 CRGRO048
MVI // @CMAKE_INSTALL_PREFIX@
MWH // @CMAKE_INSTALL_PREFIX@ dscsm048 CSCER048
MOT // @CMAKE_INSTALL_PREFIX@
MU1 // @CMAKE_INSTALL_PREFIX@
MU2 // @CMAKE_INSTALL_PREFIX@
MIO // @CMAKE_INSTALL_PREFIX@
MLO // @CMAKE_INSTALL_PREFIX@
MG0 // @CMAKE_INSTALL_PREFIX@ dscsm048 PRFRM048

MGR // @CMAKE_INSTALL_PREFIX@
NSH // @CMAKE_INSTALL_PREFIX@
Expand All @@ -103,7 +97,6 @@ APK // @CMAKE_INSTALL_PREFIX@ DISC9801.EXE
TOE // /WINDOWS NOTEPAD.EXE
TOS // /
TOM // /
BGD // @CMAKE_INSTALL_PREFIX@/BACKGROUND
STD // @CMAKE_INSTALL_PREFIX@/StandardData
CDD // @CMAKE_INSTALL_PREFIX@
WED // @CMAKE_INSTALL_PREFIX@/Weather
Expand All @@ -116,14 +109,12 @@ FID // @CMAKE_INSTALL_PREFIX@/Background
ALD // @CMAKE_INSTALL_PREFIX@/Alfalfa
GCD // @CMAKE_INSTALL_PREFIX@/GCWork
GUD // @CMAKE_INSTALL_PREFIX@/GLWork
ARD // @CMAKE_INSTALL_PREFIX@/
BAD // @CMAKE_INSTALL_PREFIX@/Barley
BHD // @CMAKE_INSTALL_PREFIX@/Bahia
BMD // @CMAKE_INSTALL_PREFIX@/Bermudagrass
BND // @CMAKE_INSTALL_PREFIX@/Drybean
BRD // @CMAKE_INSTALL_PREFIX@/Brachiaria
BSD // @CMAKE_INSTALL_PREFIX@/Sugarbeet
BWD // @CMAKE_INSTALL_PREFIX@/
CBD // @CMAKE_INSTALL_PREFIX@/Cabbage
CHD // @CMAKE_INSTALL_PREFIX@/Chickpea
CID // @CMAKE_INSTALL_PREFIX@/Chia
Expand All @@ -136,13 +127,11 @@ CVD // @CMAKE_INSTALL_PREFIX@/Clover
FAD // @CMAKE_INSTALL_PREFIX@/Fallow
FBD // @CMAKE_INSTALL_PREFIX@/Fababean
GBD // @CMAKE_INSTALL_PREFIX@/GreenBean
GWD // @CMAKE_INSTALL_PREFIX@/Weeds
LTD // @CMAKE_INSTALL_PREFIX@/Lentil
MLD // @CMAKE_INSTALL_PREFIX@/Millet
MZD // @CMAKE_INSTALL_PREFIX@/Maize
NND // @CMAKE_INSTALL_PREFIX@/Banana
NPD // @CMAKE_INSTALL_PREFIX@/Napier
OAD // @CMAKE_INSTALL_PREFIX@/Oats
PED // @CMAKE_INSTALL_PREFIX@/Pea
PID // @CMAKE_INSTALL_PREFIX@/Pineapple
PND // @CMAKE_INSTALL_PREFIX@/Peanut
Expand All @@ -166,7 +155,6 @@ TMD // @CMAKE_INSTALL_PREFIX@/Tomato
TND // @CMAKE_INSTALL_PREFIX@/Tanier
TRD // @CMAKE_INSTALL_PREFIX@/Taro
VBD // @CMAKE_INSTALL_PREFIX@/Velvetbean
VID // @CMAKE_INSTALL_PREFIX@/
WHD // @CMAKE_INSTALL_PREFIX@/Wheat
U1D // @CMAKE_INSTALL_PREFIX@/CROP1
U2D // @CMAKE_INSTALL_PREFIX@/CROP2
Expand Down
9 changes: 0 additions & 9 deletions Data/DSSATPRO.v48
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ DDE C: \DSSAT48
TOG C: \DSSAT48\TOOLS\GBUILD GBUILD.EXE

MAL C: \DSSAT48 DSCSM048.EXE PRFRM048
MAR C: \DSSAT48
MBA C: \DSSAT48 DSCSM048.EXE CSCER048
MBH C: \DSSAT48 DSCSM048.EXE CRGRO048
MBM C: \DSSAT48 DSCSM048.EXE PRFRM048
MBN C: \DSSAT48 DSCSM048.EXE CRGRO048
MBR C: \DSSAT48 DSCSM048.EXE PRFRM048
MBS C: \DSSAT48 DSCSM048.EXE BSCER048
MBW C: \DSSAT48
MCB C: \DSSAT48 DSCSM048.EXE CRGRO048
MCH C: \DSSAT48 DSCSM048.EXE CRGRO048
MCN C: \DSSAT48 DSCSM048.EXE CRGRO048
Expand Down Expand Up @@ -62,14 +60,12 @@ MTM C: \DSSAT48 DSCSM048.EXE CRGRO048
MTN C: \DSSAT48 DSCSM048.EXE TNARO048
MTR C: \DSSAT48 DSCSM048.EXE TRARO048
MVB C: \DSSAT48 DSCSM048.EXE CRGRO048
MVI C: \DSSAT48
MWH C: \DSSAT48 DSCSM048.EXE CSCER048
MOT C: \DSSAT48
MU1 C: \DSSAT48
MU2 C: \DSSAT48
MIO C: \DSSAT48
MLO C: \DSSAT48
MG0 C: \DSSAT48 DSCSM048.EXE PRFRM048

MGR C: \DSSAT48
NSH C: \DSSAT48
Expand All @@ -91,9 +87,7 @@ APK C: \DSSAT48 DISC9801.EXE
TOE C: \WINDOWS NOTEPAD.EXE
TOS C: \
TOM C: \
BGD C: \DSSAT48\BACKGROUND
STD C: \DSSAT48\StandardData
CDD C: \DSSAT48
WED C: \DSSAT48\Weather
WGD C: \DSSAT48\WEATHER\GEN
CLD C: \DSSAT48\WEATHER\CLIMATE
Expand All @@ -104,14 +98,12 @@ FID C: \DSSAT48\BACKGROUND
ALD C: \DSSAT48\ALFALFA
GCD C: \DSSAT48\GCWork
GUD C: \DSSAT48\GLWork
ARD C: \DSSAT48\
BAD C: \DSSAT48\BARLEY
BHD C: \DSSAT48\BAHIA
BMD C: \DSSAT48\Bermudagrass
BND C: \DSSAT48\DRYBEAN
BRD C: \DSSAT48\BRACHIARIA
BSD C: \DSSAT48\SUGARBEET
BWD C: \DSSAT48\
CBD C: \DSSAT48\CABBAGE
CHD C: \DSSAT48\CHICKPEA
CND C: \DSSAT48\CANOLA
Expand Down Expand Up @@ -145,7 +137,6 @@ TMD C: \DSSAT48\TOMATO
TND C: \DSSAT48\TANIER
TRD C: \DSSAT48\TARO
VBD C: \DSSAT48\VELVETBEAN
VID C: \DSSAT48\
WHD C: \DSSAT48\Wheat
U1D C: \DSSAT48\CROP1
U2D C: \DSSAT48\CROP2
Expand Down
8 changes: 4 additions & 4 deletions Plant/CROPGRO/OPHARV.for
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ C-----------------------------------------------------------------------
PlantStres % ACTIVE = .FALSE.
PlantStres % StageName = ' '
SELECT CASE (CROP)
CASE ('BG','BN','CH','CN','CO','CP','FB','GB','PE','LT',
& 'PN','PP','PR','QU','SB','SF','SU','TM','VB')
CASE ('BG','BN','CH','CI','CN','CO','CP','FB','GB','PE',
& 'LT','PN','PP','PR','QU','SB','SF','SU','TM','VB')
PlantStres % NSTAGES = 4
PlantStres % StageName(1) = 'Emergence -First Flower'
PlantStres % StageName(2) = 'First Flower-First Seed'
Expand Down Expand Up @@ -265,7 +265,7 @@ C-----------------------------------------------------------------------

! Set ACTIVE variable to indicate that current phase is active
SELECT CASE (CROP)
CASE ('BG','BN','CH','CN','CO','CP','FB','GB','LT',
CASE ('BG','BN','CH','CI','CN','CO','CP','FB','GB','LT',
& 'PE','PN','PP','PR','QU','SB','SF','SU','TM','VB')
IF (YRDOY > STGDOY(1) .AND. YRDOY <= STGDOY(5)) THEN
PlantStres % ACTIVE(1) = .TRUE.
Expand Down Expand Up @@ -627,7 +627,7 @@ C-----------------------------------------------------------------------
ENDDO

SELECT CASE (CROP)
CASE ('BN','CH','CN','CP','FB','GB','PE','PP',
CASE ('BN','CH','CI','CN','CP','FB','GB','PE','PP',
& 'PR','SB','TM','VB','LT')
! For stage-dependant irrigation - send GSTAGE back to irrig routine
STNAME(1) = 'Emergence ' !; GSTAGE(1) = "GS001"
Expand Down
2 changes: 1 addition & 1 deletion Plant/NWHEAT/WH_APSIM.for
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
C=======================================================================
C COPYRIGHT 1998-2020
C COPYRIGHT 1998-2021
C DSSAT Foundation
C University of Florida, Gainesville, Florida
C International Fertilizer Development Center
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# dssat-csm-os
The SSAT Cropping System Model
The DSSAT Cropping System Model

The Decision Support System for Agrotechnology Transfer (DSSAT) Version is a software
application program that comprises crop simulation models for over 42 crops (as of Version 4.8).
Expand Down Expand Up @@ -131,3 +131,17 @@ 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).

## 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 (http://dx.doi.org/10.19103/AS.2019.0061.10)

Hoogenboom, G., C.H. Porter, V. Shelia, K.J. Boote, U. Singh, J.W. White, W. Pavan, F.A.A. Oliveira, L.P. Moreno-Cadena, J.I. Lizaso, S. Asseng, D.N.L. Pequeno, B.A. Kimball, P.D. Alderman, K.R. Thorp, M.R. Jones, S.V. Cuadra, M.S. Vianna, F.J. Villalobos, T.B. Ferreira, J. Koo, L.A. Hunt, and J.W. Jones. 2021. Decision Support System for Agrotechnology Transfer (DSSAT) Version 4.8 (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. DSSAT Cropping System Model. European Journal of Agronomy 18:235-265.

2 changes: 1 addition & 1 deletion Utilities/OPSUM.for
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ C-------------------------------------------------------------------
400 FORMAT ('@ RUNNO TRNO R# O# P# CR MODEL... ',
& 'EXNAME.. TNAM..................... ',
& 'FNAM.... WSTA.... WYEAR SOIL_ID... ',
& 'LAT............. LONG........... ELEV..... ',
& ' XLAT LONG ELEV ',
& ' SDAT PDAT EDAT ADAT MDAT HDAT HYEAR',
& ' DWAP CWAM HWAM HWAH BWAH PWAM',
! & ' HWUM H#AM H#UM HIAM LAIX',
Expand Down

0 comments on commit ab76764

Please sign in to comment.