datamodels function

Read and write data models for LaF