powered by
The function muldpm multiplies the value by days per month.
muldpm
muldpm(x)# S4 method for Raster muldpm(x)# S4 method for data.table muldpm(x)# S4 method for character muldpm(x)
# S4 method for Raster muldpm(x)
# S4 method for data.table muldpm(x)
# S4 method for character muldpm(x)
Raster* object; data.table
Raster* object; data.table (see details); filename (character, see details)
`x` object with monthly data in [units/day]
If `x` is a data.table, its columns should be named: "lon", "lat", "date", and "value"
If `x` is a filename, it should point to a *.nc file.
if (FALSE) { tavg_brick <- raster::brick('terraclimate_tavg.nc') pet_od <- pet(method = "od", tavg = tavg_brick) pet_od <- muldpm(pet_od) }
Run the code above in your browser using DataLab