pyacs.gts.Sgts_methods.to_tspck module

pyacs.gts.Sgts_methods.to_tspck.to_tspck(self, rounding='day', save=None, verbose=False)[source]

returns a pickle with the following numpy array

T_OBS: observation array of dim 3. T_OBS[k,i,0] returns the East value at the k_th date for site i in mm np_names_t_obs: np_names_t_obs[i] is the code of site i np_obs_date_s: time series dates in pyacs seconds np_coo: for site i, np_coo[i,0] is longitude, np_coo[i,1] latitude and np_coo[i,1] ellipsoidal height

Parameters:
  • sgts – Sgts instance

  • rounding – ‘day’,’hour’,’second’. all dates will be rounded to the nearest chosen day, hour or second. default is ‘day’

  • save – output file name for writing. Extension is .tspck

  • verbose – boolean for verbose mode

Returns:

object

Note:

tspck file to be read with read_tspck