Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wcornwell committed Nov 20, 2024
1 parent bac16d0 commit ab2d149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
out.width = "90%"
)
library(saltbush)
Expand Down Expand Up @@ -39,7 +39,7 @@ library(saltbush)
1. **Direct the package to the input files** in this case we use a drone image from Fowlers Gap, NSW, Australia

the example data in this case is 5 bands sampled from a drone
```{r, message=FALSE}
```{r, message=FALSE, results='hide'}
create_multiband_image("inst/extdata/create_multiband_image/",
c('blue', 'green', 'red', 'red_edge', 'nir'),
output_dir = tempdir(),
Expand Down
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,7 @@ create_multiband_image("inst/extdata/create_multiband_image/",
make_plot = TRUE, return_raster = TRUE)
```

<img src="man/figures/README-unnamed-chunk-2-1.png" width="100%" />

#> class : SpatRaster
#> dimensions : 1466, 1466, 5 (nrow, ncol, nlyr)
#> resolution : 0.01519, 0.01519 (x, y)
#> extent : 566521.2, 566543.5, 6561293, 6561316 (xmin, xmax, ymin, ymax)
#> coord. ref. : WGS 84 / UTM zone 54S (EPSG:32754)
#> sources : blue.tif
#> green.tif
#> red_edge.tif
#> ... and 2 more source(s)
#> names : blue, green, red, red_edge, nir
#> min values : 0.01265331, 0.01101853, 0.01276734, 0.01221969, 0.01856168
#> max values : 0.23392145, 0.20722562, 0.22469597, 0.17767203, 0.21024320
<img src="man/figures/README-unnamed-chunk-2-1.png" width="90%" />

this can be combined with an area of interest mask:

Expand Down

0 comments on commit ab2d149

Please sign in to comment.