read.DeponsShips {DEPONS2R}R Documentation

Read DEPONS ship files

Description

Function for reading the json-files that are used for controlling how ship agents behave in DEPONS. Ships move along pre-defined routes in 30-min time steps. The routes are defined by the fix-points provided in the json file, and the geographic projection is assumed to match that of the landscape.

Usage

read.DeponsShips(fname, title = "NA", landscape = "NA", crs = as.character(NA))

Arguments

fname

Name of the file (character) where ship routes and ships are defined.

title

Optional character string with the name of the simulation

landscape

Optional character string with the landscape used in the simulation

crs

Character, coordinate reference system (map projection)

Value

Returns an object with the elements title landscape, crs, routes and ships.


[Package DEPONS2R version 1.2.3 Index]