Stacking the Bands of Landsat Multi-Spectral Image to create a single TIF file
- Run the file 'main_single.py' click here
- Enter the folder path with slash at the end like
'/home/${USER}/Documents/Prod_Folder/LC09_L2SP_146041_20220514_20220516_02_T1/'
- Enter the last band number, if 3 selected then Band1, Band2 and Band3 will be stacked.
- The stacked image will be saved as
'/home/${USER}/Documents/Prod_Folder/LC09_L2SP_146041_20220514_20220516_02_T1/LC09_L2SP_146041_20220514_20220516_02_T1_stacked.TIF'
- Run the file 'main_batch.py' click here
- Create a working directory like follows, where all the product folders are stored.
├── Prod_Folder
├── Prod1_Folder
├── Prod2_Folder
├── Prod3_Folder
- Select the folder path where all the products are saved 'Prod_Folder' from the gui as follows:
- Select the folder path where you want to save the stacked images from the gui as follows:
-
Enter the start and last band number, if 1 and 3 are selected respectively then Band1, Band2 and Band3 will be stacked. Followed by the angles as follows:
- BAND1
- BAND2
- BAND3
- SAA
- VAA
- SZA
- VZA
-
The stacked image will be saved as
'/home/${USER}/Documents/Save_Folder/LC09_L2SP_146041_20220514_20220516_02_T1_stacked.TIF'