Re: Rasterio result different than gdal_calc

anand@...
 

Hi Sean,

Sure, I will try those changes you have mentioned. here is the gdal_calc expression I used :

gdal_calc.py -A T1_B5.TIF --A_band=1 -B T1_B4.TIF --B_band=1 --outfile=ndvi_gal_1.TIF --calc='(A.astype(float)-B)/(A.astype(float)+B)' --type='Float32'
--co='COMPRESS=LZW'

Join main@rasterio.groups.io to automatically receive all group messages.