stactools icon indicating copy to clipboard operation
stactools copied to clipboard

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

Open pjhartzell opened this issue 3 years ago • 1 comments

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

pjhartzell avatar Jul 18 '22 22:07 pjhartzell

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

gadomski avatar Jul 19 '22 13:07 gadomski