pyacs.gts.lib.format.read_sol module

Read SGC sol format for time series.

pyacs.gts.lib.format.read_sol.read_sol(self, tsdir='.', ifile=None, verbose=False)[source]

Read SGC sol file and load the time series into this Gts instance.

Parameters:
  • tsdir (str, optional) – Directory of sol/pos files. Default is ‘.’.

  • ifile (str, optional) – Path to the sol file to load. If None, a file CODE*.pos may be used.

  • verbose (bool, optional) – If True, print progress. Default is False.

Returns:

self (data, code, X0, Y0, Z0, t0 are populated from file).

Return type:

Gts

Notes

A pos/sol file contains (almost) all needed info. If ifile is None, read_pos looks for a file named CODE*.pos.