Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -57,14 +57,14 @@ To access the Sentinel Time Series data in python you can use :
|
|
| 57 |
|
| 58 |
```
|
| 59 |
import h5py
|
| 60 |
-
with h5py.File(path/to/h5/file, 'r') as
|
| 61 |
-
sen_1_asc_data =
|
| 62 |
-
sen_1_asc_products =
|
| 63 |
-
sen_1_des_data =
|
| 64 |
-
sen_1_des_products =
|
| 65 |
-
sen_2_data =
|
| 66 |
-
sen_2_products =
|
| 67 |
-
sen_2_masks =
|
| 68 |
|
| 69 |
```
|
| 70 |
****
|
|
|
|
| 57 |
|
| 58 |
```
|
| 59 |
import h5py
|
| 60 |
+
with h5py.File(path/to/h5/file, 'r') as h5file:
|
| 61 |
+
sen_1_asc_data = h5file['sen-1-asc-data'][:]
|
| 62 |
+
sen_1_asc_products = h5file['sen-1-asc-products'][:]
|
| 63 |
+
sen_1_des_data = h5file['sen-1-des-data'][:]
|
| 64 |
+
sen_1_des_products = h5file['sen-1-des-products'][:]
|
| 65 |
+
sen_2_data = h5file['sen-2-data'][:]
|
| 66 |
+
sen_2_products = h5file['sen-2-products'][:]
|
| 67 |
+
sen_2_masks = h5file['sen-2-masks'][:]
|
| 68 |
|
| 69 |
```
|
| 70 |
****
|