*edit: When running for 1 band in range (1, 2) I am stilstill getting a ~2min process time.
*edit 2: Relevant information of file.
Columns, Rows: 179, 195
Number_of_Bands: 20454
Cell_Size__X.Y: 0.0625, 0.0625
Format: TIFF
Pixel_Type: floating point
Pixel_Depth: 32 Bit
I have run the same script on a subset with ~200 bands from the file above and the processing time per-band is nearly 2 seconds each.