"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
" warnings.warn(\n"
]
}
],
"source": [
"\n",
"stream_1_1 = joule.api.DataStream(\"stream_1_1\",elements=[joule.api.Element(x) for x in \"xyz\"])\n",
"*Update element name, data stream name, and event stream attribute*\n",
"\n",
"<pre>\n",
"root *\n",
"├── folder_1 *\n",
"│ ├── stream_1_1: float32_3\n",
"│ └── stream_1_2: uint8_3 *\n",
"├── folder_2 *\n",
"│ └── stream_2_1: int16_2\n",
"│ └── transients (event stream) *\n",
"│ └── loads (event stream)\n",
"├── folder_3 *\n",
"│ ├── folder_3_1 * \n",
"│ │ └── stream_3_1_1: int32_3 *\n",
"│ └── stream_3_1: uint16_3\n",
"└── folder_4\n",
" └── folder_4_1\n",
"</pre>\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "ac75335d-cd3d-46a5-8aa5-0fd4555efc79",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
"*Move stream between two folders and move folder between two folders*\n",
"\n",
"<pre>\n",
"root\n",
"├── folder_1\n",
"│ ├── stream_1_1: float32_3\n",
"│ └── <== removed ==>\n",
"├── folder_2\n",
"│ └── stream_2_1: int16_2\n",
"│ └── transients (event stream)\n",
"│ └── loads (event stream)\n",
"├── <== removed ==>\n",
"└── folder_4\n",
" └── folder_4_1\n",
" │ └── updated_name: uint8_3 <== moved to\n",
" └── folder_3 <== moved to\n",
" ├── folder_3_1\n",
" │ └── stream_3_1_1: int32_3\n",
" └── stream_3_1: uint16_3\n",
"</pre>\n"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "3c127916-ae78-461a-bf3d-f0af66829e14",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
" warnings.warn(\n"
]
}
],
"source": [
"new_data_stream = joule.api.DataStream(\"new_data_stream\",elements=[joule.api.Element(f\"{i}\") for i in range(1)])\n",
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
" warnings.warn(\n"
]
}
],
"source": [
"\n",
"stream_1_1 = joule.api.DataStream(\"stream_1_1\",elements=[joule.api.Element(x) for x in \"xyz\"])\n",
"*Update element name, data stream name, and event stream attribute*\n",
"\n",
"<pre>\n",
"root *\n",
"├── folder_1 *\n",
"│ ├── stream_1_1: float32_3\n",
"│ └── stream_1_2: uint8_3 *\n",
"├── folder_2 *\n",
"│ └── stream_2_1: int16_2\n",
"│ └── transients (event stream) *\n",
"│ └── loads (event stream)\n",
"├── folder_3 *\n",
"│ ├── folder_3_1 * \n",
"│ │ └── stream_3_1_1: int32_3 *\n",
"│ └── stream_3_1: uint16_3\n",
"└── folder_4\n",
" └── folder_4_1\n",
"</pre>\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "ac75335d-cd3d-46a5-8aa5-0fd4555efc79",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
"/home/ubuntu/joule/lib/python3.10/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings\n",
" warnings.warn(\n"
]
}
],
"source": [
"new_data_stream = joule.api.DataStream(\"new_data_stream\",elements=[joule.api.Element(f\"{i}\") for i in range(1)])\n",