Skip to content

Commit 0108552

Browse files
add sample websocket data from SMI
1 parent d56b414 commit 0108552

163 files changed

Lines changed: 15959 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"event_name": "on_event",
3+
"sequence": 1,
4+
"timestamp": 1752778513.088269,
5+
"subscription_segments": [
6+
"28b16c3a-5ec4-4c83-8e2e-7e52df303914",
7+
"streams",
8+
"primary",
9+
"pil2M_image"
10+
],
11+
"callback_data": {
12+
"sequence": 1,
13+
"timestamp": "2025-07-17T18:54:58.944142",
14+
"data_source": {
15+
"id": 134,
16+
"structure_family": "array",
17+
"structure": {
18+
"data_type": {
19+
"endianness": "little",
20+
"kind": "i",
21+
"itemsize": 4,
22+
"dt_units": null
23+
},
24+
"chunks": [
25+
[
26+
1
27+
],
28+
[
29+
1679
30+
],
31+
[
32+
1475
33+
]
34+
],
35+
"shape": [
36+
1,
37+
1679,
38+
1475
39+
],
40+
"dims": null,
41+
"resizable": false
42+
},
43+
"mimetype": "multipart/related;type=image/tiff",
44+
"parameters": {},
45+
"assets": [
46+
{
47+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000000.tiff",
48+
"is_directory": false,
49+
"parameter": "data_uris",
50+
"num": 1,
51+
"id": null
52+
}
53+
],
54+
"management": "external"
55+
}
56+
}
57+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"event_name": "on_event",
3+
"sequence": 2,
4+
"timestamp": 1752778513.089476,
5+
"subscription_segments": [
6+
"28b16c3a-5ec4-4c83-8e2e-7e52df303914",
7+
"streams",
8+
"primary",
9+
"pil2M_image"
10+
],
11+
"callback_data": {
12+
"sequence": 2,
13+
"timestamp": "2025-07-17T18:54:59.988713",
14+
"data_source": {
15+
"id": 134,
16+
"structure_family": "array",
17+
"structure": {
18+
"data_type": {
19+
"endianness": "little",
20+
"kind": "i",
21+
"itemsize": 4,
22+
"dt_units": null
23+
},
24+
"chunks": [
25+
[
26+
1,
27+
1
28+
],
29+
[
30+
1679
31+
],
32+
[
33+
1475
34+
]
35+
],
36+
"shape": [
37+
2,
38+
1679,
39+
1475
40+
],
41+
"dims": null,
42+
"resizable": false
43+
},
44+
"mimetype": "multipart/related;type=image/tiff",
45+
"parameters": {},
46+
"assets": [
47+
{
48+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000000.tiff",
49+
"is_directory": false,
50+
"parameter": "data_uris",
51+
"num": 1,
52+
"id": null
53+
},
54+
{
55+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000001.tiff",
56+
"is_directory": false,
57+
"parameter": "data_uris",
58+
"num": 2,
59+
"id": null
60+
}
61+
],
62+
"management": "external"
63+
}
64+
}
65+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"event_name": "on_event",
3+
"sequence": 3,
4+
"timestamp": 1752778513.090116,
5+
"subscription_segments": [
6+
"28b16c3a-5ec4-4c83-8e2e-7e52df303914",
7+
"streams",
8+
"primary",
9+
"pil2M_image"
10+
],
11+
"callback_data": {
12+
"sequence": 3,
13+
"timestamp": "2025-07-17T18:55:01.016591",
14+
"data_source": {
15+
"id": 134,
16+
"structure_family": "array",
17+
"structure": {
18+
"data_type": {
19+
"endianness": "little",
20+
"kind": "i",
21+
"itemsize": 4,
22+
"dt_units": null
23+
},
24+
"chunks": [
25+
[
26+
1,
27+
1,
28+
1
29+
],
30+
[
31+
1679
32+
],
33+
[
34+
1475
35+
]
36+
],
37+
"shape": [
38+
3,
39+
1679,
40+
1475
41+
],
42+
"dims": null,
43+
"resizable": false
44+
},
45+
"mimetype": "multipart/related;type=image/tiff",
46+
"parameters": {},
47+
"assets": [
48+
{
49+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000000.tiff",
50+
"is_directory": false,
51+
"parameter": "data_uris",
52+
"num": 1,
53+
"id": null
54+
},
55+
{
56+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000001.tiff",
57+
"is_directory": false,
58+
"parameter": "data_uris",
59+
"num": 2,
60+
"id": null
61+
},
62+
{
63+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000002.tiff",
64+
"is_directory": false,
65+
"parameter": "data_uris",
66+
"num": 3,
67+
"id": null
68+
}
69+
],
70+
"management": "external"
71+
}
72+
}
73+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"event_name": "on_event",
3+
"sequence": 4,
4+
"timestamp": 1752778513.090803,
5+
"subscription_segments": [
6+
"28b16c3a-5ec4-4c83-8e2e-7e52df303914",
7+
"streams",
8+
"primary",
9+
"pil2M_image"
10+
],
11+
"callback_data": {
12+
"sequence": 4,
13+
"timestamp": "2025-07-17T18:55:02.057303",
14+
"data_source": {
15+
"id": 134,
16+
"structure_family": "array",
17+
"structure": {
18+
"data_type": {
19+
"endianness": "little",
20+
"kind": "i",
21+
"itemsize": 4,
22+
"dt_units": null
23+
},
24+
"chunks": [
25+
[
26+
1,
27+
1,
28+
1,
29+
1
30+
],
31+
[
32+
1679
33+
],
34+
[
35+
1475
36+
]
37+
],
38+
"shape": [
39+
4,
40+
1679,
41+
1475
42+
],
43+
"dims": null,
44+
"resizable": false
45+
},
46+
"mimetype": "multipart/related;type=image/tiff",
47+
"parameters": {},
48+
"assets": [
49+
{
50+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000000.tiff",
51+
"is_directory": false,
52+
"parameter": "data_uris",
53+
"num": 1,
54+
"id": null
55+
},
56+
{
57+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000001.tiff",
58+
"is_directory": false,
59+
"parameter": "data_uris",
60+
"num": 2,
61+
"id": null
62+
},
63+
{
64+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000002.tiff",
65+
"is_directory": false,
66+
"parameter": "data_uris",
67+
"num": 3,
68+
"id": null
69+
},
70+
{
71+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000003.tiff",
72+
"is_directory": false,
73+
"parameter": "data_uris",
74+
"num": 4,
75+
"id": null
76+
}
77+
],
78+
"management": "external"
79+
}
80+
}
81+
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"event_name": "on_event",
3+
"sequence": 5,
4+
"timestamp": 1752778513.091499,
5+
"subscription_segments": [
6+
"28b16c3a-5ec4-4c83-8e2e-7e52df303914",
7+
"streams",
8+
"primary",
9+
"pil2M_image"
10+
],
11+
"callback_data": {
12+
"sequence": 5,
13+
"timestamp": "2025-07-17T18:55:03.115436",
14+
"data_source": {
15+
"id": 134,
16+
"structure_family": "array",
17+
"structure": {
18+
"data_type": {
19+
"endianness": "little",
20+
"kind": "i",
21+
"itemsize": 4,
22+
"dt_units": null
23+
},
24+
"chunks": [
25+
[
26+
1,
27+
1,
28+
1,
29+
1,
30+
1
31+
],
32+
[
33+
1679
34+
],
35+
[
36+
1475
37+
]
38+
],
39+
"shape": [
40+
5,
41+
1679,
42+
1475
43+
],
44+
"dims": null,
45+
"resizable": false
46+
},
47+
"mimetype": "multipart/related;type=image/tiff",
48+
"parameters": {},
49+
"assets": [
50+
{
51+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000000.tiff",
52+
"is_directory": false,
53+
"parameter": "data_uris",
54+
"num": 1,
55+
"id": null
56+
},
57+
{
58+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000001.tiff",
59+
"is_directory": false,
60+
"parameter": "data_uris",
61+
"num": 2,
62+
"id": null
63+
},
64+
{
65+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000002.tiff",
66+
"is_directory": false,
67+
"parameter": "data_uris",
68+
"num": 3,
69+
"id": null
70+
},
71+
{
72+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000003.tiff",
73+
"is_directory": false,
74+
"parameter": "data_uris",
75+
"num": 4,
76+
"id": null
77+
},
78+
{
79+
"data_uri": "file://localhost/nsls2/data/smi/proposals/2025-2/pass-317903/assets/pilatus2m-1/2025/07/17/bccebdb3-761f-49dd-8854_000004.tiff",
80+
"is_directory": false,
81+
"parameter": "data_uris",
82+
"num": 5,
83+
"id": null
84+
}
85+
],
86+
"management": "external"
87+
}
88+
}
89+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"event_name": "on_new_run",
3+
"sequence": 1,
4+
"timestamp": 1752778495.415306,
5+
"subscription_segments": null,
6+
"callback_data": {
7+
"sequence": 52,
8+
"timestamp": "2025-07-17T18:54:55.390275",
9+
"key": "28b16c3a-5ec4-4c83-8e2e-7e52df303914",
10+
"data_sources": []
11+
}
12+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"event_name": "on_new_stream",
3+
"sequence": 1,
4+
"timestamp": 1752778498.318191,
5+
"subscription_segments": [
6+
"28b16c3a-5ec4-4c83-8e2e-7e52df303914",
7+
"streams"
8+
],
9+
"callback_data": {
10+
"sequence": 1,
11+
"timestamp": "2025-07-17T18:54:56.260830",
12+
"key": "baseline",
13+
"data_sources": []
14+
}
15+
}

0 commit comments

Comments
 (0)