Skip to content

Commit

Permalink
Merge branch 'hotfix/185'
Browse files Browse the repository at this point in the history
  • Loading branch information
ranghetti committed May 13, 2019
2 parents b5d38ab + 8e8a7b2 commit 58c98d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sen2r.R
Expand Up @@ -1396,7 +1396,7 @@ sen2r <- function(param_list = NULL,
# strftime(safe_getMetadata(s, info="nameinfo")$sensing_datetime, "%Y-%m-%d")
# }) %in% as.character(d),
as.Date(
gsub("^S2[AB]\\_MSIL[12][AC]\\_([0-9]{8})T.+$", "\\1", names(s2_list_l2a)),
gsub("^S2[AB]\\_MSIL[12][AC]\\_([0-9]{8})T.+$", "\\1", name),
"%Y%m%d"
) %in% d, # less meticulous, but faster
]
Expand Down

0 comments on commit 58c98d9

Please sign in to comment.