<div dir="ltr"><div>Hi</div><div><br></div><div>When I read some raster files (in particular thermal JPEG files), a side car file .aux.xml appears next to it.</div><div><br></div><div>I would like to avoid the creation of this side car file, but I want to use any .aux.xml file if it is already there. Yes, I could imagine there is a performance impact if I read it several times, but I am going to read the file only once.</div><div><br></div><div>The config option GDAL_PAM_ENABLED seems to be completely disabling PAM functionality:</div><div><a href="https://gdal.org/en/stable/user/configoptions.html#persistent-auxiliary-metadata-pam-options">https://gdal.org/en/stable/user/configoptions.html#persistent-auxiliary-metadata-pam-options</a></div><div>Reading the documentation, I would imagine that the PAM is completely disabled, not only the creation of the side car file while reading a raster.</div><div><br></div><div>Is it posible to not create the .aux.xml, but use it if present?</div><div><br></div><div>Thank you</div></div>