Learn R Programming

sits (version 1.12.0)

sits_config: Reads a configuration file and loads it in the main environment

Description

Reads a user-specified configuration file, located in a "config.yml" file in the working directory. If this file is not found, reads a default package configuration file. By default, the sits configuration file "config.yml" is located at the directory "extdata" of the package. The configuration file is an YAML file that should provide at least the following parameters:

default: ts_servers : - "WTSS" - "SATVEG" WTSS_server : "http://www.dpi.inpe.br/tws/wtss" SATVEG_server : "https://www.satveg.cnptia.embrapa.br" SATVEG_account : "/satvegws/ws/perfil/ZW46IXzr4pRzJlX/"

To see the contents of the configuration file, please use sits_show_config.

Usage

sits_config()

Arguments

Value

A list with the configuration parameters used by sits.

Examples

Run this code
# NOT RUN {
config_sits <- sits_config()
# }

Run the code above in your browser using DataLab