@@ -18,22 +18,22 @@ function xpalm_default_param_create()
1818 # meteo.duration = [Dates.Day(i[1:1]) for i in meteo.duration]
1919 m = Weather (meteo)
2020
21- out_vars = Dict {String ,Any} (
22- " Scene" => (:lai ,),
23- # " Scene" => (:LAI, :scene_leaf_area, :aPPFD, :TEff),
24- # " Plant" => (:plant_age, :ftsw, :newPhytomerEmergence, :aPPFD, :plant_leaf_area, :carbon_assimilation, :carbon_offer_after_rm, :Rm, :TT_since_init, :TEff, :phytomer_count, :newPhytomerEmergence),
25- " Leaf" => (:Rm , :potential_area , :TT_since_init , :TEff , :biomass , :carbon_demand , :carbon_allocation ,),
26- # " Leaf" => (:Rm, :potential_area),
27- # " Internode" => (:Rm, :carbon_allocation, :carbon_demand),
28- " Male" => (:Rm ,),
29- # " Female" => (:biomass,),
30- # " Soil" => (:TEff, :ftsw, :root_depth),
21+ out_vars = Dict {Symbol ,Any} (
22+ : Scene => (:lai ,),
23+ # : Scene => (:LAI, :scene_leaf_area, :aPPFD, :TEff),
24+ # : Plant => (:plant_age, :ftsw, :newPhytomerEmergence, :aPPFD, :plant_leaf_area, :carbon_assimilation, :carbon_offer_after_rm, :Rm, :TT_since_init, :TEff, :phytomer_count, :newPhytomerEmergence),
25+ : Leaf => (:Rm , :potential_area , :TT_since_init , :TEff , :biomass , :carbon_demand , :carbon_allocation ,),
26+ # : Leaf => (:Rm, :potential_area),
27+ # : Internode => (:Rm, :carbon_allocation, :carbon_demand),
28+ : Male => (:Rm ,),
29+ # : Female => (:biomass,),
30+ # : Soil => (:TEff, :ftsw, :root_depth),
3131 )
3232
3333 # Example 1: Run the model with the default parameters (but output as a DataFrame):
3434 palm = XPalm. Palm (initiation_age= 0 , parameters= XPalm. default_parameters ())
3535 models = XPalm. model_mapping (palm)
36- return palm, models, out_vars, meteo
36+ return palm, models, out_vars, m
3737end
3838
3939function xpalm_default_param_run (palm, models, out_vars, meteo)
0 commit comments