Modelling of magnetic data for scaling geology