Changes between Version 21 and Version 22 of udg/ecoms/RPackage/examples/continentalSelection


Ignore:
Timestamp:
May 13, 2016 1:39:15 PM (6 years ago)
Author:
juaco
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • udg/ecoms/RPackage/examples/continentalSelection

    v21 v22  
    55{{{
    66#!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")
     7ex2 <- 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
    1726}}}
    1827
    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 parameters
    25 [2015-05-15 12:39:51] Defining initialization time parameters
    26 NOTE: Daily aggregation will be computed from 6-hourly data
    27 [2015-05-15 12:39:55] Retrieving data subset ...
    28 [2015-05-15 12:46:28] Done
    29 }}}
    3028
    3129The size of the object is 35 Mb:
     
    3331{{{#!text/R
    3432print(object.size(ex2), units = "Mb")
     33## 35.1 Mb
    3534}}}
    3635
     
    4039#!text/R
    4140str(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"
    4243}}}
    4344
    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 }}}
     45The attribute dimensions provides important information for data collocation in subsequent manipulations of the loaded grid.
    4846
    49 Members can be plotted individually by setting `multimember = TRUE` in the `plotMeanGrid` function of the `downscaleR` package:
     47Members can be plotted individually by setting `multi.member = TRUE` in the `plotMeanGrid` function of the `downscaleR` package:
    5048
    5149