Skip to content

Instantly share code, notes, and snippets.

View shaystrong's full-sized avatar

Shay Strong shaystrong

  • Helsinki, Finland
  • 07:27 (UTC +03:00)
View GitHub Profile
@shaystrong
shaystrong / Readme.md
Last active March 26, 2020 06:52
SWIR DG processing
  1. Image download from ftp --> upload to AWS s3 bucket

  2. Pull to AWS EC2 machine. Save off SWIR band ratios as tif with appropriate contrast. The SWIR data is an 8-band image. You need to first grab onnly the bands you need for visualization (8-3-1 or 6-3-1 make good combos)

import rasterio
import numpy as np

raster='18NOV09185526-A2AS-058669488010_01_P001.TIF'. #your file
@shaystrong
shaystrong / ec2jupyter.md
Last active August 28, 2016 02:34
jupyter notebook on EC2