kaufmanno / GSDMA

GNU General Public License v3.0
0 stars 1 forks source link

find duplicates boreholes ID by position #143

Closed YanickNdepo closed 3 years ago

YanickNdepo commented 3 years ago

Some boreholes have different ID (name) but share the same position. So, one of these ID must be keep for all borehole that share a same position. It will be interesting to merge the data between them before dropping duplicates. A function must be written to fix it.

YanickNdepo commented 3 years ago

Another idea could be to use a file that contains unique encountered boreholes with their position (XY). This file also contains 'synonyms' that are used to rename a borehole if it shares same position but has a different ID. This file will be read when activating data_merger() to rename automatically a borehole if it's found in the file. Then the file will be modified if new borehole are found.

YanickNdepo commented 3 years ago

Make the function able to recognize a part of an ID (prefix or suffix) and filter all ID considered as same.