Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use context when opening source file in cogify function in convert.py #329

Open
pjhartzell opened this issue Jul 18, 2022 · 1 comment
Open

Comments

@pjhartzell
Copy link
Collaborator

For cogify In the convert.py, should we open the source file with context, i.e., with rasterio.open(...?

@gadomski
Copy link
Member

I default to yes w.r.t. using a context manager for resources in Python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants