{"api_version":2,"name":"piflow_average_temperature","version":"1.0","role":"transform","type":"sdk","description":"Convert Fahrenheit readings to Celsius and compute one mean per sensor and one-second event-time window.","icon":{"path":"M3 5h18v14H3zM3 10h18M9 5v14"},"inputs":{"source":{"representations":["records"],"formats":[]}},"outputs":{"result":{"view":"records"}},"parameters":{"type":"object","properties":{},"required":[],"additionalProperties":false},"documentation":{"inputs":{"source":"Arrow records. The example uses id, timestamp, temperature."},"outputs":{"result":"Records stream. Convert Fahrenheit readings to Celsius and compute one mean per sensor and one-second event-time window."},"parameters":{},"example_job":"name: Average sensor temperature by second\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/piflow/source.jsonl\n    view: records\n- id: process\n  operator: piflow_average_temperature@1.0\n  inputs:\n    source: read_source\n  params: {}\n- id: receive\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"execution":{"executor":"python","entrypoint":"xstream_piflow_average_temperature","config":{}},"source_public":true,"provenance":{"license":"Apache-2.0","source_repository":"https://github.com/cas-bigdatalab/piflow","source_revision":"6adc7ef5c9d7a4a636e4730ebcc1fa7e88397abe","build_instructions":"Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.","source_archive":{"sha256":"7408727ec5282e4951eeabc0b121614bc106ac571b47063da0164235af868ea8","size":17108,"filename":"piflow_average_temperature-sources.zip"},"license_file":{"sha256":"2a45ff20671144c1709be48b36f5e55d97145c767dae1cf91965cbd2cf625768","size":1317,"filename":"LICENSE.txt"}},"artifact":{"sha256":"0d35ed5bf484b48762656391fd78775d1f47cff3f58c838c6bcf49bc86755a7e","size":36597,"filename":"operator.zip"},"categories":["PiFlow","Statistics"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795081219705},"publication":{"author":"dacp-examples","submitted_at_ms":1795081215062,"approved_at_ms":1795081219705,"last_submitted_at_ms":1795081215062,"last_approved_at_ms":1795081219705},"download_count":4}