Troubleshooting
This chapter collects common failure modes and how to think through them.
Problem: the wrapper cannot find a file
Likely causes:
- wrong
DSSAT_path - wrong
project_file - missing genotype files
- companion observation files not where the wrapper expects them
What to do:
- run the self-check
- inspect the reported paths
- confirm whether the project lives in the DSSAT install or in an external directory
Problem: the run exits with no PlantGro.OUT
Likely causes:
- DSSAT itself rejected the experiment
- the wrong module was used
- a required companion file is missing
- the experiment is valid only with a non-default engine
What to do:
- inspect
ERROR.OUT - inspect
WARNING.OUT - confirm the intended
module_code
Problem: observations are not found
Likely causes:
- the observation files live beside the project file, not in the installed crop folder
- file suffixes differ from what you expected
- the requested experiment name does not match the actual observation filename stem
What to do:
- check the project directory
- check the installed crop folder
- inspect the experiment stem and crop code suffix
Problem: the variable you requested is missing
Likely causes:
- that family uses a different output variable name
- the variable is not written in that output file
- the run succeeded but your request needs an alias
What to do:
- inspect the names returned by the simulation object
- check whether another family-specific variable is the right target
- extend alias handling if this is a legitimate recurring case
Problem: the model launches but the biology looks wrong
That is a different class of problem.
Now you should inspect:
- weather linkage
- soil parameters
- planting density
- fertilizer schedule
- cultivar and ecotype choice
- target variable definition
At that stage, the wrapper may be working perfectly and the scientific setup may still need revision.