Skip to content

Latest commit

 

History

160 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Crop farm financial health in response to reddening environmental variability

Authors

Christopher J. Greyson-Gaito*1., Aaron Delaporte2., Alfons Weersink2., Kevin S. McCann1.

Affiliations

*Corresponding Author - christopher@greyson-gaito.com

  1. Department of Integrative Biology, University of Guelph, Guelph, ON, Canada, N1G 2W1
  2. Department of Food, Agriculture & Resource Economics, University of Guelph, Guelph, ON, Canada, N1G 2W1

ORCID

Julia scripts and datasets

Folder and file structure

  • figs – empty folder for figures to be placed (created in AgriEco_figures.jl)
  • scripts
    • packages.jl – list of packages required (file used in other scripts)
    • AgriEco_commoncode.jl – functions used in simulations and producing figures
    • AgriEco_positivefeedbacks.jl – creation of positive feedbacks data
    • AgriEco_timedelay.jl – creation of time delay data
    • AgriEco_figures.jl – script to create all figures
  • .gitignore – file containing files and folders that git should ignore
  • LICENSE.txt – CC by 4.0 License for this repository
  • README.md – this file

Instructions

  1. Download the GitHub/Zenodo repo
  2. Open the repo in Visual Studio Code (if you haven't already done so, set up Julia in Visual Studio Code)
  3. Most of the analysis here requires multiple cores. Thus to set up multiple cores on your computer, in Visual Studio Code find the Julia: Num Threads setting in the Extension Settings of the Visual Studio Code Julia Extension. Change this setting to at most the number of logical cores in your computer. Restart Julia. All parallel computing will run automatically regardless of the number of cores selected.
  4. Run scripts/AgriEco_positivefeedbacks.jl and scripts/AgriEco_timedelay.jl to create the date required for scripts/AgriEco_figures.jl. Note, depending on the number of cores in your computer, this may take a some time.
  5. Run scripts/AgriEco_figures.jl to produce the figures in the manuscript.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages