You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Similar to the issue with file X, #31, the soil file is not written correctly, and therefore cannot be read in by DSSAT.
To Reproduce
Steps to reproduce the behavior:
Minimalistic example (the shortest complete code that causes the mistake)
sol = soil_file.SoilFile("../data/maize_ghwa/soil.SOL")
sol.write("../data/maize_ghwa_tradssat_soil/soil_tradssat_v_0_1_5.SOL")
Version of traDSSAT (tradssat.__version__) and operating system (Linux, Windows, Mac, ...)
traDSSAT version is 0.1.5
My OS is MacOS Catalina Version 10.15.7
A copy of any DSSAT input file(s) involved
Expected behavior
The formatting of the soil profiles within the newly written .SOL file do not match the ones that are provided by DSSAT. The formatting is off. (I have provided a few screen shots to illustrate this where the left one shows the correct .SOL and the file on the right shows the one that is re-written with tradssat.) As a result, the DSSAT software cannot read the newly written file correctly, and a simulation is terminated.
Additional context
Add any other context about the problem here.
I think the underlying issue is related to the alignment of the variable with the numerical values. For example, SLB ends on the 6th column, but the number underneath is ends on the 7th column. SLB should also end on the 7th column.
I'll start a PR on this, and would be grateful for any additional guidelines here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Similar to the issue with file X, #31, the soil file is not written correctly, and therefore cannot be read in by DSSAT.
To Reproduce
Steps to reproduce the behavior:
tradssat.__version__
) and operating system (Linux, Windows, Mac, ...)Expected behavior
The formatting of the soil profiles within the newly written .SOL file do not match the ones that are provided by DSSAT. The formatting is off. (I have provided a few screen shots to illustrate this where the left one shows the correct .SOL and the file on the right shows the one that is re-written with tradssat.) As a result, the DSSAT software cannot read the newly written file correctly, and a simulation is terminated.
Additional context
Add any other context about the problem here.
I'll start a PR on this, and would be grateful for any additional guidelines here.
The text was updated successfully, but these errors were encountered: