########################################
########################################
Description of the content
########################################
########################################



########################################
#Part 1: The dataset on Cedrus atlantica. 
#original dataset used for with the bayesian model
contains 1 file
- Dataset_cedrus_atlantica.csv: variable description. See main text for more details on the protocol
tree_ID: number of individual tree
year: year matching cone maturation (see main text for more details, the reproduction from cone initiation to maturation takes two years)
dbh_cm: tree diameter (DBH) in cm
BAI_growth: basal area increment in cm2/year
density_plot: plot at 250 ind/ha and plot at 1200ind/ha
pollen_index: pollen index to quantify the available pollen
cone_count: number of counted cone per individual 
ressources_NPP_castanea: simulated NPP for each individuals per year

########################################
#Part 2: The hierarchical Bayesian model
#All parameters are described in the main text and supporting information
contains 1 file
- Bayesian_model_script.R: R script to run the hierarchical model with the available dataset. The output create the jags file and a result file.

########################################
#Part 3: Ecophysiological model (CASTANEA)
#files for CASTANEA model. A manual of CASTANEA is available at <https://www.overleaf.com/read/nmyvszjkfxxh> where it is presented the model with different options and parameters details.
contains 5 files

- Climate_file_StationS3_From59to2015.txt: climate file use to run model simulation (daily climate data, eg temperature, precipitation, etc.)
- Forestry_file_plot250.txt: Silvicultural scenario for CASTANEA model. Specific file for the low density plot of cedrus atlantica (250ind/ha). Contains year of clearcut and percentage of trees cutted
- Forestry_file_plot1200.txt: Silvicultural scenario for CASTANEA model. Specific file for the high density plot of cedrus atlantica (1200ind/ha)
- InventoryFile_plot250.txt: Inventory file for CASTANEA model. Specific file for the low density plot of cedrus atlantica (250ind/ha). Contains individual characteristics, soil conditions, processus options
- InventoryFile_plot1200.txt: Inventory file for CASTANEA model. Specific file for the high density plot of cedrus atlantica (1200ind/ha)

