daquinterop / Py_DSSATTools

A Python library for crop modeling using DSSAT
GNU General Public License v3.0
45 stars 16 forks source link

Modification of Crop.ecotype #29

Closed osherboudara-work closed 6 months ago

osherboudara-work commented 6 months ago

Hello @daquinterop!

Hope you are doing well. I am trying to modify variables within crop.ecotype but it does not show the modified variable in the .ECO crop file.

For example, if I modify values for the Maize ecotype like so:

crop.ecotype['TSEN'] = 6 crop.ecotype['CDAY'] = 15

The .ECO file remains unchanged after executing the simulation:

image

is the way i am modifying the ecotype correct? If not, how would I do it so that it uses my modified variables in the model?