NCAS-CMS / cfdm

A Python reference implementation of the CF data model
http://ncas-cms.github.io/cfdm
MIT License
28 stars 11 forks source link

Refactor the flattening of netCDF-4 groups #286

Open davidhassell opened 7 months ago

davidhassell commented 7 months ago

The netcdf_flattener library does not recognise variables relating UGRID, CFA aggregation, domain variables, and compression by coordinate subsampling, so will incorrectly read any such referenced names if they have a group structure. Also, netcdf_flattener can not flatten the groups from h5netcdf.File objects (see #285).

These can be solved by creating a modified copy of the library within cfdm.