PotentialCoefficients2BlockMeanTimeSplines

This program is a simplified version of Gravityfield2TimeSplines. It reads a series of potential coefficient files (inputfilePotentialCoefficients) and creates a time splines file with spline degree 0 (temporal block means) or degree 1 (linear splines). The time intervals in which the potential coefficients are valid are defined between adjacent points in time given by splineTimeSeries. Therefore one more point in time is needed than the number of potential coefficient files for degree 0.

The coefficients can be filtered with filter. If set the expansion is limited in the range between minDegree and maxDegree inclusivly. The coefficients are related to the reference radius R and the Earth gravitational constant GM.

This program is useful e.g. to combine monthly GRACE solutions to one file.

NameTypeAnnotation
outputfileTimeSplines
filename
outputfileTimeSplinesCovariance
filenameonly the variances are saved
inputfilePotentialCoefficients
filename
filter
sphericalHarmonicsFilter
minDegree
uint
maxDegree
uint
GM
doubleGeocentric gravitational constant
R
doublereference radius
removeMean
booleanremove the temporal mean of the series before estimating the splines
interpolate
booleaninterpolate missing files
splineTimeSeries
timeSeriesinput files must be between points in time
splineDegree
uintdegree of splines