|
|
|
@ -1,14 +1,15 @@
|
|
|
|
|
import pandas as pd
|
|
|
|
|
import os
|
|
|
|
|
from functools import partial
|
|
|
|
|
|
|
|
|
|
import fiona
|
|
|
|
|
import numpy as np
|
|
|
|
|
import pandas as pd
|
|
|
|
|
import pyproj
|
|
|
|
|
from scipy import stats
|
|
|
|
|
from shapely.geometry import LineString, Point
|
|
|
|
|
from shapely.geometry import shape
|
|
|
|
|
from shapely.ops import transform
|
|
|
|
|
import pyproj
|
|
|
|
|
from functools import partial
|
|
|
|
|
import numpy as np
|
|
|
|
|
from scipy.interpolate import interp1d
|
|
|
|
|
from scipy import stats
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def shapes_from_shp(shp_file):
|
|
|
|
|
"""
|
|
|
|
@ -123,6 +124,7 @@ def distance_to_intersection(lat,lon,orientation,line_strings):
|
|
|
|
|
# If no intersections are found, return nothing.
|
|
|
|
|
return None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_sites_dune_crest_toe():
|
|
|
|
|
data_folder = './data/interim'
|
|
|
|
|
df_sites = pd.read_csv(os.path.join(data_folder, 'sites.csv'), index_col=[0])
|
|
|
|
|