added leading zero to weeknumbers so mosaics van be found for week numbers smaller then 9
This commit is contained in:
parent
2fd4f70abe
commit
9f60d3db8a
|
|
@ -76,9 +76,10 @@ today_minus_1 <- as.character(ymd(today) - 7)
|
|||
today_minus_2 <- as.character(ymd(today) - 14)
|
||||
today_minus_3 <- as.character(ymd(today) - 21)
|
||||
|
||||
week_minus_1 <- week(today_minus_1)
|
||||
week_minus_2 <- week(today_minus_2)
|
||||
week_minus_3 <- week(today_minus_3)
|
||||
file_path_tif <- here(weekly_CI_mosaic ,paste0("week_", sprintf("%02d", dates$week), "_", dates$year, ".tif"))
|
||||
week_minus_1 <- sprintf("%02d", week(today_minus_1))
|
||||
week_minus_2 <- sprintf("%02d", week(today_minus_2))
|
||||
week_minus_3 <- sprintf("%02d", week(today_minus_3))
|
||||
|
||||
year = year(today)
|
||||
year_2 = year(today_minus_1)
|
||||
|
|
|
|||
7
renv/.gitignore
vendored
7
renv/.gitignore
vendored
|
|
@ -1,7 +0,0 @@
|
|||
library/
|
||||
local/
|
||||
cellar/
|
||||
lock/
|
||||
python/
|
||||
sandbox/
|
||||
staging/
|
||||
1180
renv/activate.R
1180
renv/activate.R
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue