I'm trying to open a tif using gdal, read it as a array, do some math, and write it back as a tif.
However, when I try to gdal.Open(tif) in python, I get the error:
RuntimeError: /att/gpfsfs/userfs01/ppl/mwooten3/IDS/climate_data_analysis/MODIS_EVI/AverageOutputs/MODIS_EVI_Jan2001-2015_Average_ave.tif' not recognised as a supported file format.
I just did the same thing the same server, with the same versions of gdal/python, but with a different tif, and it worked. Also I looked at the tif I'm trying to open and it's not corrupt. Also also, triple checked the path and it is in the right spot.
Any idea why this is happening? What am I missing? I'm on a linux server using GDAL 2.0.1.