<div dir="ltr">Files: /data/coastal-undefended-rcp26-2020.vrt<br>       /vsis3/summer-outputs/3_data_ready_for_spectra/coastal-undefended-rcp26-2020.tif<br>       /vsis3/summer-outputs/5_UK_prod_rasters/coastal-undefended-rcp26-2020.tif<br>Size is 450000, 225000<br>Coordinate System is:<br>GEOGCRS["WGS 84",<br>    DATUM["World Geodetic System 1984",<br>        ELLIPSOID["WGS 84",6378137,298.257223563,<br>            LENGTHUNIT["metre",1]]],<br>    PRIMEM["Greenwich",0,<br>        ANGLEUNIT["degree",0.0174532925199433]],<br>    CS[ellipsoidal,2],<br>        AXIS["geodetic latitude (Lat)",north,<br>            ORDER[1],<br>            ANGLEUNIT["degree",0.0174532925199433]],<br>        AXIS["geodetic longitude (Lon)",east,<br>            ORDER[2],<br>            ANGLEUNIT["degree",0.0174532925199433]],<br>    ID["EPSG",4326]]<br>Data axis to CRS axis mapping: 2,1<br>Origin = (-180.000000000000000,90.000000000000000)<br>Pixel Size = (0.000800000000000,-0.000800000000000)<br>Corner Coordinates:<br>Upper Left  (-180.0000000,  90.0000000) (180d 0' 0.00"W, 90d 0' 0.00"N)<br>Lower Left  (-180.0000000, -90.0000000) (180d 0' 0.00"W, 90d 0' 0.00"S)<br>Upper Right ( 180.0000000,  90.0000000) (180d 0' 0.00"E, 90d 0' 0.00"N)<br>Lower Right ( 180.0000000, -90.0000000) (180d 0' 0.00"E, 90d 0' 0.00"S)<br>Center      (   0.0000000,   0.0000000) (  0d 0' 0.01"E,  0d 0' 0.01"N)<br>Band 1 Block=128x128 Type=Float32, ColorInterp=Gray<br>  NoData Value=-9999<br>Band 2 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999<br>Band 3 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999<br>Band 4 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999<br>Band 5 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999<br>Band 6 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999<br>Band 7 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999<br>Band 8 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999<br>Band 9 Block=128x128 Type=Float32, ColorInterp=Undefined<br>  NoData Value=-9999</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 12 Dec 2022 at 17:39, Javier Jimenez Shaw <<a href="mailto:j1@jimenezshaw.com">j1@jimenezshaw.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>gdalinfo of the three files (two inputs and one output) may help to understand better the conditions.</div><div>One option is that file A is not compressed, while the output is LZW.<br></div><div><div><div dir="ltr">.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__<br>Entre dos pensamientos racionales <br>hay infinitos pensamientos irracionales.<br><br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 12 Dec 2022 at 17:47, Clive Swan <<a href="mailto:cliveswan@gmail.com" target="_blank">cliveswan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Greetings,<br><div><br></div><div>I am writing the output on the local AWS Instance to avoid write permissions error, then copying to a Bucket.<br> I get an error message if I leave out --config GDAL_SWATH_SIZE 1000000<br><br></div><div>I want to merge File A into File B, updating the 6GB file. The output is 622MB NOT 6GB??</div><div>(A) /vsis3/summer/1/coastal-2020.tif  = 6GB<br>(B) /vsis3/summer/2/coastal-2020.tif  = 622MB<br></div><div><br></div><div>Is this wrong??                                                 (A)                                                    (B)<br></div><div>gdalbuildvrt -o /data/coastal-2020.vrt /vsis3/summer/1/coastal-2020.tif / vsis3/summer/2/coastal-2020.tif </div><div><br><div>The output in /data/coastal-2020.tif should be 6GB<br></div>gdal_translate /data/coastal-2020.vrt /data/coastal-2020.tif -co BIGTIFF=YES -co COMPRESS=LZW -  -co NUM_THREADS=ALL_CPUS --config CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE YES  --config GDAL_SWATH_SIZE 1000000  <br>##--config AWS_ACCESS_KEY_ID            set in ./config<br>##--config AWS_SECRET_ACCESS_KEY set in ./config<br></div><div><br></div><div>-- </div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="margin:0cm 0cm 0pt"><span style="font-family:Calibri;font-size:8pt"> Regards,</span></p><p style="margin:0cm 0cm 0pt"><span style="font-family:Calibri;font-size:8pt"><br></span></p><p style="margin:0cm 0cm 0pt"><span style="font-family:Calibri;font-size:8pt">Clive Swan</span></p>
<p style="margin:0cm 0cm 0pt"><span><font size="3"><font face="Calibri">--</font></font></span></p></div></div></div></div></div></div></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="margin:0cm 0cm 0pt"><span style="font-family:Calibri;font-size:8pt"> Regards,</span></p><p style="margin:0cm 0cm 0pt"><span style="font-family:Calibri;font-size:8pt"><br></span></p><p style="margin:0cm 0cm 0pt"><span style="font-family:Calibri;font-size:8pt">Clive Swan</span></p>
<p style="margin:0cm 0cm 0pt"><span><font size="3"><font face="Calibri">--</font></font></span></p>
<p style="margin:0cm 0cm 0pt"><br></p>
<p style="margin:0cm 0cm 0pt"><span style="color:gray"><font size="3"><font face="Calibri">M: +44 7766 452665</font></font></span></p></div></div></div></div></div></div>