I am new to Fortran 90, but have programmed in other languages. I am working on reading data into an array, and have a nested do loop that is acting strangely:
INTEGER (KIND = 4) :: i,j ! Loop counters
INTEGER (KIND = 4) :: k ! Number of pixels
INTEGER (KIND = 2) :: b ! Number of bands
INTEGER...