# NOT RUN {
#example of getting date from Sentinel2 image name
str <- c("S2A_MSIL1C_20170102T111442_N0204_R137_T30TWN_20170102T111441.SAFE",
"S2A_OPER_PRD_MSIL1C_PDMC_20160308T090616_R094_V20160305T110109_20160305T110109")
pr <- senGetOrbit(str)
print(pr)
# }
Run the code above in your browser using DataLab