Page 1 of 1

OSError: [Errno -101] NetCDF4: HDF error:

Posted: Sat Aug 31, 2024 4:07 am
by UanGQ1009
Hi fsteinmetz,

I tried to process OLCI images using POLYMER. But now it throws some error messages as follows:

OSError: [Errno -101] NetCDF4: HDF error: '/mnt/sf_share/olci/S3A_OL_1_EFR____20200402T015923_20200402T020223_20200403T060843_0179_056_331_2160_LN1_O_NT_002.SEN3/Oa01_radiance.nc

And my code is:

for fid in range(1):
olci_name = olci_names[fid]
if os.path.exists(os.path.join(os.path.split(olci_name)[0], 'Oa01_radiance.nc')):
print(olci_name)

run_atm_corr(
Level1_OLCI(
olci_name,
landmask='default'),
Level2_NETCDF(outdir=out_dir)
)

Here olci_names represent the absolute paths of OLCI images. How do I solve this issue?

Best regards,
Qi Guan

Re: OSError: [Errno -101] NetCDF4: HDF error:

Posted: Tue Nov 12, 2024 3:48 pm
by fsteinmetz
Hi, the path to OLCI products has to be the path to the SEN3 directory, not the Oa01_radiance.nc file.
Cheers, François