def test_x4(): lf = LasFile.from_(tf_path+"x4.las") wh = lf.well_header assert wh.strt == 57.0 assert wh.stop == 5817.0 parser = Parser(lf.to_las()) nlf = parser.las_file() assert lf == nlf
def lasfile_to_las(): ol = LasFile.from_(tf_path) parser = Parser(ol.to_las()) nl = parser.las_file() assert ol == nl