Description Usage Arguments Value Examples
View source: R/get_TerraBella_scene_date.R
Parse the date out of a TerraBella .tif filename
1 | get_TerraBella_scene_date(tifname)
|
tifname |
Character vector of TerraBella filename with or without path. e.g. 's02_20150525T110213Z_MS-0000020736-0000000000.tif' |
A dateframe with a Date object (rawdate) and a character variable (sensornr) giving the sensor nr
1 2 3 4 5 6 7 8 9 10 | ## Not run:
fnames <- list.files('X:/Imagery/Granadilla/Skybox')
fnames <- fnames[grep('tif',list.files('X:/Imagery/Granadilla/Skybox'))]
fnames <- fnames[substr(fnames,nchar(fnames)-3,nchar(fnames)) == ".tif"]
imdates <- get_TerraBella_scene_date(fnames)
win.graph(w = 12, h=5)
graphics::hist(imdates, breaks = 'months', format = "%b %Y", freq = T)
axis.Date(4, at = "2015-01-01")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.