CRS is invalid : None

Serigne Mansour DIENE

Hello to all,
I'm doing a code to reproject an image to another one using gcps but I always get this error. I tried to use default_transform to get the affine transformation but I always get the same error. can I have a solution please

Serigne Mansour DIENE
Ingénieur Géomètre Topographe
PhD. Student Remote Sensing 
Tel,: 78-104-39-07

Denis Rykov

As far as I can see from your example you are getting error during the call of reproject function. Which type has heat1 object? If it is ndarray then you need to pass src_crs argument to reproject.