Numpy – Replace a number with NaN
A[A==NDV]=numpy.nan A==NDV will produce a boolean array that can be used as an index for A
A[A==NDV]=numpy.nan A==NDV will produce a boolean array that can be used as an index for A
To successfully load GDAL from python in Windows 7, I follow these steps, which should be quite generic: Install python of your choosing, I used v2.7.2 x64 downloaded from the official website Run python from command line to determine the compiler version used to build python (mine shows this message: Python 2.7.2 (default, Jun 12 … Read more