time_gradual_change_check

Detect sudden jumps and oscillations in time series data.

541|171|Updated May 3, 2018
One-click install
npx skills add https://github.com/cas-bigdatalab/piflow --skill time-gradual-change-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: time_gradual_change_check
Source: https://github.com/cas-bigdatalab/piflow/tree/main/workspace/skills/time_gradual_change_check
Command: npx skills add https://github.com/cas-bigdatalab/piflow --skill time-gradual-change-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill detects anomalies in time series data by identifying sudden jumps and oscillations in the data, helping users maintain the quality and consistency of their time series data.

Core Features & Use Cases

  • Sudden Jump Detection: Identifies points where the change in data exceeds a specified threshold.
  • Oscillation Detection: Detects patterns of repeated rise and fall within a specified window.
  • Use Case: For instance, when monitoring sensor data, this Skill can alert you to sudden spikes or oscillations that may indicate a malfunction or other issue.

Quick Start

Run the time_gradual_change_check skill with the following command:

python scripts/time_gradual_change_check.py \
    --input_path /path/to/input.csv \
    --output_path /path/to/output.csv \
    --check_field temperature \
    --time_field timestamp \
    --time_format "%Y-%m-%d %H:%M:%S" \
    --jump_threshold 10.0 \
    --qc_mark QC0017 \
    --mark_field_name QC0000

Frequently Asked Questions about time_gradual_change_check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect sudden jumps and oscillations in time series data?

Time series anomaly detection identifies sudden jumps by checking if data changes exceed a set threshold, and detects oscillations by finding repeated rise-and-fall patterns within a specified window to maintain data smoothness.

What is the best way to check time series data quality for sensor monitoring?

Checking time series data quality for sensor monitoring involves detecting sudden spikes and directional oscillations that may indicate malfunctions, ensuring the consistency and smoothness of the readings over time.

Can I use Python to detect time series anomalies from an Excel file?

Yes, you can use Python to detect time series anomalies from Excel, CSV, TSV, and SPSS file formats by specifying the input path, target data field, time field, and format in the script.

How do I configure the jump threshold for time series anomaly detection?

You configure the jump threshold for time series anomaly detection by setting a specific parameter in the Python script, defining the maximum allowed data change before flagging a sudden jump anomaly.

Does time series anomaly detection work with custom timestamp formats?

Yes, time series anomaly detection works with custom timestamp formats by passing a specific time_format string parameter to parse the time_field accurately during script execution.

What are the limitations of using Python for time series smoothness detection?

Limitations of Python time series smoothness detection include requiring a local Python execution environment and predefined numerical thresholds to accurately identify jumps and oscillations without semantic context.