Use output of get_env_variables and get_chelsa_current to create an unique file with more than 100 variables. Can be use with files created by get_chelsa_futur.

merge_files(environ_path, climate_path, destination)

Arguments

environ_path

character. Absolute path to environ.tif file, output of get_env_variables.

climate_path

character. Absolute path to current_chelsa.tif file, output of get_chelsa_variables.

destination

character. Absolute path for the output directory.

Value

character. Absolute path to gecevar.tif.

Details

gecevar.tif.aux.xml is an extention of gecevar.tif, it allows to classify soilgrid variable with QGIS with RasterAttributeTable extension. Nevertheless it's cause problems to open it with stars package but not with terra. If you have any problems to open gecevar.tif, you can remove gecevar.tif.aux.xml. This solve all accessibility problems with stars and terra packages.