We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553facf commit 43a5d9fCopy full SHA for 43a5d9f
.gitignore
@@ -26,3 +26,4 @@ uv.lock
26
test_scripts/data
27
tests/example_qubes
28
**/*venv*
29
+*.txt
mars_scanner/scan.py
@@ -0,0 +1,19 @@
1
+from qubed import Qube
2
+
3
+qube = Qube.empty()
4
5
+with open("mars.list.efas.2", "r") as file:
6
+ lines = file.readlines()
7
8
+for line in lines:
9
+ clean_line = line.strip()
10
+ datacube = {
11
+ k: v.split("/") for k, v in (pair.split("=") for pair in clean_line.split(","))
12
+ }
13
+ datacube.pop("hdateyear") # Can we do this to get more compression?
14
+ subqube = Qube.from_datacube(datacube)
15
+ qube = qube | subqube
16
17
+qube = qube.compress()
18
19
+print(qube)
0 commit comments