pisces.particles.base.ParticleDataset.update_field_metadata#
- ParticleDataset.update_field_metadata(group_name: str, field_name: str, metadata: dict)[source]#
Update the metadata attributes for a specific field in a particle group.
This method allows you to modify or add metadata attributes for a given field in a particle group. It updates the attributes in memory and writes them back to the HDF5 file.
- Parameters:
- Raises:
KeyError – If the specified group or field does not exist in the dataset.