|
|
|
@ -48,21 +48,21 @@ process-mat: ./data/interim/sites.csv ./data/interim/waves.csv ./data/interim/pr
|
|
|
|
|
--output-file "./data/interim/sites.csv"
|
|
|
|
|
|
|
|
|
|
# Produces a .csv of waves for each site
|
|
|
|
|
./data/interim/waves.csv: ./data/interim/sites.csv ./data/raw/processed_shorelines/waves.mat ./src/data/parse_mat.py
|
|
|
|
|
./data/interim/waves.csv: ./data/interim/sites.csv ./data/raw/processed_shorelines/waves.mat
|
|
|
|
|
pipenv run python ./src/data/parse_mat.py create-waves-csv \
|
|
|
|
|
--waves-mat "./data/raw/processed_shorelines/waves.mat" \
|
|
|
|
|
--sites-csv "./data/interim/sites.csv" \
|
|
|
|
|
--output-file "./data/interim/waves.csv"
|
|
|
|
|
|
|
|
|
|
# Produces a .csv of profiles for each site
|
|
|
|
|
./data/interim/profiles.csv: ./data/interim/sites.csv ./data/raw/processed_shorelines/profiles.mat ./src/data/parse_mat.py
|
|
|
|
|
./data/interim/profiles.csv: ./data/interim/sites.csv ./data/raw/processed_shorelines/profiles.mat
|
|
|
|
|
pipenv run python ./src/data/parse_mat.py create-profiles-csv \
|
|
|
|
|
--profiles-mat "./data/raw/processed_shorelines/profiles.mat" \
|
|
|
|
|
--sites-csv "./data/interim/sites.csv" \
|
|
|
|
|
--output-file "./data/interim/profiles.csv"
|
|
|
|
|
|
|
|
|
|
# Produces a .csv of tides for each site
|
|
|
|
|
./data/interim/tides.csv: ./data/interim/sites.csv ./data/raw/processed_shorelines/tides.mat ./src/data/parse_mat.py
|
|
|
|
|
./data/interim/tides.csv: ./data/interim/sites.csv ./data/raw/processed_shorelines/tides.mat
|
|
|
|
|
pipenv run python ./src/data/parse_mat.py create-tides-csv \
|
|
|
|
|
--tides-mat "./data/raw/processed_shorelines/tides.mat" \
|
|
|
|
|
--sites-csv "./data/interim/sites.csv" \
|
|
|
|
@ -74,6 +74,7 @@ process-mat: ./data/interim/sites.csv ./data/interim/waves.csv ./data/interim/pr
|
|
|
|
|
--input-csv "./data/interim/sites.csv" \
|
|
|
|
|
--output-shp "./data/interim/sites.shp"
|
|
|
|
|
|
|
|
|
|
# Creates a .csv of our dune toe and crest profile features
|
|
|
|
|
./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" \
|
|
|
|
@ -82,6 +83,47 @@ process-mat: ./data/interim/sites.csv ./data/interim/waves.csv ./data/interim/pr
|
|
|
|
|
--profiles-csv "./data/interim/profiles.csv" \
|
|
|
|
|
--output-csv "./data/interim/profile_features.csv"
|
|
|
|
|
|
|
|
|
|
# Creates a forecast of twl using sto06 and prestorm time varying prestorm foreshore slope
|
|
|
|
|
./data/interim/twl_foreshore_slope_sto06.csv: ./data/interim/waves.csv ./data/interim/tides.csv ./data/interim/profiles.csv ./data/interim/sites.csv ./data/interim/profile_features.csv
|
|
|
|
|
pipenv run python ./src/analysis/forecast_twl.py create-twl-forecast \
|
|
|
|
|
--waves-csv "./data/interim/waves.csv" \
|
|
|
|
|
--tides-csv "./data/interim/tides.csv" \
|
|
|
|
|
--profiles-csv "./data/interim/profiles.csv" \
|
|
|
|
|
--profile-features-csv "./data/interim/profile_features.csv" \
|
|
|
|
|
--runup-function "sto06" \
|
|
|
|
|
--slope "foreshore" \
|
|
|
|
|
--output-file "./data/interim/twl_foreshore_slope_sto06.csv"
|
|
|
|
|
|
|
|
|
|
# Creates a forecast of twl using sto06 and prestorm mean foreshore slope
|
|
|
|
|
./data/interim/twl_mean_slope_sto06.csv: ./data/interim/waves.csv ./data/interim/tides.csv ./data/interim/profiles.csv ./data/interim/sites.csv ./data/interim/profile_features.csv
|
|
|
|
|
pipenv run python ./src/analysis/forecast_twl.py create-twl-forecast \
|
|
|
|
|
--waves-csv "./data/interim/waves.csv" \
|
|
|
|
|
--tides-csv "./data/interim/tides.csv" \
|
|
|
|
|
--profiles-csv "./data/interim/profiles.csv" \
|
|
|
|
|
--profile-features-csv "./data/interim/profile_features.csv" \
|
|
|
|
|
--runup-function "sto06" \
|
|
|
|
|
--slope "mean" \
|
|
|
|
|
--output-file "./data/interim/twl_mean_slope_sto06.csv"
|
|
|
|
|
|
|
|
|
|
./data/interim/impacts_observed.csv: ./data/interim/profiles.csv ./data/interim/profile_features.csv
|
|
|
|
|
pipenv run python ./src/analysis/observed_storm_impacts.py create-observed-impacts \
|
|
|
|
|
--profiles-csv "./data/interim/profiles.csv" \
|
|
|
|
|
--profile-features-csv "./data/interim/profile_features.csv" \
|
|
|
|
|
--output-file "./data/interim/impacts_observed.csv"
|
|
|
|
|
|
|
|
|
|
./data/interim/impacts_forecasted_mean_slope_sto06.csv: ./data/interim/profile_features.csv ./data/interim/twl_mean_slope_sto06.csv
|
|
|
|
|
pipenv run python ./src/analysis/forecasted_storm_impacts.py create-forecasted-impacts \
|
|
|
|
|
--profile-features-csv "./data/interim/profile_features.csv" \
|
|
|
|
|
--forecasted-twl-csv "./data/interim/twl_mean_slope_sto06.csv" \
|
|
|
|
|
--output-file "./data/interim/impacts_forecasted_mean_slope_sto06.csv"
|
|
|
|
|
|
|
|
|
|
./data/interim/impacts_forecasted_foreshore_slope_sto06.csv: ./data/interim/profile_features.csv ./data/interim/twl_foreshore_slope_sto06.csv
|
|
|
|
|
pipenv run python ./src/analysis/forecasted_storm_impacts.py create-forecasted-impacts \
|
|
|
|
|
--profile-features-csv "./data/interim/profile_features.csv" \
|
|
|
|
|
--forecasted-twl-csv "./data/interim/twl_foreshore_slope_sto06.csv" \
|
|
|
|
|
--output-file "./data/interim/impacts_forecasted_foreshore_slope_sto06.csv"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################################################################################
|
|
|
|
|
# PROJECT RULES #
|
|
|
|
|
#################################################################################
|
|
|
|
|