The format that is used by pymagglobal was first implemented for the gufm1 model and then adopted by the community to describe spline models. The model files are structured as follows:

The format that is used by pymagglobal is the same as the gufm1 model and the CALSxk models. The model files are structured as follows:

* The first line consits of the interval for which the model is valid, followed by several model parameters

* The second line contains three integers: the maximal spherical harmonic degree, a meaningless number and the number of splines

* Then follows a block of years, specifying the knots for the cubic B-splines and a block of coefficients, containing first all coefficients for the first knot, then all for the second etc.

The code is somewhat flexible wich linebreaks. Only the linebreak after the first line is really necessary. If you have trouble parsing your own files, feel free to [contact](mailto:arthus@gfz-potsdam.de) one of the authors.

The code is somewhat flexible with linebreaks. Only the linebreak after the first line is really necessary. If you have trouble parsing your own files, feel free to [contact](mailto:arthus@gfz-potsdam.de) one of the authors.