PCA of multiband images
The CLI and Python commands have a space after landsat8_2024_B4 that cause the commands to fail.
i.pca input=landsat8_2024_B2,landsat8_2024_B3,landsat8_2024_B4, landsat8_2024_B5,landsat8_2024_B6,landsat8_2024_B7 output=Flagstaff_landsat8
Replace with this for CLI:
i.pca input=landsat8_2024_B2,landsat8_2024_B3,landsat8_2024_B4,landsat8_2024_B5,landsat8_2024_B6,landsat8_2024_B7 output=Flagstaff_landsat8
& Python:
gs.run_command("i.pca",
input="landsat8_2024_B2,landsat8_2024_B3,landsat8_2024_B4,landsat8_2024_B5,landsat8_2024_B6,landsat8_2024_B7",
output=Flagstaff_landsat8)
PCA of multiband images
The CLI and Python commands have a space after landsat8_2024_B4 that cause the commands to fail.
Replace with this for CLI:
& Python: