Split stack
From AWF-Wiki
- Click the Add raster layer and select the file C:/OSGeo4W64/geodata/raster/s2/Subset_S2A_MSIL2A_20170619T.tif.
- After clicking Open, the raster layer appears on the QGIS canvas.
- Go to Raster --> Conversion --> Translate(Convert format).
Specify the multiband file as Input Layer. Select path and name of output file. Click and type the following additional options into the textbox:
- -b 1 (Select only first band)
- -ot UInt16 (Output data format: unsigned 16bit integer)
Repeat for other bands: Click to leave the edit mode. Edit name of the Output file Click again to edit the and -b option in the command line text window accordingly.
- Create a multiband file with 4 bands. Edit the output file: *Subset_S2A_MSIL2A_20170619T_B02030408.tif
- -b 2 -b 3 -b 4 -b 8
- -ot UInt16
Click OK.