Add check of file format for non-uniform cartesian