<div dir="ltr">Hi All,<br><br>I am trying to work with some SMOS data, specifically the netCDF4 files from <a href="https://smos-diss.eo.esa.int/oads/access/">https://smos-diss.eo.esa.int/oads/access/</a>.<div><br></div><div>Running gdalinfo or gdal_translate using the Docker image osgeo/gdal:ubuntu-full-latest on these netCDF4 files seems to fail with</div><div><br></div><div>ERROR 4: '<file>' not recognized as a supported file format.<br></div><div><br></div><div>Full command and output<br><br>docker run -v /local/directory/containing/file/:/mnt/data/ osgeo/gdal:ubuntu-full-latest gdalinfo --debug ON /mnt/data/SM_OPER_MIR_SMUDP2_20220101T001713_20220101T011034_700_001_1.nc<br><br>GDAL_netCDF: driver detected file type=3, libnetcdf detected type=3<br>GDAL_netCDF: No UNIDATA NC_GLOBAL:Conventions attribute<br>GDAL_netCDF: var_count = 72<br>GDAL: GDALOpen(/mnt/data/SM_OPER_MIR_SMUDP2_20220101T001713_20220101T011034_700_001_1.nc, this=0x55cdea7bac30) succeeds as netCDF.<br>GDAL: GDALClose(/mnt/data/SM_OPER_MIR_SMUDP2_20220101T001713_20220101T011034_700_001_1.nc, this=0x55cdea7bac30)<br>GDAL: GDALOpen(/mnt/data/SM_OPER_MIR_SMUDP2_20220101T001713_20220101T011034_700_001_1.nc, this=0x55cdea7bac30) succeeds as netCDF.<br>GDAL: GDALClose(/mnt/data/SM_OPER_MIR_SMUDP2_20220101T001713_20220101T011034_700_001_1.nc, this=0x55cdea7bac30)<br>ERROR 4: `/mnt/data/SM_OPER_MIR_SMUDP2_20220101T001713_20220101T011034_700_001_1.nc' not recognized as a supported file format.<br>gdalinfo failed - unable to open '/mnt/data/SM_OPER_MIR_SMUDP2_20220101T001713_20220101T011034_700_001_1.nc'.<br><br>From this I'm not really able to understand what is wrong with the file.</div><div><br>The file with which I am testing is available here: <a href="https://drive.google.com/file/d/1r4R2gy0w2nyEv1fwmMNNR8CHhwjvayIk/view?usp=sharing">https://drive.google.com/file/d/1r4R2gy0w2nyEv1fwmMNNR8CHhwjvayIk/view?usp=sharing</a><br><br>I am trying to figure out what is "wrong" with these files which render them unreadable by gdal. I have not managed to find much by Googling. I'm happy to continue investigating if anyone is happy to provide any pointers to where I should be looking.<br><br>Any advice, pointers or help would be greatly appreciated.<br><br>Many Thanks<br>Scott Smith</div><div>Open Cosmos<br><br>p.s. I'm not sure if this is relevant or helpful, but I have managed to have some partial success with an older version of gdal and some "single variable" files I created from the original. Included for information, the gdal version is GDAL 3.3.2, released 2021/09/01 and a file which worked with gdalinfo is <a href="https://drive.google.com/file/d/1r4R2gy0w2nyEv1fwmMNNR8CHhwjvayIk/view?usp=sharing">https://drive.google.com/file/d/1r4R2gy0w2nyEv1fwmMNNR8CHhwjvayIk/view?usp=sharing</a> .</div></div>
<br>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap"><font size="2">This email is private and confidential. If you are not the intended recipient, do not copy or disclose its content, but please contact the sender immediately.</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap"><font size="2"><br></font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap"><font size="2">Open Cosmos Ltd is a company registered in England & Wales. Registration number: 09704443. Registered office: Electron Building, Fermi Avenue, Harwell, OX11 0QR.</font></span></p>