Skip to content

Code from Hwangbo et al. 2025 for selecting and reconstructing optimal seasonal windows using tree-ring proxies

Notifications You must be signed in to change notification settings

kanchukaitis/tree-ring-seasonal-window

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code to reproduce analysis from "Simultaneous optimal target season estimation and local climate reconstruction using tree-ring widths"

To get a sense of the modeling workflow, I recommend starting with /analysis/r_code/ppe_linear.R

  • pre-processed time series used in the study are stored in /data/, and the preprocessing scripts are available in /data_preprocessing

If you already have basic familiarity with stan, then /analysis/stan_code/baseline_model is a good place to start to get basic familiarity with the model. The "baseline model" takes annual-resolution climate data as input, rather than the proposed model, which takes monthly-resolution climate data as input. Working with annual-resolution data simplifies the code considerably.

If you're new to stan, the building_blocks folder contains extra material with minimal examples to help get you started. These examples also explain how our stan models expect the data to be formatted, which will be useful if you prefer to use stan with a programming language different to R.

Questions or comments can be directed to [email protected]

About

Code from Hwangbo et al. 2025 for selecting and reconstructing optimal seasonal windows using tree-ring proxies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 87.9%
  • R 8.9%
  • Stan 3.2%