Example of how to write successive frames of data to a variable size dataset.