diff --git a/Makefile b/Makefile index d0c690c..1dbf142 100644 --- a/Makefile +++ b/Makefile @@ -68,11 +68,20 @@ process-mat: ./data/interim/sites.csv ./data/interim/waves.csv ./data/interim/pr --sites-csv "./data/interim/sites.csv" \ --output-file "./data/interim/tides.csv" -./data/interim/sites.shp : ./data/interim/sites.csv +# Creates a .shp of our sites to load into QGis +./data/interim/sites.shp: ./data/interim/sites.csv pipenv run python ./src/data/csv_to_shp.py sites-csv-to-shp \ --input-csv "./data/interim/sites.csv" \ --output-shp "./data/interim/sites.shp" +./data/interim/profile_features.csv: ./data/raw/profile_features/dune_crests.shp ./data/raw/profile_features/dune_toes.shp ./data/interim/sites.csv ./data/interim/profiles.csv + pipenv run python ./src/data/profile_features.py create-profile-features \ + --dune-crest-shp "./data/raw/profile_features/dune_crests.shp" \ + --dune-toe-shp "./data/raw/profile_features/dune_toes.shp" \ + --sites-csv "./data/interim/sites.csv" \ + --profiles-csv "./data/interim/profiles.csv" \ + --output-csv "./data/interim/profile_features.csv" + ################################################################################# # PROJECT RULES # #################################################################################