Skip to content

New 'h5netcdf-h5py' netCDF backend in cf.write, and 'h5py_options' parameter #924

@davidhassell

Description

@davidhassell

By introducing the use of h5netcdf with the h5py backend as a backend option to cf.write, we open up being able to control the HDF5 internal metadata structure via the full range of h5py.File keyword arguments (https://docs.h5py.org/en/stable/high/file.html#h5py.File), which can be set with the new h5py_option parameter to cf.write.

For now, the h5py_option parameter will be the only way to control these option, but in the future we could make some common options available directly through the cf API.

Also in the future, we may well want to set some of these HD5 options automatically (be default) based on the nature of the fields being written out.

This will be almost entirely implemented and inherited from cfdm.

PR to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dataset writeRelating to writing datasetsenhancementNew feature or requestperformanceRelating to speed and memory performance

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions