S2-Planetary-Element-Sniffer (S2 行星要素场嗅探器)

S2-SWM Planetary Element Sniffer. Converts macro meteorological data (NOAA/OpenWeather) and geographical elevation into a localized 14-dimensional spatial tensor for any outdoor P-SSSU.

Install

openclaw plugins install clawhub:s2-planetary-element-sniffer

🌪️ S2-Planetary-Element-Sniffer (S2 行星要素场嗅探器)

【Breathing Life into the Planetary Grid】

A coordinate is just a sterile mathematical point. To calculate causality within the Taohuayuan World Model (S2-SWM), an OpenClaw Agent needs the physical state of the space.

The S2-Planetary-Element-Sniffer bridges the gap between macro-meteorology and micro-spatial computing. It acts as an atmospheric probe, dynamically converting Earth's regional environmental sources (weather forecasts) into the strict 14-Dimensional Spatial Tensor required by a P-SSSU (Pseudo-Smart Space Standard Unit).

🧠 Core Physics Engine (核心物理转化)

This plugin does not merely parrot "It's 25°C outside." It performs real-time physics compensation based on the S2 6-Segment Hex-Code:

  1. Altitude Compensation: Automatically calculates barometric pressure decay and applies the standard atmospheric lapse rate (-6.5°C per 1000m).
  2. Momentum Vectorization: Converts abstract "wind direction" into calculable X, Y, Z velocity vectors for spatial fluid dynamics.
  3. The 14D Tensor Assembly: Generates the complete spectrum of SSSU elements, including Temperature, Lux, CO2, Acoustic background, and Electromagnetic fields.

🛠️ Tool Usage (使用说明)

Tool: sniff_planetary_elements

When your Agent encounters an outdoor scenario (e.g., assessing the environment for an open window or a drone flight), pass the S2 Hex-Code to this tool.

Input Example:

{
  "s2_hex_code": "(41.89246200°, 12.48532500°, 45.0m, 1000, 1000, 1200)"
}

Output Example (The 14D Tensor):
The engine will return the exact physical state inside that 2x2x2.4m box hovering 45 meters above the Roman Forum:
JSON

{
  "01_Temperature_C": 18.76,
  "03_Pressure_hPa": 1007.85,
  "05_Wind_Velocity_X_mps": -2.47,
  "06_Wind_Velocity_Y_mps": -2.47,
  "13_Gravity_mps2": 9.80651
  // ... (Full 14 elements returned)
}