set_credentials {smosr} | R Documentation |
Set credentials to access Barcelona Expert Center (BEC) server
Description
To use some functionalities of smosr
package (e.g. access the server
or download data to a local computer), the user should first register at
Barcelona Expert Center (BEC) webpage. This function allows the authenticated
users to set their BEC credentials (username and password) for the current R
session which are used internally in find_smos()
and download_smos()
.
Usage
set_credentials(username, password)
Arguments
username |
a character string containing BEC server username. |
password |
a character string containing BEC server password. |
Details
If you do not have your BEC login details yet, please register on https://bec.icm.csic.es/bec-ftp-service-registration/.
Value
a character string with the inputs pasted together in the format
required by find_smos()
and
download_smos()
.
Examples
## Not run:
set_credentials("username", "password")
## End(Not run)
[Package smosr version 1.0.1 Index]