Changes between Version 1 and Version 2 of CreateLandsatMosaic


Ignore:
Timestamp:
Apr 25, 2014, 2:09:00 PM (10 years ago)
Author:
andreasplesch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CreateLandsatMosaic

    v1 v2  
    3737{{{
    3838bash$ ls p*tar.gz | sed 's/_.*//' > scenes.list
     39}}}
    3940
     41We take advantage of the systematic naming of all downloaded files and strips out everything but the path and row description at the beginning of the file name.
     42
     43{{{
    4044bash$ for s in `cat scenes.list`; do gdalbuildvrt -separate $s.vrt ${s}*30.tif ${s}*20.tif ${s}*10.tif; done
    4145}}}
    4246
    43 This will be relatively quick since it just creates the proper vrt descriptions as p_pathNumber_r_rowNumber.vrt
     47The loop will be relatively quick since it just creates the proper vrt descriptions as p_pathNumber_r_rowNumber.vrt
    4448
    4549=== Add all vrts from the same UTM zone to a single vrt ===