From 372d3665a89c2c104570c9c6ab01481f9112d979 Mon Sep 17 00:00:00 2001 From: boB Rudis Date: Thu, 25 Jan 2018 22:03:19 -0500 Subject: [PATCH] terminator_lat_lon() didn't pass params through to terminator() --- R/terminator_lat_lon.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/terminator_lat_lon.R b/R/terminator_lat_lon.R index 0c2fe2f..2f712f6 100644 --- a/R/terminator_lat_lon.R +++ b/R/terminator_lat_lon.R @@ -9,7 +9,7 @@ terminator_lat_lon <- function(day = Sys.Date(), hrs_from=0, hrs_to=23, hrs_by=1 purrr::map_df(seq(hrs_from, hrs_to, hrs_by), ~{ terminator( as.integer((as.POSIXct(day) + (60*60*.x))), - -lon_from, lon_to, lon_by + lon_from, lon_to, lon_by ) -> out out$frame <- .x out