gjoseph92 / stackstac

Turn a STAC catalog into a dask-based xarray
https://stackstac.readthedocs.io
MIT License
232 stars 49 forks source link

Could logging be disabled for skipping VRT #244

Open pkopparla opened 4 months ago

pkopparla commented 4 months ago

Hello,

This line: https://github.com/gjoseph92/stackstac/blob/95fa740cb2d19d89285b198471d92520cf31e10c/stackstac/rio_reader.py#L362 logs to standard output at the level of logging.INFO that certain files were skipped for VRT generation. For my case, it pollutes the output by logging this out several dozen/hundred times. I don't want to silence logging.INFO because I use it for monitoring other functions in my code. Since the average user likely doesn't care whether or not a certain file was used to make a VRT as long as the image stack work fine, can I make a pull request for this line to be eliminated?