Description Usage Arguments Details Value Examples
This method determines and corrects a multiplicative bias to the satellite data (gpm time-series).
1 | bias_correct(gauge.sp, gauge.ts, gpm.sp, gpm.ts)
|
gauge.sp |
A SpatialPointsDataFrame object containing the gauge locations and additional gauge attributes. |
gauge.ts |
A zoo object containing the gauge observations. |
gpm.sp |
A SpatialPointsDataFrame object containing the locations and numeric identifiers of the GPM-IMERG pixels. |
gpm.ts |
A zoo object containing the gpm-imerg observations. |
At every time-step, the ratio of the mean of all active recording gauges to the mean of all corresponding, colocated gpm pixels within the domain is determined. This ratio is then applied to all (gauged and ungauged) GPM pixels at that time-step. Depending on the completeness of the gauge records the number of active recording gauges at a particular time-step may vary, which will impact in the accuracy of the results.
Object gpm.ts
A zoo object identical in dimension and format to the input gpm.ts with bias corrected values.
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(gpm) # STFDF object with gpm imerg observations
data(gauges) # STFDF object with gauge observations
gauges <- colocate(gauges,gpm,resolution=0.1,longlat=TRUE)
gauge.sp <- gauges@sp
gauge.ts <- as(gauges[,,1],"xts")
colnames(gauge.ts) <- gauge.sp$estacion
gpm.sp <- gpm@sp
gpm.ts <- as(gpm[,,1],"xts")
colnames(gpm.ts) <- gpm.sp$estacion
gauge.list <- combine_gauges(gauge.sp,gauge.ts)
gauge.sp <- gauge.list$sp
gauge.ts <- gauge.list$ts
gpm.bc.ts <- bias_correct(gauge.sp,gauge.ts,gpm.sp,gpm.ts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.