This code was used to analyze the position of the floaters along the main river
contains the trajectory of each drifter as a shp file as well as the river centerline.
contains the trajectories for the drifters that have a sufficient amount of consecutive datapoints as shp files. for each datapoint the following information has been added
- direction of the movement
- distance to river mouth (based on river center line)
- width of river
- distance to river center line
Contains the final shp file that was used to create figure 4A&B
Contains the script needed to create the files in '01_alteredData' and '02_Results'
This scripts adds information to the raw trajectory files by comparing the recorded locations of the floaters to the centerline of the river.
This script analyses the partial trajectories and records the different positions for up and downstream movement.
This script analyses the whether there is a trend for the drifters to be on the inside or the outside of the curve
functions needed for the 3 scripts are defined here