Its called EGPWS which is fitted to many aircraft already, and is not wx radar based. It relies on the aircraft knowing its position, and comparing that to a terrain database. The terrain can be displayed on the map on one side of the cockpit, with the wx radar on the other.
CCCccccooo....ugh