Parse CARTO ablation files
Full example code: examples/parser/carto_ablation.py
By default, ablation data is exported to the VisiTagExport folder. We use two files, one for the coordinates of the ablation points and one for timestamps.
from dgmr.parser import CartoReader
# Ablation files with coordinates and timestamps respectively
coord_file = "your_sites_file" # VisiTagExport/Sites.txt
time_file = "your ablationsites_file" # VisiTagExport/AblationSites.txt
ablation_data = CartoReader.load_ablation(coord_file, time_file)
print(ablation_data[:5])
Output: Ablation point coordinates with their matching timestamp.