lsGetPathRow | R Documentation |
lsGetPathRow
reads the official name of a Landsat-7 or Landsa-8 image
and returns the tile’s path and row number, in "PPPRRR" format (Landsat
naming convention).
lsGetPathRow(str)
str |
the full path(s) or official name(s) of the Landsat-7 or Landsa-8 images from which the tile’s path and row numbers are retrieved. |
a string with the path and row in "PPPRRR
" format.
# example of getting date from Landsat-8 image name str <- c("LE72000302011066ASN00", "LE72000302011066ASN00") pr <- lsGetPathRow(str) print(pr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.