Commit 94168643 authored by Nick Bearson's avatar Nick Bearson
Browse files

new script to start eodn_feed for us

parent 769decbc
#!/usr/bin/env bash
# https://www.mapbox.com/blog/processing-landsat-8/
# http://landsat.usgs.gov/Landsat8_Using_Product.php
#
# landsat-8 tifs are "digital numbers" (counts)
# those aren't very useful once the MTL is lost
# so create top-of-atmosphere radiance files for upload to realearth
# (could also do reflectance...)
set -u
set -e
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
. "$DIR/consts.sh"
cd ${INCOMING}
nohup eodn_feed -r "LC8[0-9]{3}(0[1-9]{2}|1[0-1][0-9]|12[0-2])[0-9]{4}[0-3][0-9][0-9].*.tar.gz" > ${LOGS}/eodn_feed.log 2>&1 &
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment