diff --git a/Makefile b/Makefile index 4c40cdc..eb4019e 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ - +DATA_BACKUP_DIR = "J:/Coastal/Temp/CKL/nsw_2016_storm_impact/data" ################################################################################# # PROJECT RULES # ################################################################################# .PHONY: push-data mat_to_csv sites-csv-to-shp -push-data: ##@data Copies data to WRL Coastal J Drive - rclone copy ./data/ "J:/Coastal/Temp/CKL/nsw_2016_storm_impact/data" --progress +push-data: ##@data Copies data from ./data/ to data backup directory + rclone copy ./data/ $(DATA_BACKUP_DIR) --exclude "*.las" --progress -pull-data: ##@data Copies data to WRL Coastal J Drive +pull-data: ##@data Copies data from data backup directory to ./data/ # We probably don't want to pull the raw LIDAR .las files, so lets exclude them - rclone copy "J:/Coastal/Temp/CKL/nsw_2016_storm_impact/data" ./data/ --exclude "*.las" --progress + rclone copy $(DATA_BACKUP_DIR) ./data/ --exclude "*.las" --progress mat-to-csv: ##@data Converts raw .mat files to .csv for python cd ./src/data/ && python mat_to_csv.py