Changes between Version 8 and Version 9 of udg/ecoms/RPackage/examples/continentalSelection
- Timestamp:
- Jun 17, 2014 5:05:23 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
udg/ecoms/RPackage/examples/continentalSelection
v8 v9 65 65 [[Image(image-20140617-163609.png)]] 66 66 67 Note that WFDEI provides data for land areas only. 67 Note that WFDEI provides data for land areas only, and its spatial resolution is much higher that CFS (1º vs 0.5º). In order to compare both datasets, it is first necessary to put them in the same grid (i.e., to interpolate). We use the bilinear interpolation algorithm of package `fields` to this aim, included in the function `interp.surface.grid`: 68 69 {{{ 70 > obs.regridded <- interp.surface.grid(obj = list(x = x.obs, y = y.obs, z = observed), grid.list = list(x = x, y = y)) 71 > par(mfrow = c(1,2)) 72 > image.plot(member1 - obs.regridded$z, asp = 1, main = "Bias Member 1") 73 > image.plot(member2 - obs.regridded$z, asp = 1, main = "Bias Member 2") 74 }}} 75 76 [[Image(image-20140617-170438.png)]] 68 77 69 78 … … 72 81 73 82 74 In the particular case of global domain selections (`lonLim` and `latLim` arguments set to `NULL`), it is recommended that only single-member, single-year selections are performed, due to the large size of this type of requests.83 Finally, in the particular case of global domain selections (`lonLim` and `latLim` arguments set to `NULL`), it is recommended that only single-member, single-year selections are performed, due to the large size of this type of requests. 75 84 76 85