-
Image download from ftp --> upload to AWS s3 bucket
-
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