From c2e2629008eb251edcaf4196ea59590b643a5929 Mon Sep 17 00:00:00 2001 From: Chris Leaman Date: Sun, 11 Nov 2018 15:30:10 +1100 Subject: [PATCH] Add make commands to pull/push data from J drive --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eda80b1..4c40cdc 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,14 @@ ################################################################################# # PROJECT RULES # ################################################################################# -.PHONY: mat_to_csv +.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 + +pull-data: ##@data Copies data to WRL Coastal J Drive + # 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 mat-to-csv: ##@data Converts raw .mat files to .csv for python cd ./src/data/ && python mat_to_csv.py