Guest User

Untitled

a guest
Jan 24th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ds = gdal.Open("E:/Sreeraj/Task Global Data CONVERSION/Split/output/Pioneertown_Agriculture/Pioneertown_row1.asc")
  2. stats = ds.GetRasterBand(1).GetStatistics(0,1)
  3. print stats
  4. [1.0, 1.0, 1.0, 0.0]
Add Comment
Please, Sign In to add comment