Fix formatting

master
Chris Leaman 6 years ago
parent 6f0a5caa1f
commit be8efd89b8

@ -1,14 +1,15 @@
import pandas as pd
import os import os
from functools import partial
import fiona 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 LineString, Point
from shapely.geometry import shape from shapely.geometry import shape
from shapely.ops import transform 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): 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. # If no intersections are found, return nothing.
return None return None
def get_sites_dune_crest_toe(): def get_sites_dune_crest_toe():
data_folder = './data/interim' data_folder = './data/interim'
df_sites = pd.read_csv(os.path.join(data_folder, 'sites.csv'), index_col=[0]) df_sites = pd.read_csv(os.path.join(data_folder, 'sites.csv'), index_col=[0])

Loading…
Cancel
Save