Solved by AbdulsalamBande in post #2 
              
              
                The error is because (2 x 488 x 7) is not equal to ( 2 x 107136 x 7). You can tru slicing 
Example 

a  = a[:,0:488,:] 

EDIT : But you will loose some information