nldelete

nldelete(filename, object_id=None)

Function for deleting NLObjects from HDF5 files.

Parameters:
  • filename (string) – The file that an object should be removed from.

  • object_id (string) – Object_id of the object that should be deleted.

Usage Example

To delete a QuantumATK object with the object_id = 'my_obj' from the file my_file.hdf5 (for reclaiming the freed space, see nlrepack).

nldelete('my_file.hdf5', object_id='my_obj')