# Changes between Version 39 and Version 40 of udg/ecoms/RPackage/examples

Ignore:
Timestamp:
Jan 16, 2014 6:58:01 PM (8 years ago)
Comment:

--

### Legend:

Unmodified
 v39 The following examples are partly based on locally stored data. Only the loadSeasonalForecast function does not require locally stored datasets because it works by remotely accessing the System4 databases stored in the SPECS-EUPORIAS Data Server (in this case a valid username and password are required though, as detailed [https://www.meteo.unican.es/trac/meteo/wiki/SpecsEuporias/RPackage/Authentication Authentication section]). Therefore, it is recommended that the [https://www.meteo.unican.es/trac/meteo/raw-attachment/wiki/SpecsEuporias/meteoR_v1_0.zip meteoR_v1_0.zip] file is downloaded and unzipped in a convenient directory before starting. Please follow the [wiki:SpecsEuporias/RPackage/Requirements instructions]. The following examples are partly based on locally stored data. Only the loadSeasonalForecast function does not require locally stored datasets because it works by remotely accessing the System4 databases stored in the SPECS-EUPORIAS Data Server (in this case a valid username and password are required though, as detailed [https://www.meteo.unican.es/trac/meteo/wiki/EcomsUdg/RPackage/Authentication Authentication section]). Therefore, it is recommended that the [https://www.meteo.unican.es/trac/meteo/raw-attachment/wiki/EcomsUdg/meteoR_v1_0.zip meteoR_v1_0.zip] file is downloaded and unzipped in a convenient directory before starting. Please follow the [wiki:./RPackage/Requirements instructions]. = loadSeasonalForecast In the next lines we describe an illustrative example of the loadSeasonalForecast function. '''Note that a valid username and password are required''' in order to access the SPECS-EUPORIAS Data Server, as detailed [https://www.meteo.unican.es/trac/meteo/wiki/SpecsEuporias/RPackage/Authentication here]. We will retrieve System4 simulation data for the Iberian Peninsula, considering mean surface temperature for January and the first simulation member, for the 10-year period 1990-1999. This simple example has been chosen because of the fast data access (note that this also depends on the connection speed). Using a standard broadband connection, loading the following dataset took approximately 19 seconds: In the next lines we describe an illustrative example of the loadSeasonalForecast function. '''Note that a valid username and password are required''' in order to access the SPECS-EUPORIAS Data Server, as detailed [https://www.meteo.unican.es/trac/meteo/wiki/EcomsUdg/RPackage/Authentication here]. We will retrieve System4 simulation data for the Iberian Peninsula, considering mean surface temperature for January and the first simulation member, for the 10-year period 1990-1999. This simple example has been chosen because of the fast data access (note that this also depends on the connection speed). Using a standard broadband connection, loading the following dataset took approximately 19 seconds: {{{ Data are now ready for analysis into our R session. Note that we have set the standard.vars argument to TRUE, and we have specified a path to the dictionary, a file with extension ''.dic'', whose aim is to translate the original variable stored in the dataset (in this case in Kelvin instead of Celsius). More details on the use of the dictionary are provided in [wiki:SpecsEuporias/RPackage this section]. Data are now ready for analysis into our R session. Note that we have set the standard.vars argument to TRUE, and we have specified a path to the dictionary, a file with extension ''.dic'', whose aim is to translate the original variable stored in the dataset (in this case in Kelvin instead of Celsius). More details on the use of the dictionary are provided in [wiki:./RPackage this section]. {{{