Skip to contents

A function to bulk download all required TIFF files for multiple soil attributes at multiple depths from the SLGA data resource. TIFF files are saved in a specified directory which can be used to point the get.S.ECs() to if used repeatedly. This will require a fast internet connection and the files will total approximately 60Gb.

Usage

dl.slga(dir, ncores = NULL, verbose = TRUE, dlprompt = FALSE)

Arguments

dir

Directory path that soil TIFF files will be saved in.

ncores

Number (integer) of cores to use for parallel processing. Use 1 to run sequentially in series. The default (NULL) will use the maximum available cores. If running in parallel, an output log text file will be created in the working directory.

verbose

Logical. Should progress be printed? Default = TRUE.

dlprompt

Logical. Should the user be prompted to approve the total download size? Default = FALSE.

Value

No value is returned but files should be saved in the dir directory path.

References

Grundy, M. J., Rossel, R. A. V., Searle, R. D., Wilson, P. L., Chen, C., Gregory, L. J., Grundy, M. J., Rossel, R. A. V., Searle, R. D., Wilson, P. L., Chen, C., & Gregory, L. J. (2015). Soil and Landscape Grid of Australia. Soil Research, 53(8), 835–844.

See also

Author

Nick Fradgley