Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::000000000000:root" | |
}, | |
"Action": [ | |
"s3:ListBucket", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Transfer L8 scenes on a periodic basis from USGS to S3 (landsat-pds).", | |
"Parameters": { | |
"Name": { | |
"Description": "Name used throughout the Cloudformation stack for various resource (e.g. Lambda Function, SQS).", | |
"Type": "String" | |
}, | |
"Owner": { | |
"Description": "Owner of this application within an organization.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source /etc/profile | |
set -eou pipefail | |
function usage() { | |
echo "" | |
echo "Download a Landsat scene from USGS." | |
echo "" | |
echo "Usage: ./download-landsat [scene id]" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import rasterio as rio | |
import rasterio.warp | |
def get_coordinates(srcpath, pixel): | |
with rio.open(srcpath) as src: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eou pipefail | |
function usage() { | |
echo "" | |
echo "For a given L8 scene, get the top of atmosphere RGB image." | |
echo "" | |
echo "Usage: ./l8-toa.sh [entityId] [dstpath]" | |
echo "" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.