@@ -14,15 +14,15 @@ using XPalm
1414using BenchmarkTools
1515
1616function xpalm_default_param_create ()
17- meteo = CSV. read (joinpath (dirname (dirname (pathof (XPalm)))," 0-data" ," meteo.csv" ), DataFrame)
17+ meteo = CSV. read (joinpath (dirname (dirname (pathof (XPalm))), " 0-data" , " meteo.csv" ), DataFrame)
1818 # meteo.duration = [Dates.Day(i[1:1]) for i in meteo.duration]
1919 m = Weather (meteo)
2020
2121 out_vars = Dict {String,Any} (
2222 " Scene" => (:lai ,),
2323 # "Scene" => (:LAI, :scene_leaf_area, :aPPFD, :TEff),
2424 # "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 , :A , :carbon_demand , :carbon_allocation ,),
25+ " Leaf" => (:Rm , :potential_area , :TT_since_init , :TEff , :biomass , :carbon_demand , :carbon_allocation ,),
2626 # "Leaf" => (:Rm, :potential_area),
2727 # "Internode" => (:Rm, :carbon_allocation, :carbon_demand),
2828 " Male" => (:Rm ,),
5050#= @testset "XPalm simple test" begin
5151 # default number of seconds is 5
5252 b_XP = @benchmark xpalm_default_param_run() seconds = 120
53-
53+
5454 #N = length(b_XP.times)
5555
5656 @test mean(b_XP.times*1e-9) > 10
0 commit comments