These functions load and show sits configurations.
sits_config()
loads the default configuration file and
the user provided configuration file. The final configuration is
obtained by overriding the options by the values provided in
processing_bloat
, rstac_pagination_limit
,
raster_api_package
, and gdal_creation_options
parameters.
sits_config_show()
prints the current sits
configuration options. To show specific configuration options for
a source, a collection, or a palette, user can inform the corresponding
keys to source
, collection
, and palette
parameters.
sits_config(
processing_bloat = NULL,
rstac_pagination_limit = NULL,
raster_api_package = NULL,
gdal_creation_options = NULL,
reset = FALSE
)sits_config_show(source = NULL, collection = NULL, palette = NULL)
A numeric
value to estimate
growth size of R memory relative to block size.
A numeric
value indicating number of
items returned by STAC service.
A character
value indicating a
supported raster handling package.
A character
vector specifying GDAL
creation option for GeoTiff image format.
A logical
value indicating if current
configuration options must be cleaned before
load config files. Default FALSE
.
A character
value indicating a source
key entry to be shown in detail.
A character
value used in conjunction
with source
parameter to indicate a collection key entry to be shown
in detail.
A character
value indicating a palette
to be shown in detail.
sits_config()
returns a list
containing the final
configuration options.
sits_config_show()
returns a list
containing the respective
configuration printed in the console.
Users can provide additional configuration files, by specifying the
location of their file in the environmental variable
SITS_CONFIG_USER_FILE
.
To see the key entries and contents of the current configuration values,
use sits_config_show()
.