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

Sometimes the mosaic tiff is not created ... add a plan B? #16

Open
dbuscombe-usgs opened this issue Mar 7, 2023 · 0 comments
Open

Comments

@dbuscombe-usgs
Copy link
Member

If this occurs, I wonder if it is worth implementing a "plan B" option .... I have noticed that the command line options always create the large tiff, so I wonder if the following is worth adopting?

If the mosaic tif creation fails, perhaps the following could be put in a try/except loop? For those users who also have the command line tools (are these installed inside the conda env?)

gdal_translate -of GTiff -co "COMPRESS=LZW" -co "TILED=YES" -co "PHOTOMETRIC=RGB" out.vrt out.tif

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

1 participant