Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ds = gdal.Open("E:/Sreeraj/Task Global Data CONVERSION/Split/output/Pioneertown_Agriculture/Pioneertown_row1.asc")
- stats = ds.GetRasterBand(1).GetStatistics(0,1)
- print stats
- [1.0, 1.0, 1.0, 0.0]
Add Comment
Please, Sign In to add comment