Skip to content

Commit fc0e8ef

Browse files
committed
And more
1 parent e655706 commit fc0e8ef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/src/gallery/L8cube_img/remotes_L8_cube_img.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Here we will show examples of the type of things we can do with Landsat 8 data s
33

44
The data was downloaded from [EarthExplorer](https://earthexplorer.usgs.gov) and comprises the scene with Product ID ```LC08_L1TP_204033_20210525_20210529_02_T1```.
55

6-
The _cube_ was made with this instructions (but they would only work if you had the scene files in your computer and **must** adapt for your own path). Note that in ```template``` bellow, the ```C:/v/LC08_L1TP_204033_20210525_20210529_02_T1/``` is the file path and the ```LC08_L1TP_204033_20210525_20210529_02_T1_B``` is the part of the file names that is common to all band names.
6+
The _cube_ was made with this instructions (but they would only work if you had the scene files in your computer and **must** adapt for your own path). Note that in ```tplt``` bellow, the ```C:/v/LC08_L1TP_204033_20210525_20210529_02_T1/``` is the file path and the ```LC08_L1TP_204033_20210525_20210529_02_T1_B``` is the part of the file names that is common to all band names.
77

8-
```template = C:/v/LC08_L1TP_204033_20210525_20210529_02_T1/LC08_L1TP_204033_20210525_20210529_02_T1_B;```
8+
```tplt = C:/v/LC08_L1TP_204033_20210525_20210529_02_T1/LC08_L1TP_204033_20210525_20210529_02_T1_B;```
99

10-
```cube = cutcube(bands=[2,3,4,5,6,7,10], template=template, region=(485490,531060,4283280,4330290), save="LC08_L1TP_20210525_02_cube.tiff")```
10+
```cube = cutcube(bands=[2,3,4,5,6,7,10], template=tplt, region=(485490,531060,4283280,4330290), save="LC08_L1TP_20210525_02_cube.tiff")```
1111

1212
This creates a 3D GeoTIFF file with the companion MTL file saved in it as Metadata. We can see the band info by running the ```reportbands``` function. That information is quite handy because we can, for example, just refer to the _red_ band and it will figure out which layer of the cube contains the Red band.
1313

0 commit comments

Comments
 (0)