write,DeponsShips-method | R Documentation |
Function for writing a json-file 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. The projection is not stored as part of the json file.
## S4 method for signature 'DeponsShips'
write(x, file)
x |
Name of the DeponsShips object to be exported |
file |
Name of the output file (character) |
No return value, called for side effects
The exported json file is intended for use in DEPONS 2.3 or later (released July 2022) where the sound pressure level (SPL) is calculated within DEPONS based on ship type, ship length and speed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.