Re: [gdal-dev] help please with close/reopen and GDALSubdatasetInfo

2023-12-03 Thread Michael Sumner via gdal-dev
Awesome, thank you! I was a bit lost - learnt a lot from exploring this though. Cheers, Mike On Mon, Dec 4, 2023 at 12:11 AM Even Rouault wrote: > Hi Michael, > > It was most missing a "break;" statement when the subdataset of interest > has been found to exit the loop. Without the break, th

Re: [gdal-dev] Reading NetCDF on S3 with /vsis3/

2023-12-03 Thread Even Rouault via gdal-dev
Scott, Le 03/12/2023 à 03:09, Scott Staniewicz via gdal-dev a écrit : Are there any known limitations that prevent NetCDF datasets from being read using `/vsis3/`? Yes. This requires Linux + sufficient permissions to run the userfaultfd Linux system call, which can be an issue when running in

Re: [gdal-dev] help please with close/reopen and GDALSubdatasetInfo

2023-12-03 Thread Even Rouault via gdal-dev
Hi Michael, It was most missing a "break;" statement when the subdataset of interest has been found to exit the loop. Without the break, the loop will continue to read papszSubdatasets[] which has been invalidated by the poSrcDS->ReleaseRef(). Ah, memory unsafe languages :-). You also had a f