Learn R Programming

sits (version 0.13.0)

config_functions: Get values from config file

Description

Functions that get values from config file.

Usage

.config_file()

.config_user_file()

.config_get(key, default = NULL)

.config_names(key)

.config_aws_default_region(source, collection)

.config_aws_endpoint(source, collection)

.config_aws_request_payer(source, collection)

.config_bands(source, collection, ..., fn_filter = NULL, add_cloud = TRUE)

.config_bands_reap( source, collection, key, ..., bands = NULL, fn_filter = NULL, add_cloud = TRUE, default = NULL )

.config_bands_band_name(source, collection, ..., bands = NULL)

.config_bands_resolutions( source, collection, ..., bands = NULL, fn_filter = NULL, add_cloud = TRUE )

.config_cloud()

.config_cloud_values(source, collection)

.config_cloud_interp_values(source, collection)

.config_collections(source)

.config_gtiff_default_options()

.config_local_file_extensions()

.config_memory_bloat()

.config_palettes()

.config_palette_colors(labels, ..., palette = "default")

.config_processing_bloat()

.config_rstac_limit()

.config_raster_pkg()

.config_sources()

.config_source_url(source)

.config_source_service(source)

.config_source_s3class(source)

Arguments

key

Character that represents which key is to be fetched from the config file.

default

Default value if the specified key is not found.

source

Source of data cube

collection

Collection to be searched in the data source.

...

Additional parameters.

fn_filter

Filter function that will be applied in one key from config file.

add_cloud

A logical parameter that indicates the addition of cloud band information in the return of a function.

labels

Vector with labels.

data

A sits data cube.

pallete

The palette that should be chosen based on the configuration file.

simplify

A logical value that specifies whether the return should be in vector form, if true, or list form, if false. Default value is FALSE.

Value

Functions that search for values from a key or collection return atomic values. Check functions return invisible null values or give an error.