animate_vadt: Animated Atlantis plots for vadt

Description Usage Arguments Details See Also Examples

Description

Create animated Atlantis plots of all the tracers

Usage

1
animate_vadt(bgm, bmass, interval = 0.3, codes, savedir)

Arguments

bgm

An Atlantis bgm file

bmass

BoxBiomass.txt file from Atlantis out

interval

Speed of animination (unit in seconds)

codes

Vector of containing all the Atlantis functional group codes needed to create GIFs

savedir

Where should the gifs be saved?

Details

This function will create GIFs of all Atlantis tracers by default. WARNING: This can take a while and is not necessary to use vadt. It is probably much, much better to specify certain groups! This function depends on having the unix command convert installed locally. Convert is part of imagemagick and can be downloaded here: http://www.imagemagick.org/.

See Also

create_vadt, vadt

Examples

1
2
3
4
5
6
7
8
## Not run: 
bgm <- "/path/to/atlantis.bgm"
bmass <- "/path/to/outputBoxBiomass.txt"
codes <- read.csv("functionalGroup.csv", header = T, stringsAsFactors = FALSE)
savedir <- "/home/chris/"
animate_vadt(bgm = bgm, bmass = bmass, codes = codes$Code, savedir = savedir)

## End(Not run)

mareframe/vat documentation built on May 21, 2019, 11:45 a.m.