Modified solarspline for use with ncdf4 file format