pyacs.gts.Sgts_methods.to_tsnpz module

pyacs.gts.Sgts_methods.to_tsnpz.to_tsnpz(self, ofile, rounding='day', verbose=False)[source]

Write Sgts to an npz file.

Arrays saved: T_OBS (3D, mm), np_names_t_obs (site codes), np_obs_date_s (pyacs seconds), np_coo (lon, lat, height per site).

Parameters:
  • ofile (str) – Output file path (.npz).

  • rounding (str, optional) – ‘day’, ‘hour’, or ‘second’ for date rounding. Default is ‘day’.

  • verbose (bool, optional) – Verbose mode. Default is False.

Return type:

None