Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ To access the Sentinel Time Series data in python you can use :
|
|
| 54 |
|
| 55 |
```
|
| 56 |
import h5py
|
| 57 |
-
with h5py.File(path/to/h5
|
| 58 |
sen_1_asc_data = h5file['sen-1-asc-data'][:]
|
| 59 |
sen_1_asc_products = h5file['sen-1-asc-products'][:]
|
| 60 |
sen_1_des_data = h5file['sen-1-des-data'][:]
|
|
|
|
| 54 |
|
| 55 |
```
|
| 56 |
import h5py
|
| 57 |
+
with h5py.File(path/to/file.h5, 'r') as h5file:
|
| 58 |
sen_1_asc_data = h5file['sen-1-asc-data'][:]
|
| 59 |
sen_1_asc_products = h5file['sen-1-asc-products'][:]
|
| 60 |
sen_1_des_data = h5file['sen-1-des-data'][:]
|