search for: hrs_since_base

Displaying 2 results from an estimated 2 matches for "hrs_since_base".

2017 Sep 13
2
compounding precipitation based on whether falls within a day
...39;d like to get a 3D array called prec*_daily* that has dimension prec*_daily*[21, 3, 4], where 21 is the number of days and the value in say prec*_daily*[1,x,y] is equal to prec[1,x,y] + prec[2,x,y] + ... + prec[24,x,y] ndays <- 21 base_time <- as.character('2001-12-31T23:00:00Z') hrs_since_base <- 1 # adding an extra second to the end b/c I'm paranoid about the midnight time stamp not being explicit beg_time <- as.POSIXct(base_time, format = "%Y-%m-%dT%H:%M:%SZ") + (hrs_since_base * 60 * 60) + 1 max_hr_since <- 24 * ndays end_time <- as.POSIXct(base_time, forma...
2017 Sep 13
0
compounding precipitation based on whether falls within a day
...c*_daily* that has dimension prec*_daily*[21, 3, > 4], > where 21 is the number of days and the value in say prec*_daily*[1,x,y] is > equal to prec[1,x,y] + prec[2,x,y] + ... + prec[24,x,y] > > > ndays <- 21 > base_time <- as.character('2001-12-31T23:00:00Z') > hrs_since_base <- 1 > > # adding an extra second to the end b/c I'm paranoid about the midnight > time stamp not being explicit > beg_time <- as.POSIXct(base_time, format = "%Y-%m-%dT%H:%M:%SZ") + > (hrs_since_base * 60 * 60) + 1 > > max_hr_since <- 24 * ndays > end_...