Re: calculator between raster

2016-10-09 Thread chrischris201444
Τη Κυριακή, 9 Οκτωβρίου 2016 - 11:55:54 μ.μ. UTC+3, ο χρήστης chrischr...@gmail.com έγραψε: > any idea how to calculator rasters images ?like > ((raster1+raster2)*(raster4*9)} > for example. > maybe is easy that question but i dont work again with raster and python > i have gdal,numpy,scipy,pygeo

calculator between raster

2016-10-09 Thread chrischris201444
any idea how to calculator rasters images ?like ((raster1+raster2)*(raster4*9)} for example. maybe is easy that question but i dont work again with raster and python i have gdal,numpy,scipy,pygeoprocesing and more -- https://mail.python.org/mailman/listinfo/python-list

delete pixel from the raster image with specific range value

2016-10-08 Thread chrischris201444
any idea how to delete pixel from the raster image with specific range value using numpy/scipy or gdal? for example i have a raster image with the 5 class : 1. 0-100 2. 100-200 3. 200-300 4. 300-500 5. 500-1000 and i want to delete class 1 range value or maybe class 1,2,4,5 -- https://mail.pyt

Re: python (scipy) TypeError

2016-10-03 Thread chrischris201444
Τη Δευτέρα, 3 Οκτωβρίου 2016 - 7:17:03 μ.μ. UTC+3, ο χρήστης chrischr...@gmail.com έγραψε: > hello > > > i try to follow some tutorial but i have that error : > > Traceback (most recent call last): > File "C:\Python27\test\test\earth.py", line 42, in > slope_array = np.ones_like(data_arr

Re: python (scipy) TypeError

2016-10-03 Thread chrischris201444
Τη Δευτέρα, 3 Οκτωβρίου 2016 - 7:17:03 μ.μ. UTC+3, ο χρήστης chrischr...@gmail.com έγραψε: > hello > > > i try to follow some tutorial but i have that error : > > Traceback (most recent call last): > File "C:\Python27\test\test\earth.py", line 42, in > slope_array = np.ones_like(data_arr

python (scipy) TypeError

2016-10-03 Thread chrischris201444
hello i try to follow some tutorial but i have that error : Traceback (most recent call last): File "C:\Python27\test\test\earth.py", line 42, in slope_array = np.ones_like(data_array) * nodataval TypeError: unsupported operand type(s) for *: 'int' and 'NoneType' first i define that lin