This function adds data to the segment that has been begun with writeph_spk14_begin.

The data array must be of size record_count*((deg+1)*6 + 2) and have the following structure :

MID 1st record

RADIUS 1st record

X's 1st coef 1st record

...

X's (deg + 1)th coef 1st record

Y's 1st coef 1st record

...

Y's (deg + 1)th coef 1st record

Z's 1st coef 1st record

...

Z's (deg + 1)th coef 1st record

dX's 1st coef 1st record

...

dX's (deg + 1)th coef 1st record

dY's 1st coef 1st record

...

dY's (deg + 1)th coef 1st record

dZ's 1st coef 1st record

...

dZ's (deg + 1)th coef 1st record

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

MID (record_count)th record

RADIUS (record_count)th record

X's 1st coef (record_count)th record

...

X's (deg + 1)th coef (record_count)th record

Y's 1st coef (record_count)th record

...

Y's (deg + 1)th coef (record_count)th record

Z's 1st coef (record_count)th record

...

Z's (deg + 1)th coef (record_count)th record

dX's 1st coef (record_count)th record

...

dX's (deg + 1)th coef (record_count)th record

dY's 1st coef (record_count)th record

...

dY's (deg + 1)th coef (record_count)th record

dZ's 1st coef (record_count)th record

...

dZ's (deg + 1)th coef (record_count)th record

The epochs array must be of size record_count and contain the epochs (in Julian date TDB) corresponding to each record, it has the following structure :

Epoch of the 1st record

...

Epoch of the (record_count)th record