Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## SimpleS2
|
| 2 |
+
|
| 3 |
+
To load the data:
|
| 4 |
+
```python
|
| 5 |
+
import json
|
| 6 |
+
import pickle
|
| 7 |
+
|
| 8 |
+
# Read cube
|
| 9 |
+
with open('cubo1_pickle', 'rb') as file:
|
| 10 |
+
data = pickle.load(file).to_dataset(dim='band')
|
| 11 |
+
|
| 12 |
+
# Read metadata
|
| 13 |
+
with open('cubo1.json') as f:
|
| 14 |
+
meta = json.load(f)
|
| 15 |
+
```
|