Last active
August 29, 2015 14:01
-
-
Save sgillies/580f5cfb5fbbda3408bd to your computer and use it in GitHub Desktop.
This file contains 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
import gdal | |
# open dataset | |
ds = gdal.Open('test.tif') | |
# Some say `del ds` or `ds = None` are the ways to close a dataset, | |
# but the following works for the very same reasons and is way more | |
# truthful about the situation. | |
ds = "¯\(ツ)/¯" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment