padre_craft.io.aws_db#

Provides functions to upload data to the time series database for display

Functions

record_dirlist(this_dirlist)

Record directory listing summary data (file sizes and counts) to AWS.

record_housekeeping(hk_ts, data_type)

Record housekeeping time series data to AWS TimeStream database.

record_orbit(padre_orbit_ts)

Send the orbit time series to AWS.

padre_craft.io.aws_db.record_dirlist(this_dirlist: DirList) None[source]#

Record directory listing summary data (file sizes and counts) to AWS.

This function converts a DirList into summary time series for file sizes and file counts, then uploads those summaries to the time series database.

Parameters:

this_dirlist (DirList) – Directory listing to be summarized into file size and file count time series for upload.

padre_craft.io.aws_db.record_housekeeping(hk_ts: TimeSeries, data_type: str) None[source]#

Record housekeeping time series data to AWS TimeStream database. This function processes and stores housekeeping telemetry data, with special handling for MEDDEA data.

Parameters:
  • hk_ts (TimeSeries) – The housekeeping time series data to be recorded. The original time series is not modified; a copy is created for processing.

  • data_type (str) – The type of data being recorded (e.g., “meddea”). This determines the processing pipeline applied to the data.

padre_craft.io.aws_db.record_orbit(padre_orbit_ts: TimeSeries) None[source]#

Send the orbit time series to AWS.