Skip to content

Commit

Permalink
Merge pull request #21 from SimonRouet/flowering
Browse files Browse the repository at this point in the history
Complete example/calibration_GEVES_2021 with files used in the article Rouet et al. (2022) in in silico Plants
  • Loading branch information
rbarillot authored Jul 21, 2022
2 parents 8a1a3a6 + de1880b commit a249105
Show file tree
Hide file tree
Showing 7 changed files with 9,607 additions and 214 deletions.
5,838 changes: 5,833 additions & 5 deletions example/calibration_GEVES_2021/inputs/plan_simulation_calibration_GEVES.csv

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3,016 changes: 2,809 additions & 207 deletions example/calibration_GEVES_2021/inputs/plan_simulation_validation_GEVES.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/calibration_GEVES_2021/run_lgrass_GEVES.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def run_lgrass(scenario_id=1, inputs_dir_path='inputs', outputs_dir_path='output
"""

# Scenario to be run
scenarii_df = pd.read_csv(os.path.join('inputs', 'plan_simulation_calibration_GEVES.csv'), index_col='Scenario')
scenarii_df = pd.read_csv(os.path.join(inputs_dir_path, 'plan_simulation_calibration_GEVES.csv'), index_col='Scenario')
scenario = scenarii_df.loc[scenario_id].to_dict()
scenario_name = scenario['name']

Expand Down
2 changes: 1 addition & 1 deletion lgrass/lgrass.lpy
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ Feuille(X, X_apex, X_phytomere):
X.TailleEmergence = Seuil[X.id_plante][X.id_talle]
TrueAge = X.age - dt_eff #On pourrait affiner la determination de TrueAge qui en realite a eu lieu entre age-dt_eff et age-2dt_eff (soit on prend la moyenne soit au prorata des longueurs)

tmax_potcroiss = 166.588 #conversion des C jour en heures pour manip a 17C 118*24/17
tmax_potcroiss = 166.588 #conversion des °C jour en heures pour manip a 17°C 118*24/17
lmax_potcroiss = 338.5554 # mm

if option_profile == "triangular":
Expand Down

0 comments on commit a249105

Please sign in to comment.