pisces.particles.base.ParticleDataset.update_global_metadata#

ParticleDataset.update_global_metadata(metadata: dict)[source]#

Update the global metadata attributes of the dataset.

This method allows you to modify or add global metadata attributes at the root level of the HDF5 file. It updates the attributes in memory and writes them back to the file.

Parameters:

metadata (dict) – A dictionary containing the metadata attributes to update or add.