daquinterop / Py_DSSATTools

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

Error when setup output files as .csv #7

Closed wwolff7 closed 1 year ago

wwolff7 commented 1 year ago

When I configured Py_DSSATTools to get the outputs in .csv, such as: man.simulation_controls['FMOPT'] = 'C' `

I got this error: AssertionError: PlantGro.OUT does not exist in /tmp/dssatehdmpeyd

I tried to run with default outputs and after re-run in /tmp/dssatehdmpeyd , but all directory is replaced

Thanks in advance!

daquinterop commented 1 year ago

Hi Wagner. It seems that DSSAT does not create that file when running in that mode. I have no idea why, but I guess that It'll better not to modify that parameter. I know that the CSV output feature of DSSAT does not work quite well.

I don't know if this addresses all the issue, so please let me know if I missed something.

wwolff7 commented 1 year ago

Hello Diego, thanks for the answer! Yes, let's keep with the .OUT file. I would like to read soil water balance .OUT file like plant growth .OUT file, I will try to fix that, please let me know if you have some solution.

Thanks!

On Mon, 29 May 2023 at 18:24, Diego Quintero @.***> wrote:

Hi Wagner. It seems that DSSAT does not create that file when running in that mode. I have no idea why, but I guess that It'll better not to modify that parameter. I know that the CSV output feature of DSSAT does not work quite well.

I don't know if this addresses all the issue, so please let me know if I missed something.

— Reply to this email directly, view it on GitHub https://github.com/daquinterop/Py_DSSATTools/issues/7#issuecomment-1567527967, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADC2NRR4NIOHDQI36KTYH5LXIUHXXANCNFSM6AAAAAAYO2EG7I . You are receiving this because you authored the thread.Message ID: @.***>