Changes between Version 3 and Version 4 of udg/ecoms/RPackage/examples/pointSelection


Ignore:
Timestamp:
Jun 17, 2014 12:16:43 PM (7 years ago)
Author:
juaco
Comment:

--

Legend:

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

    v3 v4  
     1= Single point selection
    12
     3The following call to `loadECOMS` will load a time series of surface (2m) instantaneous temperature (`var = "tas"`, as defined in the [wiki vocabulary])at 12:00 for the coordinate -3.7E 40.4N, (`lonLim = -3.7`, `latLim = 40.4`) corresponding to the city of Madrid (Spain), corresponding to the summer (JJA, `season = 6:8`) of 2001 (`years = 2001`) as forecasted the previous March (`leadMonth = 2`) by the CFSv2 hindcast (`dataset = "CFSv2_seasonal_16"`). We will select the first 10 members (`members = 1:10`):
    24
     5{{{
     6> ex.point <- loadECOMS(dataset = "CFSv2_seasonal_16", var = "tas", members = 1:10, lonLim = -3.7, latLim = 40.4, season = 6:8, years = 2001, leadMonth = 2, time = "12")
     7[2014-06-17 12:08:27] Defining homogeneization parameters for variable "tas"
     8[2014-06-17 12:08:27] Defining geo-location parameters
     9[2014-06-17 12:08:27] Defining initialization time parameters
     10[2014-06-17 12:08:31] Retrieving data subset ...
     11[2014-06-17 12:09:11] Done
     12> print(object.size(ex.point))
     1332088 bytes
     14}}}
    315
     16The returned object contains all the necessary information for data representation (geo-location, time ...). In the next lines we plot the loaded time series for each member:
     17
     18{{{
     19}}}
    420
    521