1. A method comprising: measuring, by each of a plurality of sensors in a wireless underground sensor network (WUSN) in a hydrocarbon reservoir, corresponding received magnetic field strengths (RMFSs) on a plurality of respective magnetic induction (MI) links forming an MI network linking the plurality of sensors and at least two anchor devices to each other, wherein the plurality of sensors are disposed at respective sensor locations within the hydrocarbon reservoir, wherein the at least two anchor devices are disposed at respective anchor device locations on a dipole antenna inside the hydrocarbon reservoir, and wherein locations of the at least two anchor devices are known; transmitting, by each of the plurality of sensors based on magnetic induction, the corresponding RMFSs to at least one anchor device over the MI network; determining a set of distances from the received RMFSs, wherein the determined set of distances represents an estimate of distances between the respective sensor locations of the plurality of sensors and the respective anchor device locations of the at least two anchor devices in the WUSN; and determining a set of sensor locations based on the determined set of distances and the known locations of the at least two anchor devices, wherein the determined set of sensor locations represents an estimate of locations of the respective sensor locations within the hydrocarbon reservoir.