Skip to content

Commit

Permalink
Added LT04 support
Browse files Browse the repository at this point in the history
  • Loading branch information
simonaoliver committed Dec 18, 2017
1 parent 69eede0 commit 59ad732
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
19 changes: 18 additions & 1 deletion ls_usgs_l2_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,24 @@
import tarfile
import glob

BAND_ALIASES = {'LT05': {
BAND_ALIASES = {'LT04': {
'pixel_qa': 'quality',
'solar_zenith_band4': 'solar_zenith_band4',
'solar_azimuth_band4': 'solar_azimuth_band4',
'sensor_zenith_band4': 'sensor_zenith_band4',
'sensor_azimuth_band4': 'sensor_azimuth_band4',
'radsat_qa': 'radsat_qa',
'bt_band6': 'lwir1',
'sr_band1': 'blue',
'sr_band2': 'green',
'sr_band3': 'red',
'sr_band4': 'nir',
'sr_band5': 'swir1',
'sr_band7': 'swir2',
'sr_atmos_opacity': 'sr_atmos_opacity',
'sr_cloud_qa': 'sr_cloud_qa'
},
'LT05': {
'pixel_qa': 'quality',
'solar_zenith_band4': 'solar_zenith_band4',
'solar_azimuth_band4': 'solar_azimuth_band4',
Expand Down
6 changes: 3 additions & 3 deletions usgs_l2c1.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ls5_usgs_l2c1
description: Landsat 5 USGS ARD 30 metre tile
description: Landsat 5 Thematic Mapper (TM) USGS Analysis Ready Data 30m scene
metadata_type: eo

metadata:
Expand Down Expand Up @@ -156,7 +156,7 @@ measurements:

---
name: ls7_usgs_l2c1
description: Landsat 7 USGS ARD 30 metre tile
description: Landsat 7 Enhanced Thematic Mapper Plus (ETM+) USGS ARD 30 metre tile
metadata_type: eo

metadata:
Expand Down Expand Up @@ -313,7 +313,7 @@ measurements:

---
name: ls8_usgs_l2c1
description: Landsat 8 USGS ARD 30 metre tile
description: Landsat 8 Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) USGS Analysis Ready Data 30m scene
metadata_type: eo

metadata:
Expand Down

0 comments on commit 59ad732

Please sign in to comment.