h5netcdf.File.resize_dimension

File.resize_dimension(dim, size)

Resize a dimension to a certain size.

It will pad with the underlying HDF5 data sets’ fill values (usually zero) where necessary.