From 2974128b3c80a2b06207ab091a3594eab539c0e9 Mon Sep 17 00:00:00 2001 From: Timothy Middelkoop Date: Tue, 15 Feb 2022 22:49:07 +0000 Subject: [PATCH] Create scripts to speed up presentation --- landsat/get-data.sh | 6 ++++++ landsat/get-index.sh | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 landsat/get-data.sh diff --git a/landsat/get-data.sh b/landsat/get-data.sh new file mode 100644 index 0000000..b5caaf0 --- /dev/null +++ b/landsat/get-data.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "=== get-data.sh" + +cat data/index.csv | python3 search.py | head --lines=1 | bash download.sh + diff --git a/landsat/get-index.sh b/landsat/get-index.sh index 89e2da6..2673d66 100644 --- a/landsat/get-index.sh +++ b/landsat/get-index.sh @@ -11,3 +11,5 @@ if [ ! -r data/index.csv ] ; then gsutil cp gs://gcp-public-data-landsat/index.csv.gz data/ gzip -d data/index.csv.gz fi + +head --lines=4 data/index.csv