Sometimes arises the wish to delete some broken datasets from RRD files.
This is not possible out-of-the-box by design. But there are the rrdtool dump/restore
commands.
The interchange format is XML. So the idea is to modify the XML before restoring it.
There are two little deficiencies with the XML. It's not documented and some useful information is provided by XML comments instead of be part of the XML itself. This makes XSLT processing difficult.
Here are some XSLT transformations, that are trying to handle the deletion of some datasets and producing