This course is an introduction to using Gadget as an ecosystem simulator and stock assessment tool. It is introduced using Rgadget, an R library that simplifies and standardizes the procedure for creating the input model files needed for creating a Gadget model, as well as gather and visualize ouput files created by Gadget. Although input files can be created manually, Rgadget facilitates reproducability and aids internal consistency of Gadget model creation by allowing Gadget models to be created, run, analyzed, and shared using a single set of R scripts. Please note, however, that both Gadget and Rgadget are continuously being developed, so please remember to update your installations frequently (1x / month). In addition, Rgadget is programmed using ‘tidyverse’, so a good understanding of how to program using tidyverse is a necessity.
By the end of this course you should:
Prior to the course make sure your operating system is a unix derivative, such as linux or macosx, as the code and examples in this course is only tested against these operating systems. Windows should in theory work, but issues related to Windows line endings are known to cause random issues in Gadget. For those who do not want dual boot their computers they can install VirtualBox and install linux on a virtual machine (you can find a selection of pre-install images here where it is recommended that you choose Ubuntu). However if you insist on using Windows you should install the icesTAF
R-package to handle all the file conversion issues.
To install Gadget follow the installation guide.
Please also have the most recent version of R and Rstudio installed.
In addition, if you plan to run a simple model using your own data, please:
familiarize yourself with tidyverse programming
think about your model structure/ aggregation level and have R scripts ready that aggregate your data into an appropriately formatted data frame (i.e., columns of : year, time step, area, age bins, length bins, or age- and length-bins - have a sneak peak at our example model data here)
Time: 2019-09-30 09:00 - 2019-10-04 12:00
Location: