# Changes between Version 53 and Version 54 of udg/ecoms/RPackage/examples

Ignore:
Timestamp:
Jun 17, 2014 2:00:17 PM (8 years ago)
Comment:

--

### Legend:

Unmodified
 v53 = Introduction and usage recommendations In this section a number of examples for data download and visualization/analysis are presented within the R environment, through the loadECOMS function. Note that this section is still under construction and permanent update. Further examples will be added soon. In this section a number of examples for data download and visualization/analysis are presented within the R environment, through the loadECOMS function. Currently, there are four different seasonal to annual hindcasts and one observational gridded dataset available at '''ECOMS-UDG'''. All of them are available through the common interface loadECOMS, and therefore the argument values may vary slightly. For instance, arguments members and leadMonth do not apply in the case of the observational gridded dataset WFDEI (see [http://meteo.unican.es/ecoms-udg/RPackage/Examples/globalSelection Example 3]), and hence ignored. Similarly, the output data structure may vary consequently, and forecast data types include the initialization dates and the names of the chosen members, while this information is not included for other types of gridded data. The examples given have been kept deliberately simple in order to preserve a moderate output size (<150 Mb) and reasonable execution times (<10 minutes), although larger (thus more time-consuming) requests can be done. The limitations in data loading depend essentially on two factors: The examples given have been kept deliberately simple in order to preserve a moderate output size (<150 Mb) and reasonable execution times (<10 minutes), although larger (and hence more time-consuming) requests can be done. The limitations in data loading depend essentially on two factors: 1. '''Object size''': Requesting too large objects may deplete the available memory. Currently R runs on 32- and 64-bit operating systems, and most 64-bit OSes (including Linux, Solaris, Windows and OS X) can run either 32- or 64-bit builds of R. The memory limits depends mainly on the build, but for a 32-bit build of R on Windows they also depend on the underlying OS version. For more details, type in the R console help("Memory-limits") * '''Global''' queries: It is recommended that in this case single-member, single-year selections are done. Note that this is just an approximate recommendation. Object sizes also depend on the spatial resolution (CFS has approximately 1º res., while System4 is 0.75º and WFDEI 0.5º). Similarly, while GCM data will normally return data for the whole Earth (including oceans) for most variables, many observational datasets (like WFDEI) provide only data for land areas. = Examples * [wiki:./pointSelection EXAMPLE 1: Single Point Selections] * [wiki:./continentalSelection EXAMPLE 2: Continental Domain Selections] * [wiki:./Drift EXAMPLE 3: Global Domain Selections] * [wiki:./globalSelection EXAMPLE 3: Global Domain Selections]