OLCI HDF5 error

Post Reply
Ehsan Mehdipour
Posts: 5
Joined: Fri Oct 08, 2021 9:37 am
company / institution: Alfred Wegener Institute of Polar and Marine Science
Location: Bremerhaven

OLCI HDF5 error

Post by Ehsan Mehdipour »

Hi François,

I am trying to correct OLCI L1 to L2.
I am getting the following error from the HDF5, when I use the multiprocessing. However, the code continues to work.

'''
HDF5-DIAG: Error detected in HDF5 (1.12.2) thread 1:
#000: H5A.c line 528 in H5Aopen_by_name(): can't open attribute
major: Attribute
minor: Can't open object
#001: H5VLcallback.c line 1091 in H5VL_attr_open(): attribute open failed
major: Virtual Object Layer
minor: Can't open object
#002: H5VLcallback.c line 1058 in H5VL__attr_open(): attribute open failed
major: Virtual Object Layer
minor: Can't open object
#003: H5VLnative_attr.c line 130 in H5VL__native_attr_open(): can't open attribute
major: Attribute
minor: Can't open object
#004: H5Aint.c line 545 in H5A__open_by_name(): unable to load attribute info from object header
major: Attribute
minor: Unable to initialize object
#005: H5Oattribute.c line 476 in H5O__attr_open_by_name(): can't open attribute
major: Attribute
minor: Can't open object
#006: H5Adense.c line 394 in H5A__dense_open(): can't locate attribute in name index
major: Attribute
minor: Object not found
'''

Do you have any idea how can I solve this issue?
Thank you for your help in advance.

P.S. It's not needed to use a mask layer for OLCI "inland" water in polymer V4.15. Is that correct?

Best regards, Ehsan.
sakvaka_env
Posts: 25
Joined: Mon Mar 07, 2022 9:54 am
company / institution: Finnish Environment Institute
Location: Helsinki, Finland

Re: OLCI HDF5 error

Post by sakvaka_env »

Seems to be a problem with libnetcdf v.4.9.1, which is bundled with Python package netcdf4>=1.6.2. Downgrading netcdf4 to 1.6.1 or below gets rid of the messages.

See e.g.,

https://github.com/SciTools/iris/issues/5187
https://github.com/Unidata/netcdf4-python/issues/1242
https://github.com/Unidata/netcdf-c/issues/2674
Post Reply