Cleans NEMA data collected for a GPR unit.
gprfix was developed to "clean" NEMA data collected for a GPR unit.
The executable takes no arguments. It simply:
- creates a subfolder named "Clean_DZGs"
- looks for all "DZG" files in the current folder
- loads each file one line at a time
- retains any line that starts with "GSSIS" or "GPGGA"
- removes duplicate "GSSIS" lines between "GPGGA" lines
- creates and writes a revised file with the same name into the "Clean_DZGs" folder
To do in the future:
- generalize the pattern it looks for
- allow files with other extensions to be loaded
- better error checking