[gdal-dev] ERROR 13: The specified key does not exist

Clive Swan cliveswan at gmail.com
Mon Dec 12 02:41:17 PST 2022


I deleted all the vrt files, in case the error was related to the
bucket/key relationship.

The AWS key has not been updated.

I reran the script again, I am still getting a permissions error??

*ERROR 4:* Attempt to create new tiff file
`/vsis3/summer-outputs/5/coastal.tif' failed: Permission denied
Input file size is 450000, 225000
rcp26-2030
0...10...20...30...40...50...60...70...80...90...100 - done.
*ERROR 13:* The specified key does not exist.
rcp26-2040



*Clive Swan*
    cliveswan at gmail.com
        <gdal-dev%40lists.osgeo.org?Subject=Re%3A%20%5Bgdal-dev%5D%20ERROR%2013%3A%20The%20specified%20key%20does%20not%20exist&In-Reply-To=%3CCA%2BkQ3mtfttB_hEzhpa48-JoNFfa7gV4YB4fNKYSUL%2BXhRUNxiA%40mail.gmail.com%3E>

    *Mon Dec 12 01:33:55 PST 2022*
Greetings,

I have been using the security details for weeks, now getting an odd error.
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
*ERROR 4:* Attempt to create new tiff file `/vsis3/summer-outputs/3/coastal-
-2020.tif' failed: Permission denied
Input file size is 450000, 225000*ERROR 13*: The specified key does
not exist *<< ??*
*### Script below*
#!/bin/bash

LOG_FILE=/home/ubuntu/run_translate.log

exec 1>>${LOG_FILE}
exec 2>>${LOG_FILE}

## 5_UK_rasters >> 3_data_ready

gdal_translate /vsis3/summer-outputs/5/coastal-2020.vrt /vsis3/
summer-outputs/3/coastal-2020.tif -co BIGTIFF=YES  -co
NUM_THREADS=ALL_CPUS --config GDAL_CACHEMAX 100000 --config CPL_TMPDIR
/data/tmp --config CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE YES
--config AWS_ACCESS_KEY_ID KEY_ID --config AWS_SECRET_ACCESS_KEY
ACCESS_KEY
echo end script

-- 

 Regards,


Clive Swan




-- 

 Regards,


Clive Swan

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221212/4c28c03f/attachment.htm>


More information about the gdal-dev mailing list