After changing the code, the crop does not grow properly #326
Unanswered
liyunfengcaas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are trying to transfer daily soil moisture and soil salinity calculated by HYDRUS to AquaCrop. In short, we want to couple the two software to run together.
We created a 'Server' to store the daily soil moisture and salinity calculated by HYDRUS. When AquaCrop needs soil moisture and salinity, it can send an application to the 'Server' and get the data for the day.
We modified the code file -'global.f90'. You can find it here:
global.zip
The code for soil moisture is in the file on lines 14932-14983.


The code for soil salinity is on lines 2568-2620 in the file.


The files used by the AquaCrop program (GUI/ the source code version) are as follows:
AquaCrop.zip
And we had some problems.
When we first run, the output file is here:
2021PROday_salt.txt
We found that the cotton crop could not grow normally, and the CC value was 0 on the 49th day. At the same time, the StSto value becomes 100 until the last day. We checked the WC and EC values in the AquaCrop output file and found no outliers that would lead to stress.
Then we changed the salt value stored in the 'Server' to 0 and reran the coupling program, and the output of AquaCrop is as follows:
2021PROday_No salt.txt
We found that the result of the second time was no different from that of the first run, except that the salt in the output file was all zero.
We don't know where the error occurred, and whether the development team can give us some suggestions to help us solve the problem. Thank you very much for your help. We would appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions