pyacs.gts.lib.tensor_ts.sgts2obs_tensor module
- pyacs.gts.lib.tensor_ts.sgts2obs_tensor.sgts2tensor(sgts, rounding='day', verbose=False)[source]
Return a 3D tensor of all Gts (.data ENU) and site codes.
- Parameters:
sgts (Sgts) – Sgts instance.
rounding (str, optional) – ‘day’, ‘hour’, or ‘second’; dates rounded accordingly (default ‘day’).
verbose (bool, optional) – Verbose mode.
- Returns:
(T_OBS, np_names, np_date_s). T_OBS[k, i, 0] is East at k-th date for site i (mm).
- Return type:
tuple
Notes
T_OBS[k, i, 0] returns the East value at the k-th date for site i in mm.