Skip to content

Commit ec0575c

Browse files
committed
Tweaks on the L8cube tutorial.
1 parent eb9ba38 commit ec0575c

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

docs/src/gallery/L8cube_img/remotes_L8_cube_img.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ 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).
6+
The _cube_ was made with this instructions (but they would only work if you had the scene files in your computer and
7+
**must** adapt for your own path). Note that in ``template`` bellow, the ```C:/v/LC08_L1TP_204033_20210525_20210529_02_T1/```
8+
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.
79

8-
```path = C:/v/LC08_L1TP_204033_20210525_20210529_02_T1/LC08_L1TP_204033_20210525_20210529_02_T1_B;```
10+
```template = C:/v/LC08_L1TP_204033_20210525_20210529_02_T1/LC08_L1TP_204033_20210525_20210529_02_T1_B;```
911

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

12-
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.
14+
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
15+
```reportbands``` function. That information is quite handy because we can, for example, just refer to the _red_ band and it
16+
will figure out which layer of the cube contains the Red band.
1317

1418

1519
```julia
@@ -25,7 +29,8 @@ reportbands("c:/v/LC08_L1TP_20210525_02_cube.tiff")
2529
"Band 10 - Thermal IR 1 [10.6-11.19]"
2630
```
2731

28-
So to start our exploration the best is to generate a true color image. The ```truecolor``` function knows how to do that automatically including the histogram contrast stretch.
32+
So to start our exploration the best is to generate a true color image. The ```truecolor``` function knows how to do that
33+
automatically including the histogram contrast stretch.
2934

3035
```julia
3136
Irgb = truecolor("c:/v/LC08_L1TP_20210525_02_cube.tiff");

0 commit comments

Comments
 (0)