Skip to content
Snippets Groups Projects
Commit 268ac834 authored by Bouvry Arnaud's avatar Bouvry Arnaud
Browse files

[feature] Temporary - crop yield map display in a conditional and automate...

[feature] Temporary - crop yield map display in a conditional and automate crop yield display as last simulation year

The input of the function used to display results in the main and example scripts is not called identically for the different crop models, so I put a conditional to avoid having to manually adapt the scripts every time we switch crop models.

Also automatically select the last simulation year to display the crop yield, based on the parameters dictionary. Until now, it was hard coded. It made it so the user could run into an error when the hard-coded year did not match the time range of the simulation. Advanced users can still edit the date of the yield map display as needed.
parent ba5e0d63
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment