Changes between Version 1 and Version 2 of udg/ecoms/RPackage/authentication


Ignore:
Timestamp:
Apr 9, 2013 6:38:39 PM (9 years ago)
Author:
juaco
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • udg/ecoms/RPackage/authentication

    v1 v2  
    11The SPECS-EUPORIAS Data Portal is based on a password-protected THREDDS data server providing metadata and data access to a set of geo-referenced atmospheric variables using OPeNDAP and other remote data access protocols. Therefore, before accessing the data, authentication is required at the SPECS-EUPORIAS Data Portal.
    22
    3 Within a R session, this step can be easily accomplished assuming that we already have a valid username and password. To this aim, in the following lines we illustrate how to proceed using the R-to-Java interface provided by the package rJava, which need to be installed and loaded before proceeding (For more information on the authentication procedure you can go to the following link:[http://www.unidata.ucar.edu/software/netcdf-java/v4.3/javadocAll/ucar/nc2/util/net/HTTPBasicProvider.html].
     3Within a R session, this step can be easily accomplished assuming that we already have a valid username and password. To this aim, in the following lines we illustrate how to proceed using the R-to-Java interface provided by the package rJava (For more information on the authentication procedure you can go to the following link:[http://www.unidata.ucar.edu/software/netcdf-java/v4.3/javadocAll/ucar/nc2/util/net/HTTPBasicProvider.html].
    44
    55
    66{{{
    7 > library(rJava)
    87> username <- "myUsername" # This is a character string with the username
    98> password <- "myPassword" # This is a character string with the password