Skip to content

New interface

New interface #382

Triggered via pull request April 5, 2024 11:28
@fabernfabern
synchronize #85
new-interface
Status Failure
Total duration 23m 38s
Artifacts

Documentation.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 2 warnings, and 1 notice
build: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/example-script-01.md:243-250 ```@example example-script-01 sim_states = get_states(simulation) sim_states = get_states(simulation_mod) sim_fluxes = get_fluxes(simulation_mod) names(sim_states) # show column names names(sim_fluxes) # show column names ``` exception = The provided simulation has not yet been solved. Please `simulate!()` the DiscretizedSPAC first. Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] get_states(simulation::DiscretizedSPAC; days_to_read_out_d::Nothing) @ LWFBrook90 ~/work/LWFBrook90.jl/LWFBrook90.jl/src/func_postprocess.jl:32 [3] get_states(simulation::DiscretizedSPAC) @ LWFBrook90 ~/work/LWFBrook90.jl/LWFBrook90.jl/src/func_postprocess.jl:30 [4] top-level scope @ example-script-01.md:244 [5] eval @ ./boot.jl:370 [inlined] [6] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [7] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [8] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [9] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [10] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [11] with_logger @ ./logging.jl:626 [inlined] [12] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [13] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
build: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/example-script-01.md:254-260 ```@example example-script-01 states_to_plot = ["INTS_mm", "INTR_mm", "SNOW_mm", "GWAT_mm", "SWAT_mm"] states_to_plot = ["INTS_mm", "INTR_mm", "SNOW_mm"] sim_states_to_plot = sim_states[:, states_to_plot] plot(sim_states[:,"dates"], Matrix(sim_states_to_plot), labels=permutedims(names(sim_states_to_plot)), legend=:topleft, ylabel = "-") ``` exception = UndefVarError: `sim_states` not defined Stacktrace: [1] top-level scope @ example-script-01.md:257 [2] eval @ ./boot.jl:370 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
build: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/example-script-01.md:264-269 ```@example example-script-01 fluxes_to_plot = ["flow", "seep", "evap"] sim_fluxes_to_plot = sim_fluxes[:, fluxes_to_plot] plot(sim_fluxes[:,"dates"], Matrix(sim_fluxes_to_plot), labels=permutedims(names(sim_fluxes_to_plot)), legend=:topleft, ylabel = "mm/day") ``` exception = UndefVarError: `sim_fluxes` not defined Stacktrace: [1] top-level scope @ example-script-01.md:266 [2] eval @ ./boot.jl:370 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
build: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/example-script-01.md:273-281 ```@example example-script-01 fluxes_to_plot = [ "cum_d_prec", "cum_d_rnet", "cum_d_smlt", "cum_d_tran", "srfl", "slfl", "byfl", "dsfl", "gwfl", "vrfln"] sim_fluxes_to_plot = sim_fluxes[:, fluxes_to_plot] plot(sim_fluxes[:,"dates"], Matrix(sim_fluxes_to_plot), labels=permutedims(names(sim_fluxes_to_plot)), legend=:topleft, ylabel = "mm/day") ``` exception = UndefVarError: `sim_fluxes` not defined Stacktrace: [1] top-level scope @ example-script-01.md:278 [2] eval @ ./boot.jl:370 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
build: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/example-script-01.md:285-290 ```@example example-script-01 fluxes_to_plot = ["RWU_d18O", "RWU_d2H", "PREC_d18O", "PREC_d2H"] sim_fluxes_to_plot = sim_fluxes[:, fluxes_to_plot] plot(sim_fluxes[:,"dates"], Matrix(sim_fluxes_to_plot), labels=permutedims(names(sim_fluxes_to_plot)), legend=:topleft, ylabel = "mm/day") ``` exception = UndefVarError: `sim_fluxes` not defined Stacktrace: [1] top-level scope @ example-script-01.md:287 [2] eval @ ./boot.jl:370 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
build: ../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/example-script-01.md:302-360 ```@example example-script-01 @show propertynames(sim_states[:,r"(d18O)|(d2H)"]); df_δsoil = sim_states[:, ["d18O_permil_160mm", "d18O_permil_510mm", "d18O_permil_820mm", "d18O_permil_1200mm", "d2H_permil_160mm", "d2H_permil_510mm", "d2H_permil_820mm", "d2H_permil_1200mm"]] df_θψ = sim_states[:, ["θ_m3m3_160mm", "θ_m3m3_510mm", "θ_m3m3_820mm", "θ_m3m3_1200mm", "ψ_kPa_160mm", "ψ_kPa_510mm", "ψ_kPa_820mm", "ψ_kPa_1200mm"]] pl_θ = plot(sim_states.dates, Matrix(select(df_θψ, r"θ_")), labels = permutedims(names(select(df_θψ, r"θ_"))), xlabel = "Date", ylabel = "θ\n[-]", legend = :outerright) pl_ψ = plot(sim_states.dates, # Matrix(select(df_θψ, r"ψ_")), log10.(-Matrix(select(df_θψ, r"ψ_"))), yflip = true, labels = permutedims(names(select(df_θψ, r"ψ_"))), xlabel = "Date", ylabel = "log10(ψ\n[kPa])", legend = :outerright); pl_δ18O = plot(sim_states.dates, Matrix(select(df_δsoil, r"d18O_")), labels = permutedims(names(select(df_δsoil, r"d18O_"))), xlabel = "Date", ylabel = "δ¹⁸O soil\n[‰]", legend = :outerright); pl_δ2H = plot(sim_states.dates, Matrix(select(df_δsoil, r"d2H_")), labels = permutedims(names(select(df_δsoil, r"d2H_"))), xlabel = "Date", ylabel = "δ²H soil\n[‰]", legend = :outerright); # add precipitation to soil δ PREC_color = :black plot!(pl_δ18O, sim_fluxes.dates, sim_fluxes.PREC_d18O, labels = "PREC", color = PREC_color, linestyle = :dot); plot!(pl_δ2H, sim_fluxes.dates, sim_fluxes.PREC_d2H, labels = "PREC", color = PREC_color, linestyle = :dot); pl_PREC = plot( sim_fluxes.dates, sim_fluxes.cum_d_prec, t = :bar, color=PREC_color, legend = :outerright, labels = "PREC ", # whitespace for hardcoded alignment of legend ylabel = "PREC\n[mm]"); plot(plot(pl_PREC, xlab = "", xticks = :none, topmargin = 5mm, bottommargin = 0mm), plot(pl_θ; xlab = "", xticks = :none, topmargin = 0mm, bottommargin = 0mm), plot(pl_ψ; xlab = "", xticks = :none, topmargin = 0mm, bottommargin = 0mm), plot(pl_δ18O; xlab = "", xticks = :none, topmargin = 0mm, bottommargin = 0mm), plot(pl_δ2H; xtick_direction=:out , topmargin = 0mm, bottommargin = 5mm), link = :x, layout = grid(5, 1, heights=[0.1, 0.25 ,0.25, 0.2, 0.2]), size=(600,500), dpi = 300, margin = 5mm) ``` exception = UndefVarError: `sim_states` not defined Stacktrace: [1] top-level scope @ show.jl:1128 [2] eval @ ./boot.jl:370 [inlined] [3] #58 @ ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [8] with_logger @ ./logging.jl:626 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/2OZOh/src/expander_pipeline.jl:752
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`