pyacs.gts.lib.primitive.add_obs module

pyacs.gts.lib.primitive.add_obs.add_obs(self, date, NEUSNSESUCNECNUCEU, in_place=False, check=True, verbose=False)[source]

Add observation(s) as DN, DE, DU to a time series.

Parameters:
  • date (float or list or ndarray) – Date(s) in decimal year.

  • NEUSNSESUCNECNUCEU (list or ndarray) – Values to add: at least NEU (North, East, Up). Optional: SN, SE, SU, CNE, CNU, CEU (standard deviations and correlations). If not provided, SN=SE=SU=0.001, CNE=CNU=CEU=0.

  • in_place (bool, optional) – If True, add to current Gts; if False, return a new Gts.

  • check (bool, optional) – Check time order and duplicate dates.

  • verbose (bool, optional) – Verbose mode.

Returns:

New Gts or the modified Gts if in_place.

Return type:

Gts

Notes

If .data_xyz exists, it will be set to None for consistency.