code: def write_processed_litho_data(filename, litho_data, litho_points):
      
  
      np.savez_compressed(filename, litho1_all_data=litho_data, litho1_mesh_coords=litho_points)
  
      return
docs: Ensures that the data is stored in a format which is valid for initialising the class