YW, there are some pretty compact representations possible of that data but it will come at a considerable expense in computational overhead.
https://www.ncei.noaa.gov/products/earth-magnetic-model-anom...
Is a good starting point.