61 Commits (6f215da826a06f364df3a18f53998e5fc7e2ca09)

Author SHA1 Message Date
Chris Leaman 2974b5a897 Fix distance_to_intersection function
Added two extra considerations:
1) Need to distinguish between positive and negative values when calculating distance to starting point, hence the seaward and landward intersecting lines.
2) Need to consider only checking lines with the same beach property, otherwise it is going to take too long when we have all the beaches
6 years ago
Chris Leaman 863976c532 Add corresponding x-coordinate coordinate of lat/lon on beach profile 6 years ago
Chris Leaman efec913a10 Provide ids when reading shapefiles
May come in handy later
6 years ago
Chris Leaman f2b6bc12a9 Fix paths
Scripts should be run from the repository base directory.
6 years ago
Chris Leaman 1d8a5f158d Add function to extract site orientations
This function takes the profiles.mat file and uses the spiral log transformation tool to calculate the orientation of each beach profile cross section. Orientations are needed to relate dune toes and crests (from shape files) to each of the profiles.

Note there are some beaches which don't have the correct parameters in the log-spiral tool folder, so these should be followed up with Mitch.
6 years ago
Chris Leaman 1e8ed28536 Add CLI functionality 6 years ago
Chris Leaman df2edd1abd Update todo for dune crest/toe function 6 years ago
Chris Leaman be8efd89b8 Fix formatting 6 years ago
Chris Leaman 6f0a5caa1f Add function for getting beach slope from profile 6 years ago
Chris Leaman 5e8f356600 Add comment 6 years ago
Chris Leaman 85fa9e55c2 Initial commit 6 years ago