I'm trying to open a TIFF using GDAL, read it as a array, do some math, and write it back as a TIFF.
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 TIFF, and it worked. Also I looked at the TIFF 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.