Skip to content

Commit

Permalink
add Reproducibility section in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
dmetivie committed Oct 24, 2024
1 parent 2faa8c3 commit 0b02cfb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
GeoMakie = "db073c08-6b98-4ee5-b6a4-5efafb3259c6"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
JLD = "4138dd39-2aa7-5051-a626-17a0bb65d9c8"
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Expand Down
14 changes: 13 additions & 1 deletion examples/tuto_add_station_variable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We will also explore how to add (very simplistic) mutlisite models for other wea
These new models will be trained with respect to the given hidden states and their parameters will be periodic and vary smoothly during a calendar year.
For now models will be trained at each site and correlated spatially with Gaussian Copulas.
It shows how the hidden states and the seasonality correlate the weather variables without extra codependency between simulated variables. The results is not perfect and is work in progress.
It shows how the hidden states and the seasonality correlates the weather variables without extra codependency between simulated variables.
"""

md"""
Expand Down Expand Up @@ -491,3 +491,15 @@ md"""
##### Evapotranspiration `ETPP`
"""
plts_month[:ETPP]

md"""
## Reproducibility
"""
using InteractiveUtils
InteractiveUtils.versioninfo()

md"""
Package list and version
"""

import Pkg; Pkg.status()
14 changes: 13 additions & 1 deletion examples/tuto_paper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -835,4 +835,16 @@ begin
end

#-
savefigcrop(plt_qqp_copula, "qq_copula_$(station_name[j1])_$(ifelse(j2 == 8, "LA_HAGUE", station_name[j2]))_Z_full_K_$(K)_d_$(𝐃𝐞𝐠)_m_$(local_order)", save_tuto_path); #src
savefigcrop(plt_qqp_copula, "qq_copula_$(station_name[j1])_$(ifelse(j2 == 8, "LA_HAGUE", station_name[j2]))_Z_full_K_$(K)_d_$(𝐃𝐞𝐠)_m_$(local_order)", save_tuto_path); #src

md"""
## Reproducibility
"""
using InteractiveUtils
InteractiveUtils.versioninfo()

md"""
Package list and version
"""

import Pkg; Pkg.status()

0 comments on commit 0b02cfb

Please sign in to comment.