Created
March 31, 2015 18:36
-
-
Save dnomadb/a9108d21b040c09cd4e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with rio.drivers(): | |
with rio.open(src_path, 'r') as src: | |
## to get one filled band | |
filled = fillnodata((src, 1)) | |
## to get all filled bands | |
filled = [fillnodata((src, i)) for i in range(1, 4)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment