senGetOrbit: Return the relative orbit of the Sentinel-2 satellite

Description Usage Arguments Details Value Examples

View source: R/senGetPathRow.R

Description

senGetOrbit reads the official name of a Sentinel image and returns relative orbit, in "NXXXX_RYYY" or "RYYY" format (Sentinel namig convention).

Usage

1

Arguments

str

the full path(s) or official name(s) of the Sentinel images from which the orbits are retrieved.

Details

Get information about the relative orbits here.

Value

an string with the relative orbit of the image in "NXXXX_RYYY" or "RYYY" format, depending on the version of name convention.

Examples

1
2
3
4
5
#example of getting date from Sentinel2 image name
files.sen <- c("S2A_MSIL1C_20170102T111442_N0204_R137_T30TWN_20170102T111441.SAFE",
               "S2A_OPER_PRD_MSIL1C_PDMC_20160308T090616_R094_V20160305T110109_20160305T110109")
tile.sen <- senGetOrbit(files.sen)
print(tile.sen)

RGISTools documentation built on July 2, 2020, 3:58 a.m.