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 DeponsShips
write(x, file)No return value, called for side effects
Name of the DeponsShips object to be exported
Name of the output file (character)