ceip_animation: Animate a raster stack of Centre on Emission Inventories and...

Description Usage Arguments Value

Description

Animate a raster stack of Centre on Emission Inventories and Projections (CEIP) data into an animated gif for terrestrial locations.

Usage

1
2
3
ceip_animation(file = "~/SOx_A.tif", output_file = "~/test.gif",
  region = "belgium", width = 1200, height = 1200, xlim = c(-30,
  90), ylim = c(30, 82), upper_limit = 15000, time_step = 0.5)

Arguments

file

CEIP txt data file

output_file

path to a gif file to store the final animation

region

which regions to consider (default = "Belgium")

width

output width in px (default = 800)

height

output height in px (default = 800)

xlim

longitudinal geographic limits, override the regions argument (default = c())

ylim

latitudinal geographic limits, override the regions argument (default = c())

upper_limit

maximum value of scale (default = 10)

time_step

pause in seconds between two gif frames

Value

geotiff written to disk or raster data returned to R workspace when written to disk the location of the txt file is used


khufkens/ceipr documentation built on May 20, 2019, 11:58 a.m.