And you'd need to estimate or guess the range that the shot came from to figure out what the depth of your firing point is.
But how you actually do counter battery fire is not to fire back at a single point with a single gun but to call a barrage down on the area you know the shot came from.
I think Striker describes the surface effect of a meson gun as leaving broken ground. Do that with several meson guns at a depth below the ground and you are churning up a lot of earth and causing a lot of structural damage to the deep meson site (hopefully).
I can see a role for a battery squadron of small hulls fitted with meson guns in bays or spinal mounts, part of whose job it is to conduct counter battery fire on deep meson sites once detected and localized. You can also use them for ground support or general barrage work.
assuming you have enough separation between you and your other triangulation points, you'd work out the depth anyway, as it'd be where the lines cross, which would be a point inside the planet.
anyway, to plug some numbers into my own question:
max range, in MgT, appears to be about 50,000 KM (or at least, they stop counting at that range).
a error of 1 MOA (1/60th a degree) in targeting gives us a box about 2.3 KM wide and deep, or roughly 12 cubic kilometres in which your deep meson site is located.
how big is a deep meson site? no idea. but lets just say it's nice and big, 100,000 D-tons, with all the support facilities, defensive meson screens, emergency power generation, ect. I did the maths, once, to work out how big 100,000 Dtons is, and the answer is actually about the size of the old Worlds Trade Centre towers.
12 km
3 is 12
billion cubic meters. our 1,400,000 m
3 meson gun fits something like 700 times (714 by my maths, but I'm using 14m
3 to the dton as per MgT rules, which I know is rounded off somewhat compared to other editions). its got a fair amount of space to hide in.
the blast radius for the meson spinals was, what, 250m radius? that's a sphere with a volume of 65,450,000m
3 (rounding up, slightly). you'd need....183 shots of that size to completely cover the possible volume.
now, in reality I accept you're going to get a hit with a lot less shots than that, since you don't need to cover the whole space, just hit the meson site. but still, it'd take squadrons firing in volleys to catch and kill each gun in a reasonable time scale, and if a planet has a dozens of even hundreds of guns.........