The telluric‐magnetotelluric method in two‐ and three‐dimensional environments