I want to read a LAS file, make some changes in well, curve, parameter and other sections and write them back to LAS files.
But the issue is during writing operation all commented out lines are getting removed as they were not read by lasio at first place.
Is there some way in lasio to read commented out lines?
As per the lasio docs here you can set a flag to change the default functionality of ignoring commented out lines using
remove_data_line_filter='#'as an argument in the read function