Update A chat about saving data

This commit is contained in:
arrell_c 2024-12-10 13:48:15 +01:00
parent 0f68e4ee24
commit 65d012aa8f

View File

@ -1,7 +1,7 @@
# **How to Save Data at SwissFEL: A Totally Serious Guide** # **How to Save Data at SwissFEL: A totally serious guide**
**Hey, look at my nice data!** **Hey, look at my nice data!**
*What a load of BS!* *What a load of bs!*
**Oy, no need to be rude!** **Oy, no need to be rude!**
*Im not! I mean, what a load of **Beam Synchronous** data!* *Im not! I mean, what a load of **Beam Synchronous** data!*
@ -12,14 +12,14 @@
**I used this cool command-line script `bs...`** **I used this cool command-line script `bs...`**
*Ooooh... Im going to stop you right there.* *Ooooh... Im going to stop you right there.*
**But my BS command works; there must be a problem with the sources!** **But my bs command works; there must be a problem with the sources!**
*Calm down, detective, try saving each source individually with the `bs` command...* *Calm down, detective, try saving each source individually with the `bs` command...*
**OK, hang on... what the?! They *both* save fine on their own!** **OK, hang on... what the?! They *both* save fine on their own!**
*Yep, the issue is when you try and save sources from different IOCs/devices with the `bs` command. The data is taken from the **dispatcher**. If the two sources dont arrive at the dispatcher within a small time window, only the first source is sent in the message. Different sources arrive at the dispatcher at **different times**.* *Yep, the issue is when you try and save sources from different IOCs/devices with the `bs` command. The data is taken from the **dispatcher**. If the two sources dont arrive at the dispatcher within a small time window, only the first source is sent in the message. Different sources arrive at the dispatcher at **different times**.*
**What type of BS is that?! I can't wait and wait...** **What type of BS is that?! I can't wait and wait...**
*Good question. Some BS data comes from **pipelines**, where calculations and moving data around **takes time**. Youre not just saving numbers—youre saving processed results.* *Good question. Some bs data comes from **pipelines**, where calculations and moving data around **takes time**. Youre not just saving numbers—youre saving processed results.*
**Pipelines?! I want data, not plumbing problems!** **Pipelines?! I want data, not plumbing problems!**
*Think of pipelines as hardworking elves doing data analysis behind the scenes. No pipelines, more work for you.* *Think of pipelines as hardworking elves doing data analysis behind the scenes. No pipelines, more work for you.*
@ -49,4 +49,3 @@
**❌ Dont Say:** **❌ Dont Say:**
*Beam synchronous PV* *Beam synchronous PV*