rain | R Documentation |
function that converts model accumulated precipitation to hourly precipitation.
rain(rainc, rainnc, verbose = TRUE)
rainc |
data.frame or SpatRaster with RAINC variable |
rainnc |
data.frame or SpatRaster with RAINNC variable |
verbose |
set TRUE to display additional information |
data.frame time and the hourly precipitation or SpatRaster hourly precipitation
times <- seq(as.POSIXct('2024-01-01',tz = 'UTC'),
as.POSIXct('2024-01-01 04:00:00',tz = 'UTC'),
by = 'hour')
RNC <- data.frame(date = times, aa = c(0.149,0.149,0.149,0.149,0.149))
RNNC <- data.frame(date = times, aa = c(0.919,1.0,1.1,1.1,2.919))
rain(rainc = RNC, rainnc = RNNC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.