Creating and manipulating scientific datasets