get_soils_raster: Download single SLGA soils raster subset

View source: R/get_data.R

get_soils_rasterR Documentation

Download single SLGA soils raster subset

Description

Retrieves SLGA gridded soil data in raster format from WCS service.

Usage

get_soils_raster(
  product = NULL,
  attribute = NULL,
  component = NULL,
  depth = NULL,
  aoi = NULL,
  skip_val = FALSE
)

Arguments

product

Character, one of the options from column 'Short_Name' in slga_product_info, where Type = 'Soil'.

attribute

Character, one of the options from column 'Code' in slga_attribute_info

component

Character, one of 'VAL', 'CLO', or 'CHI'.

depth

Integer, a number from 1 to 6.

aoi

Vector of WGS84 coordinates defining a rectangular area of interest. The vector may be specified directly in the order xmin, xmax, ymin, ymax, or the function can derive an aoi from the boundary of an 'sf' or 'raster' object.

skip_val

boolean, filthy hack for point data requests, prevents double validation expanding bbox size

Value

Raster dataset for a single combination of product, attribute, component, depth, and area of interest.

Note

aoi's wider or taller than 1 decimal degree are retrievable, but be aware that download file size will be large. If you want a dataset that covers more than ~3x3', may be faster to download the full GeoTIFF from the CSIRO Data Access Portal and crop out your AOI using GDAL.


obrl-soil/slga documentation built on Feb. 3, 2024, 4:31 a.m.