E3SM-Project / scorpio

A high-level Parallel I/O Library for structured grid applications
19 stars 16 forks source link

Fix some issues of PIOc_inq_att* APIs for ADIOS and HDF5 IO types #532

Closed dqwu closed 11 months ago

dqwu commented 12 months ago

The updated Fortran interface has more strict checks on NetCDF style attribute IDs or names passed to SCORPIO C APIs.

For ADIOS and HDF5 IO types, PIOc_inq_attname and PIOc_inq_attid are not implemented. Also, NULL pointers passed to PIOc_inq_att are not checked.

These issues need to be fixed to fully support PIOc_inq_att APIs for both ADIOS and HDF5 IO types.