for i in 10m 20m 60m TCI; do gdal_translate SENTINEL2_L2A:S2B_MSIL2A.SAFE/MTD_MSIL2A.xml:$i:EPSG_32630 tmp.tif -co TILED=YES -co COMPRESS=DEFLATE; gdal_translate tmp.tif S2B_MSIL2A_$i_cog.tif -co TILED=YES -co COMPRESS=DEFLATE -co COPY_SRC_OVERVIEWS=YES; done

@foss4guk@twitter.com

Follow

I should have done this months ago TBH :-|

· · Mastodon Twitter Crossposter · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!