Changes between Version 21 and Version 22 of udg/ecoms/RPackage/examples/continentalSelection
- Timestamp:
- May 13, 2016 1:39:15 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
udg/ecoms/RPackage/examples/continentalSelection
v21 v22 5 5 {{{ 6 6 #!text/R 7 > ex2 <- loadECOMS(dataset = "CFSv2_seasonal", 8 var = "tasmin", 9 members = 1:2, 10 lonLim = c(-15,35), 11 latLim = c(32, 75), 12 season = c(12,1,2), 13 years = 1991:2000, 14 leadMonth = 3, 15 time = "DD", 16 aggr.d = "min") 7 ex2 <- loadECOMS(dataset = "CFSv2_seasonal", 8 var = "tasmin", 9 members = 1:2, 10 lonLim = c(-15,35), 11 latLim = c(32, 75), 12 season = c(12,1,2), 13 years = 1991:2000, 14 leadMonth = 3, 15 time = "DD", 16 aggr.d = "min") 17 18 ## [2016-05-13 13:26:29] Defining homogeneization parameters for variable "tasmin" 19 ## [2016-05-13 13:26:29] Opening dataset... 20 ## [2016-05-13 13:26:29] The dataset was successfuly opened 21 ## [2016-05-13 13:26:29] Defining geo-location parameters 22 ## [2016-05-13 13:26:30] Defining initialization time parameters 23 ## NOTE: Daily aggregation will be computed from 6-hourly data 24 ## [2016-05-13 13:26:32] Retrieving data subset ... 25 ## [2016-05-13 13:31:41] Done 17 26 }}} 18 27 19 Returning the following on-screen information during the data loading process:20 21 22 {{{23 [2015-05-15 12:39:51] Defining homogeneization parameters for variable "tasmin"24 [2015-05-15 12:39:51] Defining geo-location parameters25 [2015-05-15 12:39:51] Defining initialization time parameters26 NOTE: Daily aggregation will be computed from 6-hourly data27 [2015-05-15 12:39:55] Retrieving data subset ...28 [2015-05-15 12:46:28] Done29 }}}30 28 31 29 The size of the object is 35 Mb: … … 33 31 {{{#!text/R 34 32 print(object.size(ex2), units = "Mb") 33 ## 35.1 Mb 35 34 }}} 36 35 … … 40 39 #!text/R 41 40 str(ex2$Data) 41 ## num [1:2, 1:903, 1:47, 1:54] 21.6 16.1 21.1 17.4 21.5 ... 42 ## - attr(*, "dimensions")= chr [1:4] "member" "time" "lat" "lon" 42 43 }}} 43 44 44 {{{ 45 num [1:2, 1:903, 1:47, 1:54] 21.6 16.1 21.1 17.4 21.5 ... 46 - attr(*, "dimensions")= chr [1:4] "member" "time" "lat" "lon" 47 }}} 45 The attribute dimensions provides important information for data collocation in subsequent manipulations of the loaded grid. 48 46 49 Members can be plotted individually by setting `multi member = TRUE` in the `plotMeanGrid` function of the `downscaleR` package:47 Members can be plotted individually by setting `multi.member = TRUE` in the `plotMeanGrid` function of the `downscaleR` package: 50 48 51 49