Function assertCompatibleCoordinateFrame