Tags: python

Borehole Grapher/Mapper

As part of AEON‘s baseline study in the Karoo, a group of my colleagues are undertaking a large scale hydrocensus in the area near the Western Cape/Eastern Cape boundary. At the moment, this entails visiting a large number of boreholes, recording some general information about them, and, where possible, recording the electro-conductivity of the borehole. They are also going to be doing other tests. The ultimate goal of this is to narrow down which boreholes we will be monitoring on a recurring basis. This has lead to a large amount of readings, associated with a given depth, being recorded. Excel is painful to use, because there is no consistency in the depth of boreholes, so while some tests may only have 20 readings, there is one with nearly 300. This precludes automated graphing in Excel. So, I have written a Python script to do this for me (mostly as practice, but hey, this will be pretty useful for the people actually working on it). I got this working adequately, and then realised that since I have coördinates for each borehole, I could graph the results. Looking around, I settled on leaflet.js to do the mapping part of it. As such, […]