Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/AquaCropv7.2 integration #1633

Open
wants to merge 87 commits into
base: master
Choose a base branch
from

Conversation

lbusschaert
Copy link
Contributor

Description

This PR introduces the implementation of a crop model (AquaCropv7.2) in LIS, along with the LDT parameter processing. The implementation was done within the KU Leuven team of Prof. Gabriëlle De Lannoy, mainly by Michel Bechtold and myself.
Research has been done with a preliminary version of AquaCropv7.0 in LIS:

The objective was now to develop a final working version in LIS.

I was visiting the NASA-LIS team in early 2024 and prepared this implementation in collaboration with Sujay Kumar and David Mocko. The implementation is now finalized and has been carefully tested and compared to AquaCrop reference output.

AquaCropv7.2 (ac72) is now part of the surfacemodels/land/. The implementation is documented in
LIS_AC_documentation.pdf

We acknowledge that this is a large PR and we greatly appreciate the time you spend on it. Do not hesitate to contact me in case of any questions ([email protected]).

Testcase

Test cases for LDT and LIS have been added under the ldt/testcases and lis/testcases folders. The data for the test cases are stored in a Zenodo repository organized in the requested format: https://zenodo.org/records/14035685

Testing was done for the generic crop having a 365-day cycle
for 4 restart times (1 Feb, 1 Aug, 1 Dec, 1 Jan next sim), as well as
for the AquaCrop Maize file planted on March 22nd.
Minor differences are supposably introduced by precision differences
(saving restart variables as single precision while AC uses doubles) but
have no impact on the final biomass, yield, Tact, Eact.

Note that the restart is not working for
- perennial crops
- GDD crops (will be fixed later)
- salinity
- (may need a more elaborate list somewhere)

No irrigation nor groundwater files were used as it has been decided
that those options will be forced from LIS. Irrigation will be
introduced in the next developments. Groundwater will not be introduced
for the time being.
@dmocko
Copy link
Contributor

dmocko commented Nov 5, 2024

Hi @lbusschaert

Congratulations to you and your team for submitting this PR to get AquaCrop fully merged into the LIS code!

I did a quick review, and I have a few initial requests:

  1. Can you please add all of the new config entries, and a brief explanation on them, into the ldt/configs/ldt.config.adoc and lis/configs/lis.config.adoc files?

For example, "AquaCrop reference year for climatology:" for the ldt.config.adoc file, and "AquaCrop.7.2 model timestep:" for the lis.config.adoc file.

  1. Similarly, can you please add the new possible LIS outputs into the lis/configs/MODEL_OUTPUT_LIST.TBL.adoc file?

I see that you have them in your testcase, but it would be great to include them in the primary model output doc.

  1. You checked in an empty user.cfg file, but we actually prefer to not have any user.cfg file in our main branch. Can you please remove this file from the commits?

Thank you.

@dmocko dmocko added enhancement New feature or request Documentation Update to documentation (User's Guide or within the code) labels Nov 5, 2024
@lbusschaert
Copy link
Contributor Author

Hi @lbusschaert

Congratulations to you and your team for submitting this PR to get AquaCrop fully merged into the LIS code!

I did a quick review, and I have a few initial requests:

  1. Can you please add all of the new config entries, and a brief explanation on them, into the ldt/configs/ldt.config.adoc and lis/configs/lis.config.adoc files?

For example, "AquaCrop reference year for climatology:" for the ldt.config.adoc file, and "AquaCrop.7.2 model timestep:" for the lis.config.adoc file.

  1. Similarly, can you please add the new possible LIS outputs into the lis/configs/MODEL_OUTPUT_LIST.TBL.adoc file?

I see that you have them in your testcase, but it would be great to include them in the primary model output doc.

  1. You checked in an empty user.cfg file, but we actually prefer to not have any user.cfg file in our main branch. Can you please remove this file from the commits?

Thank you.

Hi @dmocko,

Thank you for noticing these points. They should be addressed now.

@dmocko
Copy link
Contributor

dmocko commented Nov 8, 2024

Both LDT and LIS compiled on the Discover Milan nodes.

Will next work on running the testcase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Update to documentation (User's Guide or within the code) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants