From f4715abb36cf7fff564d33fa4b1520701aa6e876 Mon Sep 17 00:00:00 2001 From: Dylan Beaudette Date: Tue, 10 Nov 2026 13:01:35 -0800 Subject: [PATCH 1/3] updating SoilWeb WCS specification handling --- R/ISSR800.R | 110 +- R/WCS-utils.R | 2812 +++++++++++++++++++++--------------------- R/mukey-WCS.R | 37 +- R/soilColorWCS.R | 157 +-- man/ISSR800.wcs.Rd | 96 +- man/mukey.wcs.Rd | 28 +- man/soilColor.wcs.Rd | 148 +-- 7 files changed, 1709 insertions(+), 1679 deletions(-) diff --git a/R/ISSR800.R b/R/ISSR800.R index d1724508..7c8d40b8 100644 --- a/R/ISSR800.R +++ b/R/ISSR800.R @@ -23,55 +23,55 @@ #' #' Variables available from this WCS can be queried using \code{WCS_details(wcs = 'ISSR800')}. #' -#' |var |crs |description | -#' |:----------------|:---------|:------------------------------------------------------| -#' |caco3_kg_sq_m |EPSG:5070 |Total CaCO3 (kg/m^2) | -#' |cec_025cm |EPSG:5070 |CEC at pH 7 0-25cm depth (cmol[+]/kg) | -#' |cec_050cm |EPSG:5070 |CEC at pH 7 0-50cm depth (cmol[+]/kg) | -#' |cec_05cm |EPSG:5070 |CEC at pH 7 0-5cm depth (cmol[+]/kg) | -#' |clay_025cm |EPSG:5070 |clay percent 0-25cm depth | -#' |clay_05cm |EPSG:5070 |clay percent 0-5cm depth | -#' |clay_2550cm |EPSG:5070 |clay percent 25-50cm depth | -#' |clay_3060cm |EPSG:5070 |clay percent 30-60cm depth | -#' |drainage_class |EPSG:5070 |Soil Drainage Class | -#' |ec_025cm |EPSG:5070 |EC 0-25cm depth (dS/m) | -#' |ec_05cm |EPSG:5070 |EC 0-5cm depth (dS/m) | -#' |greatgroup |EPSG:5070 |Soil Taxonomy: Greatgroup | -#' |hydgrp |EPSG:5070 |Hydrologic Soil Group | -#' |lcc_irrigated |EPSG:5070 |Land Capability Class, irrigated | -#' |lcc_nonirrigated |EPSG:5070 |Land Capability Class, non-irrigated | -#' |n_components |EPSG:5070 |Number of components per grid cell | -#' |n_polygons |EPSG:5070 |Number of polygons per grid cell | -#' |om_kg_sq_m |EPSG:5070 |Total Soil Organic Matter (kg/m^2) | -#' |paws |EPSG:5070 |total plant available water storage (cm water) | -#' |paws_025cm |EPSG:5070 |plant available water storage 0-25cm depth (cm water) | -#' |paws_050cm |EPSG:5070 |plant available water storage 0-50cm depth (cm water) | -#' |ph_025cm |EPSG:5070 |pH 1:1 H2O 0-25cm depth | -#' |ph_05cm |EPSG:5070 |pH 1:1 H2O 0-5cm depth | -#' |ph_2550cm |EPSG:5070 |pH 1:1 H2O 25-50cm depth | -#' |ph_3060cm |EPSG:5070 |pH 1:1 H2O 30-60cm depth | -#' |sand_025cm |EPSG:5070 |sand percent 0-25cm depth | -#' |sand_05cm |EPSG:5070 |sand percent 0-5cm depth | -#' |sand_2550cm |EPSG:5070 |sand percent 25-50cm depth | -#' |sand_3060cm |EPSG:5070 |sand percent 30-60cm depth | -#' |sar |EPSG:5070 |SAR, entire profile | -#' |series_name |EPSG:5070 |Soil Series Name | -#' |silt_025cm |EPSG:5070 |silt percent 0-25cm depth | -#' |silt_05cm |EPSG:5070 |silt percent 0-5cm depth | -#' |silt_2550cm |EPSG:5070 |silt percent 25-50cm depth | -#' |silt_3060cm |EPSG:5070 |silt percent 30-60cm depth | -#' |soilorder |EPSG:5070 |Soil Taxonomy: Soil Order | -#' |ssurgo_pct |EPSG:5070 |SSURGO data available, fraction of 800x800m grid cell | -#' |statsgo_pct |EPSG:5070 |STATSGO data available, fraction of 800x800m grid cell | -#' |str |EPSG:5070 |Soil Temperature Regime | -#' |suborder |EPSG:5070 |Soil Taxonomy: Suborder | -#' |survey_type |EPSG:5070 |Soil survey data source | -#' |texture_025cm |EPSG:5070 |Soil Texture Class, 0-25cm | -#' |texture_05cm |EPSG:5070 |Soil Texture Class, 0-5cm | -#' |texture_2550cm |EPSG:5070 |Soil Texture Class, 25-50cm | -#' |weg |EPSG:5070 |Wind Erodibility Group | -#' |wei |EPSG:5070 |Wind Erodibility Index | -#' +#' |var |vintage |crs |description | +#' |:----------------|:-------|:---------|:------------------------------------------------------| +#' |caco3_kg_sq_m |FY2027 |EPSG:5070 |Total CaCO3 (kg/m^2) | +#' |cec_025cm |FY2027 |EPSG:5070 |CEC at pH 7 0-25cm depth (cmol[+]/kg) | +#' |cec_050cm |FY2027 |EPSG:5070 |CEC at pH 7 0-50cm depth (cmol[+]/kg) | +#' |cec_05cm |FY2027 |EPSG:5070 |CEC at pH 7 0-5cm depth (cmol[+]/kg) | +#' |clay_025cm |FY2027 |EPSG:5070 |clay percent 0-25cm depth | +#' |clay_05cm |FY2027 |EPSG:5070 |clay percent 0-5cm depth | +#' |clay_2550cm |FY2027 |EPSG:5070 |clay percent 25-50cm depth | +#' |clay_3060cm |FY2027 |EPSG:5070 |clay percent 30-60cm depth | +#' |drainage_class |FY2027 |EPSG:5070 |Soil Drainage Class | +#' |ec_025cm |FY2027 |EPSG:5070 |EC 0-25cm depth (dS/m) | +#' |ec_05cm |FY2027 |EPSG:5070 |EC 0-5cm depth (dS/m) | +#' |greatgroup |FY2027 |EPSG:5070 |Soil Taxonomy: Greatgroup | +#' |hydgrp |FY2027 |EPSG:5070 |Hydrologic Soil Group | +#' |lcc_irrigated |FY2027 |EPSG:5070 |Land Capability Class, irrigated | +#' |lcc_nonirrigated |FY2027 |EPSG:5070 |Land Capability Class, non-irrigated | +#' |n_components |FY2027 |EPSG:5070 |Number of components per grid cell | +#' |n_polygons |FY2027 |EPSG:5070 |Number of polygons per grid cell | +#' |om_kg_sq_m |FY2027 |EPSG:5070 |Total Soil Organic Matter (kg/m^2) | +#' |paws |FY2027 |EPSG:5070 |total plant available water storage (cm water) | +#' |paws_025cm |FY2027 |EPSG:5070 |plant available water storage 0-25cm depth (cm water) | +#' |paws_050cm |FY2027 |EPSG:5070 |plant available water storage 0-50cm depth (cm water) | +#' |ph_025cm |FY2027 |EPSG:5070 |pH 1:1 H2O 0-25cm depth | +#' |ph_05cm |FY2027 |EPSG:5070 |pH 1:1 H2O 0-5cm depth | +#' |ph_2550cm |FY2027 |EPSG:5070 |pH 1:1 H2O 25-50cm depth | +#' |ph_3060cm |FY2027 |EPSG:5070 |pH 1:1 H2O 30-60cm depth | +#' |sand_025cm |FY2027 |EPSG:5070 |sand percent 0-25cm depth | +#' |sand_05cm |FY2027 |EPSG:5070 |sand percent 0-5cm depth | +#' |sand_2550cm |FY2027 |EPSG:5070 |sand percent 25-50cm depth | +#' |sand_3060cm |FY2027 |EPSG:5070 |sand percent 30-60cm depth | +#' |sar |FY2027 |EPSG:5070 |SAR, entire profile | +#' |series_name |FY2027 |EPSG:5070 |Soil Series Name | +#' |silt_025cm |FY2027 |EPSG:5070 |silt percent 0-25cm depth | +#' |silt_05cm |FY2027 |EPSG:5070 |silt percent 0-5cm depth | +#' |silt_2550cm |FY2027 |EPSG:5070 |silt percent 25-50cm depth | +#' |silt_3060cm |FY2027 |EPSG:5070 |silt percent 30-60cm depth | +#' |soilorder |FY2027 |EPSG:5070 |Soil Taxonomy: Soil Order | +#' |ssurgo_pct |FY2027 |EPSG:5070 |SSURGO data available, fraction of 800x800m grid cell | +#' |statsgo_pct |FY2027 |EPSG:5070 |STATSGO data available, fraction of 800x800m grid cell | +#' |str |FY2027 |EPSG:5070 |Soil Temperature Regime | +#' |suborder |FY2027 |EPSG:5070 |Soil Taxonomy: Suborder | +#' |survey_type |FY2027 |EPSG:5070 |Soil survey data source | +#' |texture_025cm |FY2027 |EPSG:5070 |Soil Texture Class, 0-25cm | +#' |texture_05cm |FY2027 |EPSG:5070 |Soil Texture Class, 0-5cm | +#' |texture_2550cm |FY2027 |EPSG:5070 |Soil Texture Class, 25-50cm | +#' |weg |FY2027 |EPSG:5070 |Wind Erodibility Group | +#' |wei |FY2027 |EPSG:5070 |Wind Erodibility Index | +#' #' @note There are still some issues to be resolved related to the encoding of NA Variables with a natural zero (e.g. SAR) have 0 set to NA. #' #' @return `SpatRaster` (or `RasterLayer`) object, or `try-error` if the WCS request fails. @@ -92,9 +92,6 @@ #' @export ISSR800.wcs <- function(aoi, var, res = 800, quiet = FALSE) { - # vintage of source data - .vintage <- 'FY2027' - if (!requireNamespace("terra")) { stop("package 'terra' is required", call. = FALSE) } @@ -109,6 +106,13 @@ ISSR800.wcs <- function(aoi, var, res = 800, quiet = FALSE) { stop('`res` should be within 400 <= res <= 1600 meters') } + # try loading WCS specifications from SoilWeb + .ISSR800.spec <- try(fromJSON('https://casoilresource.lawr.ucdavis.edu/wcs/issr800.json'), silent = TRUE) + + if(inherits(.ISSR800.spec, 'try-error')) { + stop('WCS spec not available', call. = FALSE) + } + # match variable name in catalog var.cat <- sapply(.ISSR800.spec, '[[', 'dsn') var <- match.arg(tolower(var), choices = var.cat) @@ -285,7 +289,7 @@ ISSR800.wcs <- function(aoi, var, res = 800, quiet = FALSE) { } # set metadata - terra::metags(r) <- c(description = var.spec$desc, vintage = .vintage) + terra::metags(r) <- c(description = var.spec$desc, vintage = var.spec$vintage) return(r) } diff --git a/R/WCS-utils.R b/R/WCS-utils.R index c25b253c..f8b0d7dc 100644 --- a/R/WCS-utils.R +++ b/R/WCS-utils.R @@ -11,52 +11,52 @@ # stay in holding pattern until resolved WCS_capabilities <- function(wcs = c('mukey', 'issr800', 'soilcolor')) { - + if (!requireNamespace('xml2')) { stop('please install the package: xml2', call. = FALSE) } - + wcs <- match.arg(wcs) - + .mapfile <- switch( wcs, mukey = 'mukey-wcs', issr800 = 'issr800-wcs', soilcolor = 'soilcolor-wcs' ) - + .u <- sprintf('https://casoilresource.lawr.ucdavis.edu/cgi-bin/mapserv?map=%s&SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCapabilities', .mapfile) - + .xml <- xml2::read_xml(.u) - + .layers <- xml2::xml_find_all(.xml, xpath = '//wcs:CoverageId') - + .res <- xml2::xml_text(xml2::xml_contents(.layers)) - + return(.res) } WCS_describeCoverage <- function(wcs = c('mukey', 'issr800', 'soilcolor'), layer) { - + if (!requireNamespace('xml2')) { stop('please install the package: xml2', call. = FALSE) } - + wcs <- match.arg(wcs) - + .mapfile <- switch( wcs, mukey = 'mukey-wcs', issr800 = 'issr800-wcs', soilcolor = 'soilcolor-wcs' ) - + u <- sprintf( 'https://casoilresource.lawr.ucdavis.edu/cgi-bin/mapserv?map=%s&SERVICE=WCS&VERSION=2.0.1&REQUEST=DescribeCoverage&COVERAGEID=%s', .mapfile, layer ) - + .xml <- xml2::read_xml(u) browser() @@ -84,25 +84,37 @@ WCS_describeCoverage <- function(wcs = c('mukey', 'issr800', 'soilcolor'), layer #' WCS_details(wcs = 'ISSR800') WCS_details <- function(wcs = c('mukey', 'ISSR800', 'soilColor')) { - ## TODO: add md5sum + vintage - # select a WCS wcs <- match.arg(wcs) - spec <- switch(wcs, - 'mukey' = .mukey.spec, - 'ISSR800' = .ISSR800.spec, - 'soilColor' = .soilColor.spec + # normalize to lower case + wcs <- tolower(wcs) + + # load appropriate WCS specifications form SoilWeb + .f <- switch( + wcs, + mukey = 'mukey-grids.json', + issr800 = 'issr800.json', + soilcolor = 'soilcolor.json' ) - ## TODO: spec names / DSN are assumed to be identical - ## it would be nice to allow for more connotative names - # all(names(spec) == sapply(spec, '[[', 'dsn')) + .u <- sprintf("https://casoilresource.lawr.ucdavis.edu/wcs/%s", .f) + + spec <- try( + fromJSON(.u), + silent = TRUE + ) + + if(inherits(spec, 'try-error')) { + stop('WCS spec not available', call. = FALSE) + } + # extract relevant details v <- lapply(spec, function(i) { data.frame( var = i[['dsn']], + vintage = i[['vintage']], crs = i[['crs']], description = i[['desc']] ) @@ -230,1207 +242,1207 @@ WCS_details <- function(wcs = c('mukey', 'ISSR800', 'soilColor')) { } -## moist soil colors -# these are 16bit (unsigned) integers -# these maps all share the same RAT -.soilColorRAT <- 'http://casoilresource.lawr.ucdavis.edu/wcs-files/soilcolor/current/unique-moist-color-LUT.csv' -.soilColor.spec <- list( - - 'pr_sc005cm' = list( - dsn = 'pr_sc005cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 5cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'pr_sc010cm' = list( - dsn = 'pr_sc010cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 10cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'pr_sc015cm' = list( - dsn = 'pr_sc015cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 15cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'pr_sc025cm' = list( - dsn = 'pr_sc025cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 25cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'pr_sc050cm' = list( - dsn = 'pr_sc050cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 50cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'pr_sc075cm' = list( - dsn = 'pr_sc075cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 75cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'pr_sc100cm' = list( - dsn = 'pr_sc100cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 100cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'pr_sc125cm' = list( - dsn = 'pr_sc125cm', - type = 'GEOTIFF_16', - desc = 'Puerto Rico, moist soil colors, 125cm (30m resolution)', - na = 32767, - crs = 'EPSG:32161', - res = 30, - rat = .soilColorRAT - ), - - 'ak_sc005cm' = list( - dsn = 'ak_sc005cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 5cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - 'ak_sc010cm' = list( - dsn = 'ak_sc010cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 10cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - 'ak_sc015cm' = list( - dsn = 'ak_sc015cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 15cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - 'ak_sc025cm' = list( - dsn = 'ak_sc025cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 25cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - 'ak_sc050cm' = list( - dsn = 'ak_sc050cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 50cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - 'ak_sc075cm' = list( - dsn = 'ak_sc075cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 75cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - 'ak_sc100cm' = list( - dsn = 'ak_sc100cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 100cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - 'ak_sc125cm' = list( - dsn = 'ak_sc125cm', - type = 'GEOTIFF_16', - desc = 'Alaska, moist soil colors, 125cm (90m resolution)', - na = 32767, - crs = 'EPSG:3338', - res = 90, - rat = .soilColorRAT - ), - - # these are geographic coordinates, must specify resolution in DD - # approximately 30m - 'pw_sc005cm' = list( - dsn = 'pw_sc005cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 5cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'pw_sc010cm' = list( - dsn = 'pw_sc010cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 10cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'pw_sc015cm' = list( - dsn = 'pw_sc015cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 15cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'pw_sc025cm' = list( - dsn = 'pw_sc025cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 25cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'pw_sc050cm' = list( - dsn = 'pw_sc050cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 50cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'pw_sc075cm' = list( - dsn = 'pw_sc075cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 75cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'pw_sc100cm' = list( - dsn = 'pw_sc100cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 100cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'pw_sc125cm' = list( - dsn = 'pw_sc125cm', - type = 'GEOTIFF_16', - desc = 'Palau, moist soil colors, 125cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277786077614, - rat = .soilColorRAT - ), - - 'hi_sc005cm' = list( - dsn = 'hi_sc005cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 5cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'hi_sc010cm' = list( - dsn = 'hi_sc010cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 10cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'hi_sc015cm' = list( - dsn = 'hi_sc015cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 15cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'hi_sc025cm' = list( - dsn = 'hi_sc025cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 25cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'hi_sc050cm' = list( - dsn = 'hi_sc050cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 50cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'hi_sc075cm' = list( - dsn = 'hi_sc075cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 75cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'hi_sc100cm' = list( - dsn = 'hi_sc100cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 100cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'hi_sc125cm' = list( - dsn = 'hi_sc125cm', - type = 'GEOTIFF_16', - desc = 'Hawaii, moist soil colors, 125cm (30m resolution)', - na = 32767, - crs = 'EPSG:6628', - res = 30, - rat = .soilColorRAT - ), - - 'gu_sc005cm' = list( - dsn = 'gu_sc005cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 5cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'gu_sc010cm' = list( - dsn = 'gu_sc010cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 10cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'gu_sc015cm' = list( - dsn = 'gu_sc015cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 15cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'gu_sc025cm' = list( - dsn = 'gu_sc025cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 25cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'gu_sc050cm' = list( - dsn = 'gu_sc050cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 50cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'gu_sc075cm' = list( - dsn = 'gu_sc075cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 75cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'gu_sc100cm' = list( - dsn = 'gu_sc100cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 100cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'gu_sc125cm' = list( - dsn = 'gu_sc125cm', - type = 'GEOTIFF_16', - desc = 'Guam, moist soil colors, 125cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277776150910, - rat = .soilColorRAT - ), - - 'as_sc005cm' = list( - dsn = 'as_sc005cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 5cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'as_sc010cm' = list( - dsn = 'as_sc010cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 10cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'as_sc015cm' = list( - dsn = 'as_sc015cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 15cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'as_sc025cm' = list( - dsn = 'as_sc025cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 25cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'as_sc050cm' = list( - dsn = 'as_sc050cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 50cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'as_sc075cm' = list( - dsn = 'as_sc075cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 75cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'as_sc100cm' = list( - dsn = 'as_sc100cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 100cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'as_sc125cm' = list( - dsn = 'as_sc125cm', - type = 'GEOTIFF_16', - desc = 'American Samoa, moist soil colors, 125cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277756381372, - rat = .soilColorRAT - ), - - 'mp_sc005cm' = list( - dsn = 'mp_sc005cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 5cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - 'mp_sc010cm' = list( - dsn = 'mp_sc010cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 10cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - 'mp_sc015cm' = list( - dsn = 'mp_sc015cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 15cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - 'mp_sc025cm' = list( - dsn = 'mp_sc025cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 25cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - 'mp_sc050cm' = list( - dsn = 'mp_sc050cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 50cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - 'mp_sc075cm' = list( - dsn = 'mp_sc075cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 75cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - 'mp_sc100cm' = list( - dsn = 'mp_sc100cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 100cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - 'mp_sc125cm' = list( - dsn = 'mp_sc125cm', - type = 'GEOTIFF_16', - desc = 'Northern Mariana Islands, moist soil colors, 125cm (approx. 30m resolution)', - na = 32767, - crs = 'EPSG:4326', - res = 0.000277791905324, - rat = .soilColorRAT - ), - - - - 'sc005cm' = list( - dsn = 'sc005cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 5cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - 'sc010cm' = list( - dsn = 'sc010cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 10cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - 'sc015cm' = list( - dsn = 'sc015cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 15cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - 'sc025cm' = list( - dsn = 'sc025cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 25cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - 'sc050cm' = list( - dsn = 'sc050cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 50cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - 'sc075cm' = list( - dsn = 'sc075cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 75cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - 'sc100cm' = list( - dsn = 'sc100cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 100cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - 'sc125cm' = list( - dsn = 'sc125cm', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 125cm (270m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 270, - rat = .soilColorRAT - ), - - - 'sc005cm_hr' = list( - dsn = 'sc005cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 5cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ), - - 'sc010cm_hr' = list( - dsn = 'sc010cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 10cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ), - - 'sc015cm_hr' = list( - dsn = 'sc015cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 15cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ), - - 'sc025cm_hr' = list( - dsn = 'sc025cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 25cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ), - - 'sc050cm_hr' = list( - dsn = 'sc050cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 50cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ), - - 'sc075cm_hr' = list( - dsn = 'sc075cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 75cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ), - - 'sc100cm_hr' = list( - dsn = 'sc100cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 100cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ), - - 'sc125cm_hr' = list( - dsn = 'sc125cm_hr', - type = 'GEOTIFF_16', - desc = 'CONUS, moist soil color, 125cm (30m resolution)', - na = 32767, - crs = 'EPSG:5070', - res = 30, - rat = .soilColorRAT - ) -) +# ## moist soil colors +# # these are 16bit (unsigned) integers +# # these maps all share the same RAT +# .soilColorRAT <- 'http://casoilresource.lawr.ucdavis.edu/wcs-files/soilcolor/current/unique-moist-color-LUT.csv' +# .soilColor.spec <- list( +# +# 'pr_sc005cm' = list( +# dsn = 'pr_sc005cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 5cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'pr_sc010cm' = list( +# dsn = 'pr_sc010cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 10cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'pr_sc015cm' = list( +# dsn = 'pr_sc015cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 15cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'pr_sc025cm' = list( +# dsn = 'pr_sc025cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 25cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'pr_sc050cm' = list( +# dsn = 'pr_sc050cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 50cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'pr_sc075cm' = list( +# dsn = 'pr_sc075cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 75cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'pr_sc100cm' = list( +# dsn = 'pr_sc100cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 100cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'pr_sc125cm' = list( +# dsn = 'pr_sc125cm', +# type = 'GEOTIFF_16', +# desc = 'Puerto Rico, moist soil colors, 125cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:32161', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'ak_sc005cm' = list( +# dsn = 'ak_sc005cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 5cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# 'ak_sc010cm' = list( +# dsn = 'ak_sc010cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 10cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# 'ak_sc015cm' = list( +# dsn = 'ak_sc015cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 15cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# 'ak_sc025cm' = list( +# dsn = 'ak_sc025cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 25cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# 'ak_sc050cm' = list( +# dsn = 'ak_sc050cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 50cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# 'ak_sc075cm' = list( +# dsn = 'ak_sc075cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 75cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# 'ak_sc100cm' = list( +# dsn = 'ak_sc100cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 100cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# 'ak_sc125cm' = list( +# dsn = 'ak_sc125cm', +# type = 'GEOTIFF_16', +# desc = 'Alaska, moist soil colors, 125cm (90m resolution)', +# na = 32767, +# crs = 'EPSG:3338', +# res = 90, +# rat = .soilColorRAT +# ), +# +# # these are geographic coordinates, must specify resolution in DD +# # approximately 30m +# 'pw_sc005cm' = list( +# dsn = 'pw_sc005cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 5cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'pw_sc010cm' = list( +# dsn = 'pw_sc010cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 10cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'pw_sc015cm' = list( +# dsn = 'pw_sc015cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 15cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'pw_sc025cm' = list( +# dsn = 'pw_sc025cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 25cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'pw_sc050cm' = list( +# dsn = 'pw_sc050cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 50cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'pw_sc075cm' = list( +# dsn = 'pw_sc075cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 75cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'pw_sc100cm' = list( +# dsn = 'pw_sc100cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 100cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'pw_sc125cm' = list( +# dsn = 'pw_sc125cm', +# type = 'GEOTIFF_16', +# desc = 'Palau, moist soil colors, 125cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277786077614, +# rat = .soilColorRAT +# ), +# +# 'hi_sc005cm' = list( +# dsn = 'hi_sc005cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 5cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'hi_sc010cm' = list( +# dsn = 'hi_sc010cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 10cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'hi_sc015cm' = list( +# dsn = 'hi_sc015cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 15cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'hi_sc025cm' = list( +# dsn = 'hi_sc025cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 25cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'hi_sc050cm' = list( +# dsn = 'hi_sc050cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 50cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'hi_sc075cm' = list( +# dsn = 'hi_sc075cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 75cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'hi_sc100cm' = list( +# dsn = 'hi_sc100cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 100cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'hi_sc125cm' = list( +# dsn = 'hi_sc125cm', +# type = 'GEOTIFF_16', +# desc = 'Hawaii, moist soil colors, 125cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:6628', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'gu_sc005cm' = list( +# dsn = 'gu_sc005cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 5cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'gu_sc010cm' = list( +# dsn = 'gu_sc010cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 10cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'gu_sc015cm' = list( +# dsn = 'gu_sc015cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 15cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'gu_sc025cm' = list( +# dsn = 'gu_sc025cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 25cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'gu_sc050cm' = list( +# dsn = 'gu_sc050cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 50cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'gu_sc075cm' = list( +# dsn = 'gu_sc075cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 75cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'gu_sc100cm' = list( +# dsn = 'gu_sc100cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 100cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'gu_sc125cm' = list( +# dsn = 'gu_sc125cm', +# type = 'GEOTIFF_16', +# desc = 'Guam, moist soil colors, 125cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277776150910, +# rat = .soilColorRAT +# ), +# +# 'as_sc005cm' = list( +# dsn = 'as_sc005cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 5cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'as_sc010cm' = list( +# dsn = 'as_sc010cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 10cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'as_sc015cm' = list( +# dsn = 'as_sc015cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 15cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'as_sc025cm' = list( +# dsn = 'as_sc025cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 25cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'as_sc050cm' = list( +# dsn = 'as_sc050cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 50cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'as_sc075cm' = list( +# dsn = 'as_sc075cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 75cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'as_sc100cm' = list( +# dsn = 'as_sc100cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 100cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'as_sc125cm' = list( +# dsn = 'as_sc125cm', +# type = 'GEOTIFF_16', +# desc = 'American Samoa, moist soil colors, 125cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277756381372, +# rat = .soilColorRAT +# ), +# +# 'mp_sc005cm' = list( +# dsn = 'mp_sc005cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 5cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# 'mp_sc010cm' = list( +# dsn = 'mp_sc010cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 10cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# 'mp_sc015cm' = list( +# dsn = 'mp_sc015cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 15cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# 'mp_sc025cm' = list( +# dsn = 'mp_sc025cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 25cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# 'mp_sc050cm' = list( +# dsn = 'mp_sc050cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 50cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# 'mp_sc075cm' = list( +# dsn = 'mp_sc075cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 75cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# 'mp_sc100cm' = list( +# dsn = 'mp_sc100cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 100cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# 'mp_sc125cm' = list( +# dsn = 'mp_sc125cm', +# type = 'GEOTIFF_16', +# desc = 'Northern Mariana Islands, moist soil colors, 125cm (approx. 30m resolution)', +# na = 32767, +# crs = 'EPSG:4326', +# res = 0.000277791905324, +# rat = .soilColorRAT +# ), +# +# +# +# 'sc005cm' = list( +# dsn = 'sc005cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 5cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# 'sc010cm' = list( +# dsn = 'sc010cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 10cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# 'sc015cm' = list( +# dsn = 'sc015cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 15cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# 'sc025cm' = list( +# dsn = 'sc025cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 25cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# 'sc050cm' = list( +# dsn = 'sc050cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 50cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# 'sc075cm' = list( +# dsn = 'sc075cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 75cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# 'sc100cm' = list( +# dsn = 'sc100cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 100cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# 'sc125cm' = list( +# dsn = 'sc125cm', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 125cm (270m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 270, +# rat = .soilColorRAT +# ), +# +# +# 'sc005cm_hr' = list( +# dsn = 'sc005cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 5cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'sc010cm_hr' = list( +# dsn = 'sc010cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 10cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'sc015cm_hr' = list( +# dsn = 'sc015cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 15cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'sc025cm_hr' = list( +# dsn = 'sc025cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 25cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'sc050cm_hr' = list( +# dsn = 'sc050cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 50cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'sc075cm_hr' = list( +# dsn = 'sc075cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 75cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'sc100cm_hr' = list( +# dsn = 'sc100cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 100cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ), +# +# 'sc125cm_hr' = list( +# dsn = 'sc125cm_hr', +# type = 'GEOTIFF_16', +# desc = 'CONUS, moist soil color, 125cm (30m resolution)', +# na = 32767, +# crs = 'EPSG:5070', +# res = 30, +# rat = .soilColorRAT +# ) +# ) ## TODO: next release include suggested colors # ISSR-800 layers and basic metadata -.ISSR800.spec <- list( - - 'statsgo_pct' = list( - dsn = 'statsgo_pct', - type = 'GEOTIFF_FLOAT', - desc = 'STATSGO data available, fraction of 800x800m grid cell', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'ssurgo_pct' = list( - dsn = 'ssurgo_pct', - type = 'GEOTIFF_FLOAT', - desc = 'SSURGO data available, fraction of 800x800m grid cell', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'om_kg_sq_m' = list( - dsn = 'om_kg_sq_m', - type = 'GEOTIFF_FLOAT', - desc = 'Total Soil Organic Matter (kg/m^2)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'caco3_kg_sq_m' = list( - dsn = 'caco3_kg_sq_m', - type = 'GEOTIFF_FLOAT', - desc = 'Total CaCO3 (kg/m^2)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'ec_05cm' = list( - dsn = 'ec_05cm', - type = 'GEOTIFF_FLOAT', - desc = 'EC 0-5cm depth (dS/m)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'ec_025cm' = list( - dsn = 'ec_025cm', - type = 'GEOTIFF_FLOAT', - desc = 'EC 0-25cm depth (dS/m)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'cec_05cm' = list( - dsn = 'cec_05cm', - type = 'GEOTIFF_FLOAT', - desc = 'CEC at pH 7 0-5cm depth (cmol[+]/kg)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'cec_025cm' = list( - dsn = 'cec_025cm', - type = 'GEOTIFF_FLOAT', - desc = 'CEC at pH 7 0-25cm depth (cmol[+]/kg)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'cec_050cm' = list( - dsn = 'cec_050cm', - type = 'GEOTIFF_FLOAT', - desc = 'CEC at pH 7 0-50cm depth (cmol[+]/kg)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'paws' = list( - dsn = 'paws', - type = 'GEOTIFF_FLOAT', - desc = 'total plant available water storage (cm water)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'paws_050cm' = list( - dsn = 'paws_050cm', - type = 'GEOTIFF_FLOAT', - desc = 'plant available water storage 0-50cm depth (cm water)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'paws_025cm' = list( - dsn = 'paws_025cm', - type = 'GEOTIFF_FLOAT', - desc = 'plant available water storage 0-25cm depth (cm water)', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'ph_05cm' = list( - dsn = 'ph_05cm', - type = 'GEOTIFF_FLOAT', - desc = 'pH 1:1 H2O 0-5cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'ph_025cm' = list( - dsn = 'ph_025cm', - type = 'GEOTIFF_FLOAT', - desc = 'pH 1:1 H2O 0-25cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'ph_2550cm' = list( - dsn = 'ph_2550cm', - type = 'GEOTIFF_FLOAT', - desc = 'pH 1:1 H2O 25-50cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'ph_3060cm' = list( - dsn = 'ph_3060cm', - type = 'GEOTIFF_FLOAT', - desc = 'pH 1:1 H2O 30-60cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'clay_05cm' = list( - dsn = 'clay_05cm', - type = 'GEOTIFF_FLOAT', - desc = 'clay percent 0-5cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'clay_025cm' = list( - dsn = 'clay_025cm', - type = 'GEOTIFF_FLOAT', - desc = 'clay percent 0-25cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'clay_2550cm' = list( - dsn = 'clay_2550cm', - type = 'GEOTIFF_FLOAT', - desc = 'clay percent 25-50cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'clay_3060cm' = list( - dsn = 'clay_3060cm', - type = 'GEOTIFF_FLOAT', - desc = 'clay percent 30-60cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'sand_05cm' = list( - dsn = 'sand_05cm', - type = 'GEOTIFF_FLOAT', - desc = 'sand percent 0-5cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'sand_025cm' = list( - dsn = 'sand_025cm', - type = 'GEOTIFF_FLOAT', - desc = 'sand percent 0-25cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'sand_2550cm' = list( - dsn = 'sand_2550cm', - type = 'GEOTIFF_FLOAT', - desc = 'sand percent 25-50cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'sand_3060cm' = list( - dsn = 'sand_3060cm', - type = 'GEOTIFF_FLOAT', - desc = 'sand percent 30-60cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'silt_05cm' = list( - dsn = 'silt_05cm', - type = 'GEOTIFF_FLOAT', - desc = 'silt percent 0-5cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'silt_025cm' = list( - dsn = 'silt_025cm', - type = 'GEOTIFF_FLOAT', - desc = 'silt percent 0-25cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'silt_2550cm' = list( - dsn = 'silt_2550cm', - type = 'GEOTIFF_FLOAT', - desc = 'silt percent 25-50cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'silt_3060cm' = list( - dsn = 'silt_3060cm', - type = 'GEOTIFF_FLOAT', - desc = 'silt percent 30-60cm depth', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'sar' = list( - dsn = 'sar', - type = 'GEOTIFF_FLOAT', - desc = 'SAR, entire profile', - na = -9999, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'series_name' = list( - dsn = 'series_name', - type = 'GEOTIFF_16', - desc = 'Soil Series Name', - na = 32767, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/series_name.csv' - ), - - 'hydgrp' = list( - dsn = 'hydgrp', - type = 'GEOTIFF_BYTE', - desc = 'Hydrologic Soil Group', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/hydgrp.csv' - ), - - - 'drainage_class' = list( - dsn = 'drainage_class', - type = 'GEOTIFF_BYTE', - desc = 'Soil Drainage Class', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/drainage_class.csv' - ), - - 'weg' = list( - dsn = 'weg', - type = 'GEOTIFF_BYTE', - desc = 'Wind Erodibility Group', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/weg.csv' - ), - - 'wei' = list( - dsn = 'wei', - type = 'GEOTIFF_FLOAT', - na = -9999, - crs = 'EPSG:5070', - res = 800, - desc = 'Wind Erodibility Index', - rat = NULL - ), - - 'str' = list( - dsn = 'str', - type = 'GEOTIFF_BYTE', - desc = 'Soil Temperature Regime', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/str.csv' - ), - - 'soilorder' = list( - dsn = 'soilorder', - type = 'GEOTIFF_BYTE', - desc = 'Soil Taxonomy: Soil Order', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/soilorder.csv' - ), - - 'suborder' = list( - dsn = 'suborder', - type = 'GEOTIFF_BYTE', - desc = 'Soil Taxonomy: Suborder', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/suborder.csv' - ), - - 'greatgroup' = list( - dsn = 'greatgroup', - type = 'GEOTIFF_BYTE', - desc = 'Soil Taxonomy: Greatgroup', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/greatgroup.csv' - ), - - 'texture_05cm' = list( - dsn = 'texture_05cm', - type = 'GEOTIFF_BYTE', - desc = 'Soil Texture Class, 0-5cm', - na = 255, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_05.csv' - ), - - 'texture_025cm' = list( - dsn = 'texture_025cm', - type = 'GEOTIFF_BYTE', - desc = 'Soil Texture Class, 0-25cm', - na = 255, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_025.csv' - ), - - 'texture_2550cm' = list( - dsn = 'texture_2550cm', - type = 'GEOTIFF_BYTE', - desc = 'Soil Texture Class, 25-50cm', - na = 255, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_2550.csv' - ), - - 'lcc_irrigated' = list( - dsn = 'lcc_irrigated', - type = 'GEOTIFF_BYTE', - desc = 'Land Capability Class, irrigated', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/lcc.csv' - ), - - 'lcc_nonirrigated' = list( - dsn = 'lcc_nonirrigated', - type = 'GEOTIFF_BYTE', - desc = 'Land Capability Class, non-irrigated', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/lcc.csv' - ), - - 'survey_type' = list( - dsn = 'survey_type', - type = 'GEOTIFF_BYTE', - desc = 'Soil survey data source', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/survey_type.csv' - ), - - 'n_polygons' = list( - dsn = 'n_polygons', - type = 'GEOTIFF_BYTE', - desc = 'Number of polygons per grid cell', - na = 0, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ), - - 'n_components' = list( - dsn = 'n_components', - type = 'GEOTIFF_16', - desc = 'Number of components per grid cell', - na = 32767, - crs = 'EPSG:5070', - res = 800, - rat = NULL - ) - - -) +# .ISSR800.spec <- list( +# +# 'statsgo_pct' = list( +# dsn = 'statsgo_pct', +# type = 'GEOTIFF_FLOAT', +# desc = 'STATSGO data available, fraction of 800x800m grid cell', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'ssurgo_pct' = list( +# dsn = 'ssurgo_pct', +# type = 'GEOTIFF_FLOAT', +# desc = 'SSURGO data available, fraction of 800x800m grid cell', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'om_kg_sq_m' = list( +# dsn = 'om_kg_sq_m', +# type = 'GEOTIFF_FLOAT', +# desc = 'Total Soil Organic Matter (kg/m^2)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'caco3_kg_sq_m' = list( +# dsn = 'caco3_kg_sq_m', +# type = 'GEOTIFF_FLOAT', +# desc = 'Total CaCO3 (kg/m^2)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'ec_05cm' = list( +# dsn = 'ec_05cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'EC 0-5cm depth (dS/m)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'ec_025cm' = list( +# dsn = 'ec_025cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'EC 0-25cm depth (dS/m)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'cec_05cm' = list( +# dsn = 'cec_05cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'CEC at pH 7 0-5cm depth (cmol[+]/kg)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'cec_025cm' = list( +# dsn = 'cec_025cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'CEC at pH 7 0-25cm depth (cmol[+]/kg)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'cec_050cm' = list( +# dsn = 'cec_050cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'CEC at pH 7 0-50cm depth (cmol[+]/kg)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'paws' = list( +# dsn = 'paws', +# type = 'GEOTIFF_FLOAT', +# desc = 'total plant available water storage (cm water)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'paws_050cm' = list( +# dsn = 'paws_050cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'plant available water storage 0-50cm depth (cm water)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'paws_025cm' = list( +# dsn = 'paws_025cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'plant available water storage 0-25cm depth (cm water)', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'ph_05cm' = list( +# dsn = 'ph_05cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'pH 1:1 H2O 0-5cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'ph_025cm' = list( +# dsn = 'ph_025cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'pH 1:1 H2O 0-25cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'ph_2550cm' = list( +# dsn = 'ph_2550cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'pH 1:1 H2O 25-50cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'ph_3060cm' = list( +# dsn = 'ph_3060cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'pH 1:1 H2O 30-60cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'clay_05cm' = list( +# dsn = 'clay_05cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'clay percent 0-5cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'clay_025cm' = list( +# dsn = 'clay_025cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'clay percent 0-25cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'clay_2550cm' = list( +# dsn = 'clay_2550cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'clay percent 25-50cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'clay_3060cm' = list( +# dsn = 'clay_3060cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'clay percent 30-60cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'sand_05cm' = list( +# dsn = 'sand_05cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'sand percent 0-5cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'sand_025cm' = list( +# dsn = 'sand_025cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'sand percent 0-25cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'sand_2550cm' = list( +# dsn = 'sand_2550cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'sand percent 25-50cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'sand_3060cm' = list( +# dsn = 'sand_3060cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'sand percent 30-60cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'silt_05cm' = list( +# dsn = 'silt_05cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'silt percent 0-5cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'silt_025cm' = list( +# dsn = 'silt_025cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'silt percent 0-25cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'silt_2550cm' = list( +# dsn = 'silt_2550cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'silt percent 25-50cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'silt_3060cm' = list( +# dsn = 'silt_3060cm', +# type = 'GEOTIFF_FLOAT', +# desc = 'silt percent 30-60cm depth', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'sar' = list( +# dsn = 'sar', +# type = 'GEOTIFF_FLOAT', +# desc = 'SAR, entire profile', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'series_name' = list( +# dsn = 'series_name', +# type = 'GEOTIFF_16', +# desc = 'Soil Series Name', +# na = 32767, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/series_name.csv' +# ), +# +# 'hydgrp' = list( +# dsn = 'hydgrp', +# type = 'GEOTIFF_BYTE', +# desc = 'Hydrologic Soil Group', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/hydgrp.csv' +# ), +# +# +# 'drainage_class' = list( +# dsn = 'drainage_class', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Drainage Class', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/drainage_class.csv' +# ), +# +# 'weg' = list( +# dsn = 'weg', +# type = 'GEOTIFF_BYTE', +# desc = 'Wind Erodibility Group', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/weg.csv' +# ), +# +# 'wei' = list( +# dsn = 'wei', +# type = 'GEOTIFF_FLOAT', +# na = -9999, +# crs = 'EPSG:5070', +# res = 800, +# desc = 'Wind Erodibility Index', +# rat = NULL +# ), +# +# 'str' = list( +# dsn = 'str', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Temperature Regime', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/str.csv' +# ), +# +# 'soilorder' = list( +# dsn = 'soilorder', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Taxonomy: Soil Order', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/soilorder.csv' +# ), +# +# 'suborder' = list( +# dsn = 'suborder', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Taxonomy: Suborder', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/suborder.csv' +# ), +# +# 'greatgroup' = list( +# dsn = 'greatgroup', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Taxonomy: Greatgroup', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/greatgroup.csv' +# ), +# +# 'texture_05cm' = list( +# dsn = 'texture_05cm', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Texture Class, 0-5cm', +# na = 255, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_05.csv' +# ), +# +# 'texture_025cm' = list( +# dsn = 'texture_025cm', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Texture Class, 0-25cm', +# na = 255, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_025.csv' +# ), +# +# 'texture_2550cm' = list( +# dsn = 'texture_2550cm', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil Texture Class, 25-50cm', +# na = 255, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_2550.csv' +# ), +# +# 'lcc_irrigated' = list( +# dsn = 'lcc_irrigated', +# type = 'GEOTIFF_BYTE', +# desc = 'Land Capability Class, irrigated', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/lcc.csv' +# ), +# +# 'lcc_nonirrigated' = list( +# dsn = 'lcc_nonirrigated', +# type = 'GEOTIFF_BYTE', +# desc = 'Land Capability Class, non-irrigated', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/lcc.csv' +# ), +# +# 'survey_type' = list( +# dsn = 'survey_type', +# type = 'GEOTIFF_BYTE', +# desc = 'Soil survey data source', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/survey_type.csv' +# ), +# +# 'n_polygons' = list( +# dsn = 'n_polygons', +# type = 'GEOTIFF_BYTE', +# desc = 'Number of polygons per grid cell', +# na = 0, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ), +# +# 'n_components' = list( +# dsn = 'n_components', +# type = 'GEOTIFF_16', +# desc = 'Number of components per grid cell', +# na = 32767, +# crs = 'EPSG:5070', +# res = 800, +# rat = NULL +# ) +# +# +# ) ## @@ -1445,186 +1457,186 @@ WCS_details <- function(wcs = c('mukey', 'ISSR800', 'soilColor')) { # ext(xmin, xmax, ymin, ymax) -.mukey.spec <- list( - - 'gnatsgo' = list( - dsn = 'gnatsgo', - type = 'GEOTIFF_FLOAT', - desc = 'gNATSGO map unit keys', - vintage = 'FY2027', - grid = list( - dim = c(nrows = 97053, ncols = 153996), - ext = c(-2356125, 2263755, 260985, 3172575) - ), - na = 0, - crs = 'EPSG:5070', - res = 30, - rat = NULL - ), - - 'gssurgo' = list( - dsn = 'gssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'gSSURGO map unit keys', - vintage = 'FY2027', - grid = list( - dim = c(nrows = 97053, ncols = 153996), - ext = c(-2356125, 2263755, 260985, 3172575) - ), - na = 0, - crs = 'EPSG:5070', - res = 30, - rat = NULL - ), - - 'fssurgo' = list( - dsn = 'fssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'SSURGO/STATSGO2 map unit keys', - vintage = 'FY2027', - grid = list( - dim = c(nrows = 97053, ncols = 153996), - ext = c(-2356125, 2263755, 260985, 3172575) - ), - na = 0, - crs = 'EPSG:5070', - res = 30, - rat = NULL - ), - - 'statsgo' = list( - dsn = 'statsgo', - type = 'GEOTIFF_FLOAT', - desc = 'STATSGO2 map unit keys', - vintage = 'FY2027', - grid = list( - dim = c(nrows = 97053, ncols = 153996), - ext = c(-2356125, 2263755, 260985, 3172575) - ), - na = 4294967295, - crs = 'EPSG:5070', - res = 30, - rat = NULL - ), - - 'hi_ssurgo' = list( - dsn = 'hi_ssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'HI map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 12441, ncols = 17193), - ext = c(56992, 572768, 8585, 381800) - ), - na = 0, - crs = 'EPSG:6628', - res = 30, - rat = NULL - ), - - 'pr_ssurgo' = list( - dsn = 'pr_ssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'PR map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 3466, ncols = 12311), - ext = c(34344, 403687, 177453, 281438) - ), - na = 0, - crs = 'EPSG:32161', - res = 30, - rat = NULL - ), - - 'ak_ssurgo' = list( - dsn = 'ak_ssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'AK map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 21945, ncols = 40765), - ext = c(-2175732, 1493128, 408838, 2383910) - ), - na = 0, - crs = 'EPSG:3338', - res = 30, - rat = NULL - ), - - 'pw_ssurgo' = list( - dsn = 'pw_ssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'PW map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 18440, ncols = 12963), - ext = c(131.120121813039, 134.721062737144, 2.97196562862596, 8.09408586748881) - ), - na = 0, - crs = 'EPSG:4326', - res = 0.0002777861, - rat = NULL - ), - - 'gu_ssurgo' = list( - dsn = 'gu_ssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'GU map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 1513, ncols = 1220), - ext = c(144.618068517806, 144.956955421916, 13.2340187307932, 13.6544204140536) - ), - na = 0, - crs = 'EPSG:4326', - res = 0.0002777762, - rat = NULL - ), - - 'as_ssurgo' = list( - dsn = 'as_ssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'AS map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 787, ncols = 5142), - ext = c(-170.846799186076, -169.418575873062, -14.3738552052458, -14.1553617420328) - ), - na = 0, - crs = 'EPSG:4326', - res = 0.0002777564, - rat = NULL - ), - - 'mp_ssurgo' = list( - dsn = 'mp_ssurgo', - type = 'GEOTIFF_FLOAT', - desc = 'MP map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 16930, ncols = 2632), - ext = c(145.121303441146, 145.852451735958, 14.1104128808407, 18.8132500297094) - ), - na = 0, - crs = 'EPSG:4326', - res = 0.0002777919, - rat = NULL - ), - - 'rss' = list( - dsn = 'rss', - type = 'GEOTIFF_FLOAT', - desc = 'RSS map unit keys', - vintage = 'FY2026', - grid = list( - dim = c(nrows = 97053, ncols = 153996), - ext = c(-2356125, 2263755, 260985, 3172575) - ), - na = 0, - crs = 'EPSG:5070', - res = 30, - rat = NULL - ) -) +# .mukey.spec <- list( +# +# 'gnatsgo' = list( +# dsn = 'gnatsgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'gNATSGO map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 97053, ncols = 153996), +# ext = c(-2356125, 2263755, 260985, 3172575) +# ), +# na = 0, +# crs = 'EPSG:5070', +# res = 30, +# rat = NULL +# ), +# +# 'gssurgo' = list( +# dsn = 'gssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'gSSURGO map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 97053, ncols = 153996), +# ext = c(-2356125, 2263755, 260985, 3172575) +# ), +# na = 0, +# crs = 'EPSG:5070', +# res = 30, +# rat = NULL +# ), +# +# 'fssurgo' = list( +# dsn = 'fssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'SSURGO/STATSGO2 map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 97053, ncols = 153996), +# ext = c(-2356125, 2263755, 260985, 3172575) +# ), +# na = 0, +# crs = 'EPSG:5070', +# res = 30, +# rat = NULL +# ), +# +# 'statsgo' = list( +# dsn = 'statsgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'STATSGO2 map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 97053, ncols = 153996), +# ext = c(-2356125, 2263755, 260985, 3172575) +# ), +# na = 4294967295, +# crs = 'EPSG:5070', +# res = 30, +# rat = NULL +# ), +# +# 'hi_ssurgo' = list( +# dsn = 'hi_ssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'HI map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 12441, ncols = 17193), +# ext = c(56992, 572768, 8585, 381800) +# ), +# na = 0, +# crs = 'EPSG:6628', +# res = 30, +# rat = NULL +# ), +# +# 'pr_ssurgo' = list( +# dsn = 'pr_ssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'PR map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 3466, ncols = 12311), +# ext = c(34344, 403687, 177453, 281438) +# ), +# na = 0, +# crs = 'EPSG:32161', +# res = 30, +# rat = NULL +# ), +# +# 'ak_ssurgo' = list( +# dsn = 'ak_ssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'AK map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 21945, ncols = 40765), +# ext = c(-2175732, 1493128, 408838, 2383910) +# ), +# na = 0, +# crs = 'EPSG:3338', +# res = 30, +# rat = NULL +# ), +# +# 'pw_ssurgo' = list( +# dsn = 'pw_ssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'PW map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 18440, ncols = 12963), +# ext = c(131.120121813039, 134.721062737144, 2.97196562862596, 8.09408586748881) +# ), +# na = 0, +# crs = 'EPSG:4326', +# res = 0.0002777861, +# rat = NULL +# ), +# +# 'gu_ssurgo' = list( +# dsn = 'gu_ssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'GU map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 1513, ncols = 1220), +# ext = c(144.618068517806, 144.956955421916, 13.2340187307932, 13.6544204140536) +# ), +# na = 0, +# crs = 'EPSG:4326', +# res = 0.0002777762, +# rat = NULL +# ), +# +# 'as_ssurgo' = list( +# dsn = 'as_ssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'AS map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 787, ncols = 5142), +# ext = c(-170.846799186076, -169.418575873062, -14.3738552052458, -14.1553617420328) +# ), +# na = 0, +# crs = 'EPSG:4326', +# res = 0.0002777564, +# rat = NULL +# ), +# +# 'mp_ssurgo' = list( +# dsn = 'mp_ssurgo', +# type = 'GEOTIFF_FLOAT', +# desc = 'MP map unit keys', +# vintage = 'FY2027', +# grid = list( +# dim = c(nrows = 16930, ncols = 2632), +# ext = c(145.121303441146, 145.852451735958, 14.1104128808407, 18.8132500297094) +# ), +# na = 0, +# crs = 'EPSG:4326', +# res = 0.0002777919, +# rat = NULL +# ), +# +# 'rss' = list( +# dsn = 'rss', +# type = 'GEOTIFF_FLOAT', +# desc = 'RSS map unit keys', +# vintage = 'FY2026', +# grid = list( +# dim = c(nrows = 97053, ncols = 153996), +# ext = c(-2356125, 2263755, 260985, 3172575) +# ), +# na = 0, +# crs = 'EPSG:5070', +# res = 30, +# rat = NULL +# ) +# ) diff --git a/R/mukey-WCS.R b/R/mukey-WCS.R index 76279fe9..1a7795fc 100644 --- a/R/mukey-WCS.R +++ b/R/mukey-WCS.R @@ -23,20 +23,20 @@ #' #' Databases available from this WCS can be queried using `WCS_details(wcs = 'mukey')`. #' -#' |db |crs |description | -#' |:---------|:----------|:-----------------------------| -#' |ak_ssurgo |EPSG:3338 |AK map unit keys | -#' |as_ssurgo |EPSG:4326 |AS map unit keys | -#' |fssurgo |EPSG:5070 |SSURGO/STATSGO2 map unit keys | -#' |gnatsgo |EPSG:5070 |gNATSGO map unit keys | -#' |gssurgo |EPSG:5070 |gSSURGO map unit keys | -#' |gu_ssurgo |EPSG:4326 |GU map unit keys | -#' |hi_ssurgo |EPSG:6628 |HI map unit keys | -#' |mp_ssurgo |EPSG:4326 |MP map unit keys | -#' |pr_ssurgo |EPSG:32161 |PR map unit keys | -#' |pw_ssurgo |EPSG:4326 |PW map unit keys | -#' |rss |EPSG:5070 |RSS map unit keys | -#' |statsgo |EPSG:5070 |STATSGO2 map unit keys | +#' |db |vintage |crs |description | +#' |:---------|:-------|:----------|:-----------------------------| +#' |ak_ssurgo |FY2027 |EPSG:3338 |AK map unit keys | +#' |as_ssurgo |FY2027 |EPSG:4326 |AS map unit keys | +#' |fssurgo |FY2027 |EPSG:5070 |SSURGO/STATSGO2 map unit keys | +#' |gnatsgo |FY2027 |EPSG:5070 |gNATSGO map unit keys | +#' |gssurgo |FY2027 |EPSG:5070 |gSSURGO map unit keys | +#' |gu_ssurgo |FY2027 |EPSG:4326 |GU map unit keys | +#' |hi_ssurgo |FY2027 |EPSG:6628 |HI map unit keys | +#' |mp_ssurgo |FY2027 |EPSG:4326 |MP map unit keys | +#' |pr_ssurgo |FY2027 |EPSG:32161 |PR map unit keys | +#' |pw_ssurgo |FY2027 |EPSG:4326 |PW map unit keys | +#' |rss |FY2026 |EPSG:5070 |RSS map unit keys | +#' |statsgo |FY2027 |EPSG:5070 |STATSGO2 map unit keys | #' #' #' The `fSSURGO` database is an unofficial hybrid of gSSURGO, back-filled with STATSGO2 data where SSURGO data are missing (e.b. denied access, NOTCOM, large misc. areas other than water). @@ -100,7 +100,14 @@ mukey.wcs <- function( stop('invalid `aoi` specification', call. = FALSE) } - # prepare WCS details + # try loading WCS specifications from SoilWeb + .mukey.spec <- try(fromJSON('https://casoilresource.lawr.ucdavis.edu/wcs/mukey-grids.json'), silent = TRUE) + + if(inherits(.mukey.spec, 'try-error')) { + stop('WCS spec not available', call. = FALSE) + } + + # subset to specific database # list-lookup is lower-case var.spec <- .mukey.spec[[db]] diff --git a/R/soilColorWCS.R b/R/soilColorWCS.R index af03b38f..eca7e3a3 100644 --- a/R/soilColorWCS.R +++ b/R/soilColorWCS.R @@ -23,80 +23,80 @@ #' Variables available from this WCS can be queried using `WCS_details(wcs = 'soilColor')`. The full resolution version of the CONUS soil color grids use a `hr` suffix, e.g. 'sc025cm_hr'. #' #' -#' |var |crs |description | -#' |:----------|:----------|:---------------------------------------------------------------------------| -#' |ak_sc005cm |EPSG:3338 |Alaska, moist soil colors, 5cm (90m resolution) | -#' |ak_sc010cm |EPSG:3338 |Alaska, moist soil colors, 10cm (90m resolution) | -#' |ak_sc015cm |EPSG:3338 |Alaska, moist soil colors, 15cm (90m resolution) | -#' |ak_sc025cm |EPSG:3338 |Alaska, moist soil colors, 25cm (90m resolution) | -#' |ak_sc050cm |EPSG:3338 |Alaska, moist soil colors, 50cm (90m resolution) | -#' |ak_sc075cm |EPSG:3338 |Alaska, moist soil colors, 75cm (90m resolution) | -#' |ak_sc100cm |EPSG:3338 |Alaska, moist soil colors, 100cm (90m resolution) | -#' |ak_sc125cm |EPSG:3338 |Alaska, moist soil colors, 125cm (90m resolution) | -#' |as_sc005cm |EPSG:4326 |American Samoa, moist soil colors, 5cm (approx. 30m resolution) | -#' |as_sc010cm |EPSG:4326 |American Samoa, moist soil colors, 10cm (approx. 30m resolution) | -#' |as_sc015cm |EPSG:4326 |American Samoa, moist soil colors, 15cm (approx. 30m resolution) | -#' |as_sc025cm |EPSG:4326 |American Samoa, moist soil colors, 25cm (approx. 30m resolution) | -#' |as_sc050cm |EPSG:4326 |American Samoa, moist soil colors, 50cm (approx. 30m resolution) | -#' |as_sc075cm |EPSG:4326 |American Samoa, moist soil colors, 75cm (approx. 30m resolution) | -#' |as_sc100cm |EPSG:4326 |American Samoa, moist soil colors, 100cm (approx. 30m resolution) | -#' |as_sc125cm |EPSG:4326 |American Samoa, moist soil colors, 125cm (approx. 30m resolution) | -#' |gu_sc005cm |EPSG:4326 |Guam, moist soil colors, 5cm (approx. 30m resolution) | -#' |gu_sc010cm |EPSG:4326 |Guam, moist soil colors, 10cm (approx. 30m resolution) | -#' |gu_sc015cm |EPSG:4326 |Guam, moist soil colors, 15cm (approx. 30m resolution) | -#' |gu_sc025cm |EPSG:4326 |Guam, moist soil colors, 25cm (approx. 30m resolution) | -#' |gu_sc050cm |EPSG:4326 |Guam, moist soil colors, 50cm (approx. 30m resolution) | -#' |gu_sc075cm |EPSG:4326 |Guam, moist soil colors, 75cm (approx. 30m resolution) | -#' |gu_sc100cm |EPSG:4326 |Guam, moist soil colors, 100cm (approx. 30m resolution) | -#' |gu_sc125cm |EPSG:4326 |Guam, moist soil colors, 125cm (approx. 30m resolution) | -#' |hi_sc005cm |EPSG:6628 |Hawaii, moist soil colors, 5cm (30m resolution) | -#' |hi_sc010cm |EPSG:6628 |Hawaii, moist soil colors, 10cm (30m resolution) | -#' |hi_sc015cm |EPSG:6628 |Hawaii, moist soil colors, 15cm (30m resolution) | -#' |hi_sc025cm |EPSG:6628 |Hawaii, moist soil colors, 25cm (30m resolution) | -#' |hi_sc050cm |EPSG:6628 |Hawaii, moist soil colors, 50cm (30m resolution) | -#' |hi_sc075cm |EPSG:6628 |Hawaii, moist soil colors, 75cm (30m resolution) | -#' |hi_sc100cm |EPSG:6628 |Hawaii, moist soil colors, 100cm (30m resolution) | -#' |hi_sc125cm |EPSG:6628 |Hawaii, moist soil colors, 125cm (30m resolution) | -#' |mp_sc005cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 5cm (approx. 30m resolution) | -#' |mp_sc010cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 10cm (approx. 30m resolution) | -#' |mp_sc015cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 15cm (approx. 30m resolution) | -#' |mp_sc025cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 25cm (approx. 30m resolution) | -#' |mp_sc050cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 50cm (approx. 30m resolution) | -#' |mp_sc075cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 75cm (approx. 30m resolution) | -#' |mp_sc100cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 100cm (approx. 30m resolution) | -#' |mp_sc125cm |EPSG:4326 |Northern Mariana Islands, moist soil colors, 125cm (approx. 30m resolution) | -#' |pr_sc005cm |EPSG:32161 |Puerto Rico, moist soil colors, 5cm (30m resolution) | -#' |pr_sc010cm |EPSG:32161 |Puerto Rico, moist soil colors, 10cm (30m resolution) | -#' |pr_sc015cm |EPSG:32161 |Puerto Rico, moist soil colors, 15cm (30m resolution) | -#' |pr_sc025cm |EPSG:32161 |Puerto Rico, moist soil colors, 25cm (30m resolution) | -#' |pr_sc050cm |EPSG:32161 |Puerto Rico, moist soil colors, 50cm (30m resolution) | -#' |pr_sc075cm |EPSG:32161 |Puerto Rico, moist soil colors, 75cm (30m resolution) | -#' |pr_sc100cm |EPSG:32161 |Puerto Rico, moist soil colors, 100cm (30m resolution) | -#' |pr_sc125cm |EPSG:32161 |Puerto Rico, moist soil colors, 125cm (30m resolution) | -#' |pw_sc005cm |EPSG:4326 |Palau, moist soil colors, 5cm (approx. 30m resolution) | -#' |pw_sc010cm |EPSG:4326 |Palau, moist soil colors, 10cm (approx. 30m resolution) | -#' |pw_sc015cm |EPSG:4326 |Palau, moist soil colors, 15cm (approx. 30m resolution) | -#' |pw_sc025cm |EPSG:4326 |Palau, moist soil colors, 25cm (approx. 30m resolution) | -#' |pw_sc050cm |EPSG:4326 |Palau, moist soil colors, 50cm (approx. 30m resolution) | -#' |pw_sc075cm |EPSG:4326 |Palau, moist soil colors, 75cm (approx. 30m resolution) | -#' |pw_sc100cm |EPSG:4326 |Palau, moist soil colors, 100cm (approx. 30m resolution) | -#' |pw_sc125cm |EPSG:4326 |Palau, moist soil colors, 125cm (approx. 30m resolution) | -#' |sc005cm |EPSG:5070 |CONUS, moist soil color, 5cm (270m resolution) | -#' |sc005cm_hr |EPSG:5070 |CONUS, moist soil color, 5cm (30m resolution) | -#' |sc010cm |EPSG:5070 |CONUS, moist soil color, 10cm (270m resolution) | -#' |sc010cm_hr |EPSG:5070 |CONUS, moist soil color, 10cm (30m resolution) | -#' |sc015cm |EPSG:5070 |CONUS, moist soil color, 15cm (270m resolution) | -#' |sc015cm_hr |EPSG:5070 |CONUS, moist soil color, 15cm (30m resolution) | -#' |sc025cm |EPSG:5070 |CONUS, moist soil color, 25cm (270m resolution) | -#' |sc025cm_hr |EPSG:5070 |CONUS, moist soil color, 25cm (30m resolution) | -#' |sc050cm |EPSG:5070 |CONUS, moist soil color, 50cm (270m resolution) | -#' |sc050cm_hr |EPSG:5070 |CONUS, moist soil color, 50cm (30m resolution) | -#' |sc075cm |EPSG:5070 |CONUS, moist soil color, 75cm (270m resolution) | -#' |sc075cm_hr |EPSG:5070 |CONUS, moist soil color, 75cm (30m resolution) | -#' |sc100cm |EPSG:5070 |CONUS, moist soil color, 100cm (270m resolution) | -#' |sc100cm_hr |EPSG:5070 |CONUS, moist soil color, 100cm (30m resolution) | -#' |sc125cm |EPSG:5070 |CONUS, moist soil color, 125cm (270m resolution) | -#' |sc125cm_hr |EPSG:5070 |CONUS, moist soil color, 125cm (30m resolution) | +#' |var |vintage |crs |description | +#' |:----------|:-------|:----------|:---------------------------------------------------------------------------| +#' |ak_sc005cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 5cm (90m resolution) | +#' |ak_sc010cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 10cm (90m resolution) | +#' |ak_sc015cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 15cm (90m resolution) | +#' |ak_sc025cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 25cm (90m resolution) | +#' |ak_sc050cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 50cm (90m resolution) | +#' |ak_sc075cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 75cm (90m resolution) | +#' |ak_sc100cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 100cm (90m resolution) | +#' |ak_sc125cm |FY2027 |EPSG:3338 |Alaska, moist soil colors, 125cm (90m resolution) | +#' |as_sc005cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 5cm (approx. 30m resolution) | +#' |as_sc010cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 10cm (approx. 30m resolution) | +#' |as_sc015cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 15cm (approx. 30m resolution) | +#' |as_sc025cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 25cm (approx. 30m resolution) | +#' |as_sc050cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 50cm (approx. 30m resolution) | +#' |as_sc075cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 75cm (approx. 30m resolution) | +#' |as_sc100cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 100cm (approx. 30m resolution) | +#' |as_sc125cm |FY2027 |EPSG:4326 |American Samoa, moist soil colors, 125cm (approx. 30m resolution) | +#' |gu_sc005cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 5cm (approx. 30m resolution) | +#' |gu_sc010cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 10cm (approx. 30m resolution) | +#' |gu_sc015cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 15cm (approx. 30m resolution) | +#' |gu_sc025cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 25cm (approx. 30m resolution) | +#' |gu_sc050cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 50cm (approx. 30m resolution) | +#' |gu_sc075cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 75cm (approx. 30m resolution) | +#' |gu_sc100cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 100cm (approx. 30m resolution) | +#' |gu_sc125cm |FY2027 |EPSG:4326 |Guam, moist soil colors, 125cm (approx. 30m resolution) | +#' |hi_sc005cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 5cm (30m resolution) | +#' |hi_sc010cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 10cm (30m resolution) | +#' |hi_sc015cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 15cm (30m resolution) | +#' |hi_sc025cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 25cm (30m resolution) | +#' |hi_sc050cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 50cm (30m resolution) | +#' |hi_sc075cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 75cm (30m resolution) | +#' |hi_sc100cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 100cm (30m resolution) | +#' |hi_sc125cm |FY2027 |EPSG:6628 |Hawaii, moist soil colors, 125cm (30m resolution) | +#' |mp_sc005cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 5cm (approx. 30m resolution) | +#' |mp_sc010cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 10cm (approx. 30m resolution) | +#' |mp_sc015cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 15cm (approx. 30m resolution) | +#' |mp_sc025cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 25cm (approx. 30m resolution) | +#' |mp_sc050cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 50cm (approx. 30m resolution) | +#' |mp_sc075cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 75cm (approx. 30m resolution) | +#' |mp_sc100cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 100cm (approx. 30m resolution) | +#' |mp_sc125cm |FY2027 |EPSG:4326 |Northern Mariana Islands, moist soil colors, 125cm (approx. 30m resolution) | +#' |pr_sc005cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 5cm (30m resolution) | +#' |pr_sc010cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 10cm (30m resolution) | +#' |pr_sc015cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 15cm (30m resolution) | +#' |pr_sc025cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 25cm (30m resolution) | +#' |pr_sc050cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 50cm (30m resolution) | +#' |pr_sc075cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 75cm (30m resolution) | +#' |pr_sc100cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 100cm (30m resolution) | +#' |pr_sc125cm |FY2027 |EPSG:32161 |Puerto Rico, moist soil colors, 125cm (30m resolution) | +#' |pw_sc005cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 5cm (approx. 30m resolution) | +#' |pw_sc010cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 10cm (approx. 30m resolution) | +#' |pw_sc015cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 15cm (approx. 30m resolution) | +#' |pw_sc025cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 25cm (approx. 30m resolution) | +#' |pw_sc050cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 50cm (approx. 30m resolution) | +#' |pw_sc075cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 75cm (approx. 30m resolution) | +#' |pw_sc100cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 100cm (approx. 30m resolution) | +#' |pw_sc125cm |FY2027 |EPSG:4326 |Palau, moist soil colors, 125cm (approx. 30m resolution) | +#' |sc005cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 5cm (270m resolution) | +#' |sc005cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 5cm (30m resolution) | +#' |sc010cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 10cm (270m resolution) | +#' |sc010cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 10cm (30m resolution) | +#' |sc015cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 15cm (270m resolution) | +#' |sc015cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 15cm (30m resolution) | +#' |sc025cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 25cm (270m resolution) | +#' |sc025cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 25cm (30m resolution) | +#' |sc050cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 50cm (270m resolution) | +#' |sc050cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 50cm (30m resolution) | +#' |sc075cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 75cm (270m resolution) | +#' |sc075cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 75cm (30m resolution) | +#' |sc100cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 100cm (270m resolution) | +#' |sc100cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 100cm (30m resolution) | +#' |sc125cm |FY2027 |EPSG:5070 |CONUS, moist soil color, 125cm (270m resolution) | +#' |sc125cm_hr |FY2027 |EPSG:5070 |CONUS, moist soil color, 125cm (30m resolution) | #' #' #' @return A `SpatRaster` (or `RasterLayer`) object containing indexed soil color IDs, associated raster attribute table, and color table. A `try-error` is returned if the WCS request fails. @@ -127,6 +127,13 @@ soilColor.wcs <- function(aoi, var, res = NULL, quiet = FALSE) { stop('invalid `aoi` specification', call. = FALSE) } + # try loading WCS specifications from SoilWeb + .soilColor.spec <- try(fromJSON('https://casoilresource.lawr.ucdavis.edu/wcs/soilcolor.json'), silent = TRUE) + + if(inherits(.soilColor.spec, 'try-error')) { + stop('WCS spec not available', call. = FALSE) + } + # match variable name in catalog var.cat <- sapply(.soilColor.spec, '[[', 'dsn') var <- match.arg(tolower(var), choices = var.cat) @@ -275,7 +282,7 @@ soilColor.wcs <- function(aoi, var, res = NULL, quiet = FALSE) { } # set metadata - terra::metags(r) <- c(description = var.spec$desc, vintage = .vintage) + terra::metags(r) <- c(description = var.spec$desc, vintage = var.spec$vintage) return(r) } diff --git a/man/ISSR800.wcs.Rd b/man/ISSR800.wcs.Rd index 386d61ec..182e20e9 100644 --- a/man/ISSR800.wcs.Rd +++ b/man/ISSR800.wcs.Rd @@ -30,54 +30,54 @@ When specified as a \code{list}, \code{aoi} should contain: The WCS query is parameterized using a rectangular extent derived from the above AOI specification, after conversion to the native CRS (EPSG:5070) of the ISSR800 grids. -Variables available from this WCS can be queried using \code{WCS_details(wcs = 'ISSR800')}.\tabular{lll}{ - var \tab crs \tab description \cr - caco3_kg_sq_m \tab EPSG:5070 \tab Total CaCO3 (kg/m^2) \cr - cec_025cm \tab EPSG:5070 \tab CEC at pH 7 0-25cm depth (cmol\link{+}/kg) \cr - cec_050cm \tab EPSG:5070 \tab CEC at pH 7 0-50cm depth (cmol\link{+}/kg) \cr - cec_05cm \tab EPSG:5070 \tab CEC at pH 7 0-5cm depth (cmol\link{+}/kg) \cr - clay_025cm \tab EPSG:5070 \tab clay percent 0-25cm depth \cr - clay_05cm \tab EPSG:5070 \tab clay percent 0-5cm depth \cr - clay_2550cm \tab EPSG:5070 \tab clay percent 25-50cm depth \cr - clay_3060cm \tab EPSG:5070 \tab clay percent 30-60cm depth \cr - drainage_class \tab EPSG:5070 \tab Soil Drainage Class \cr - ec_025cm \tab EPSG:5070 \tab EC 0-25cm depth (dS/m) \cr - ec_05cm \tab EPSG:5070 \tab EC 0-5cm depth (dS/m) \cr - greatgroup \tab EPSG:5070 \tab Soil Taxonomy: Greatgroup \cr - hydgrp \tab EPSG:5070 \tab Hydrologic Soil Group \cr - lcc_irrigated \tab EPSG:5070 \tab Land Capability Class, irrigated \cr - lcc_nonirrigated \tab EPSG:5070 \tab Land Capability Class, non-irrigated \cr - n_components \tab EPSG:5070 \tab Number of components per grid cell \cr - n_polygons \tab EPSG:5070 \tab Number of polygons per grid cell \cr - om_kg_sq_m \tab EPSG:5070 \tab Total Soil Organic Matter (kg/m^2) \cr - paws \tab EPSG:5070 \tab total plant available water storage (cm water) \cr - paws_025cm \tab EPSG:5070 \tab plant available water storage 0-25cm depth (cm water) \cr - paws_050cm \tab EPSG:5070 \tab plant available water storage 0-50cm depth (cm water) \cr - ph_025cm \tab EPSG:5070 \tab pH 1:1 H2O 0-25cm depth \cr - ph_05cm \tab EPSG:5070 \tab pH 1:1 H2O 0-5cm depth \cr - ph_2550cm \tab EPSG:5070 \tab pH 1:1 H2O 25-50cm depth \cr - ph_3060cm \tab EPSG:5070 \tab pH 1:1 H2O 30-60cm depth \cr - sand_025cm \tab EPSG:5070 \tab sand percent 0-25cm depth \cr - sand_05cm \tab EPSG:5070 \tab sand percent 0-5cm depth \cr - sand_2550cm \tab EPSG:5070 \tab sand percent 25-50cm depth \cr - sand_3060cm \tab EPSG:5070 \tab sand percent 30-60cm depth \cr - sar \tab EPSG:5070 \tab SAR, entire profile \cr - series_name \tab EPSG:5070 \tab Soil Series Name \cr - silt_025cm \tab EPSG:5070 \tab silt percent 0-25cm depth \cr - silt_05cm \tab EPSG:5070 \tab silt percent 0-5cm depth \cr - silt_2550cm \tab EPSG:5070 \tab silt percent 25-50cm depth \cr - silt_3060cm \tab EPSG:5070 \tab silt percent 30-60cm depth \cr - soilorder \tab EPSG:5070 \tab Soil Taxonomy: Soil Order \cr - ssurgo_pct \tab EPSG:5070 \tab SSURGO data available, fraction of 800x800m grid cell \cr - statsgo_pct \tab EPSG:5070 \tab STATSGO data available, fraction of 800x800m grid cell \cr - str \tab EPSG:5070 \tab Soil Temperature Regime \cr - suborder \tab EPSG:5070 \tab Soil Taxonomy: Suborder \cr - survey_type \tab EPSG:5070 \tab Soil survey data source \cr - texture_025cm \tab EPSG:5070 \tab Soil Texture Class, 0-25cm \cr - texture_05cm \tab EPSG:5070 \tab Soil Texture Class, 0-5cm \cr - texture_2550cm \tab EPSG:5070 \tab Soil Texture Class, 25-50cm \cr - weg \tab EPSG:5070 \tab Wind Erodibility Group \cr - wei \tab EPSG:5070 \tab Wind Erodibility Index \cr +Variables available from this WCS can be queried using \code{WCS_details(wcs = 'ISSR800')}.\tabular{llll}{ + var \tab vintage \tab crs \tab description \cr + caco3_kg_sq_m \tab FY2027 \tab EPSG:5070 \tab Total CaCO3 (kg/m^2) \cr + cec_025cm \tab FY2027 \tab EPSG:5070 \tab CEC at pH 7 0-25cm depth (cmol\link{+}/kg) \cr + cec_050cm \tab FY2027 \tab EPSG:5070 \tab CEC at pH 7 0-50cm depth (cmol\link{+}/kg) \cr + cec_05cm \tab FY2027 \tab EPSG:5070 \tab CEC at pH 7 0-5cm depth (cmol\link{+}/kg) \cr + clay_025cm \tab FY2027 \tab EPSG:5070 \tab clay percent 0-25cm depth \cr + clay_05cm \tab FY2027 \tab EPSG:5070 \tab clay percent 0-5cm depth \cr + clay_2550cm \tab FY2027 \tab EPSG:5070 \tab clay percent 25-50cm depth \cr + clay_3060cm \tab FY2027 \tab EPSG:5070 \tab clay percent 30-60cm depth \cr + drainage_class \tab FY2027 \tab EPSG:5070 \tab Soil Drainage Class \cr + ec_025cm \tab FY2027 \tab EPSG:5070 \tab EC 0-25cm depth (dS/m) \cr + ec_05cm \tab FY2027 \tab EPSG:5070 \tab EC 0-5cm depth (dS/m) \cr + greatgroup \tab FY2027 \tab EPSG:5070 \tab Soil Taxonomy: Greatgroup \cr + hydgrp \tab FY2027 \tab EPSG:5070 \tab Hydrologic Soil Group \cr + lcc_irrigated \tab FY2027 \tab EPSG:5070 \tab Land Capability Class, irrigated \cr + lcc_nonirrigated \tab FY2027 \tab EPSG:5070 \tab Land Capability Class, non-irrigated \cr + n_components \tab FY2027 \tab EPSG:5070 \tab Number of components per grid cell \cr + n_polygons \tab FY2027 \tab EPSG:5070 \tab Number of polygons per grid cell \cr + om_kg_sq_m \tab FY2027 \tab EPSG:5070 \tab Total Soil Organic Matter (kg/m^2) \cr + paws \tab FY2027 \tab EPSG:5070 \tab total plant available water storage (cm water) \cr + paws_025cm \tab FY2027 \tab EPSG:5070 \tab plant available water storage 0-25cm depth (cm water) \cr + paws_050cm \tab FY2027 \tab EPSG:5070 \tab plant available water storage 0-50cm depth (cm water) \cr + ph_025cm \tab FY2027 \tab EPSG:5070 \tab pH 1:1 H2O 0-25cm depth \cr + ph_05cm \tab FY2027 \tab EPSG:5070 \tab pH 1:1 H2O 0-5cm depth \cr + ph_2550cm \tab FY2027 \tab EPSG:5070 \tab pH 1:1 H2O 25-50cm depth \cr + ph_3060cm \tab FY2027 \tab EPSG:5070 \tab pH 1:1 H2O 30-60cm depth \cr + sand_025cm \tab FY2027 \tab EPSG:5070 \tab sand percent 0-25cm depth \cr + sand_05cm \tab FY2027 \tab EPSG:5070 \tab sand percent 0-5cm depth \cr + sand_2550cm \tab FY2027 \tab EPSG:5070 \tab sand percent 25-50cm depth \cr + sand_3060cm \tab FY2027 \tab EPSG:5070 \tab sand percent 30-60cm depth \cr + sar \tab FY2027 \tab EPSG:5070 \tab SAR, entire profile \cr + series_name \tab FY2027 \tab EPSG:5070 \tab Soil Series Name \cr + silt_025cm \tab FY2027 \tab EPSG:5070 \tab silt percent 0-25cm depth \cr + silt_05cm \tab FY2027 \tab EPSG:5070 \tab silt percent 0-5cm depth \cr + silt_2550cm \tab FY2027 \tab EPSG:5070 \tab silt percent 25-50cm depth \cr + silt_3060cm \tab FY2027 \tab EPSG:5070 \tab silt percent 30-60cm depth \cr + soilorder \tab FY2027 \tab EPSG:5070 \tab Soil Taxonomy: Soil Order \cr + ssurgo_pct \tab FY2027 \tab EPSG:5070 \tab SSURGO data available, fraction of 800x800m grid cell \cr + statsgo_pct \tab FY2027 \tab EPSG:5070 \tab STATSGO data available, fraction of 800x800m grid cell \cr + str \tab FY2027 \tab EPSG:5070 \tab Soil Temperature Regime \cr + suborder \tab FY2027 \tab EPSG:5070 \tab Soil Taxonomy: Suborder \cr + survey_type \tab FY2027 \tab EPSG:5070 \tab Soil survey data source \cr + texture_025cm \tab FY2027 \tab EPSG:5070 \tab Soil Texture Class, 0-25cm \cr + texture_05cm \tab FY2027 \tab EPSG:5070 \tab Soil Texture Class, 0-5cm \cr + texture_2550cm \tab FY2027 \tab EPSG:5070 \tab Soil Texture Class, 25-50cm \cr + weg \tab FY2027 \tab EPSG:5070 \tab Wind Erodibility Group \cr + wei \tab FY2027 \tab EPSG:5070 \tab Wind Erodibility Index \cr } } \note{ diff --git a/man/mukey.wcs.Rd b/man/mukey.wcs.Rd index 354f9fcd..f6fce629 100644 --- a/man/mukey.wcs.Rd +++ b/man/mukey.wcs.Rd @@ -35,20 +35,20 @@ When specified as a \code{list}, \code{aoi} should contain: The WCS query is parameterized using a rectangular extent derived from the above AOI specification, after conversion to the native CRS (EPSG:5070) of the WCS grids. -Databases available from this WCS can be queried using \code{WCS_details(wcs = 'mukey')}.\tabular{lll}{ - db \tab crs \tab description \cr - ak_ssurgo \tab EPSG:3338 \tab AK map unit keys \cr - as_ssurgo \tab EPSG:4326 \tab AS map unit keys \cr - fssurgo \tab EPSG:5070 \tab SSURGO/STATSGO2 map unit keys \cr - gnatsgo \tab EPSG:5070 \tab gNATSGO map unit keys \cr - gssurgo \tab EPSG:5070 \tab gSSURGO map unit keys \cr - gu_ssurgo \tab EPSG:4326 \tab GU map unit keys \cr - hi_ssurgo \tab EPSG:6628 \tab HI map unit keys \cr - mp_ssurgo \tab EPSG:4326 \tab MP map unit keys \cr - pr_ssurgo \tab EPSG:32161 \tab PR map unit keys \cr - pw_ssurgo \tab EPSG:4326 \tab PW map unit keys \cr - rss \tab EPSG:5070 \tab RSS map unit keys \cr - statsgo \tab EPSG:5070 \tab STATSGO2 map unit keys \cr +Databases available from this WCS can be queried using \code{WCS_details(wcs = 'mukey')}.\tabular{llll}{ + db \tab vintage \tab crs \tab description \cr + ak_ssurgo \tab FY2027 \tab EPSG:3338 \tab AK map unit keys \cr + as_ssurgo \tab FY2027 \tab EPSG:4326 \tab AS map unit keys \cr + fssurgo \tab FY2027 \tab EPSG:5070 \tab SSURGO/STATSGO2 map unit keys \cr + gnatsgo \tab FY2027 \tab EPSG:5070 \tab gNATSGO map unit keys \cr + gssurgo \tab FY2027 \tab EPSG:5070 \tab gSSURGO map unit keys \cr + gu_ssurgo \tab FY2027 \tab EPSG:4326 \tab GU map unit keys \cr + hi_ssurgo \tab FY2027 \tab EPSG:6628 \tab HI map unit keys \cr + mp_ssurgo \tab FY2027 \tab EPSG:4326 \tab MP map unit keys \cr + pr_ssurgo \tab FY2027 \tab EPSG:32161 \tab PR map unit keys \cr + pw_ssurgo \tab FY2027 \tab EPSG:4326 \tab PW map unit keys \cr + rss \tab FY2026 \tab EPSG:5070 \tab RSS map unit keys \cr + statsgo \tab FY2027 \tab EPSG:5070 \tab STATSGO2 map unit keys \cr } diff --git a/man/soilColor.wcs.Rd b/man/soilColor.wcs.Rd index 8c037ea4..0160b3eb 100644 --- a/man/soilColor.wcs.Rd +++ b/man/soilColor.wcs.Rd @@ -30,80 +30,80 @@ When specified as a \code{list}, \code{aoi} should contain: The WCS query is parameterized using a rectangular extent derived from the above AOI specification, after conversion to the native CRS of the soil color grids. -Variables available from this WCS can be queried using \code{WCS_details(wcs = 'soilColor')}. The full resolution version of the CONUS soil color grids use a \code{hr} suffix, e.g. 'sc025cm_hr'.\tabular{lll}{ - var \tab crs \tab description \cr - ak_sc005cm \tab EPSG:3338 \tab Alaska, moist soil colors, 5cm (90m resolution) \cr - ak_sc010cm \tab EPSG:3338 \tab Alaska, moist soil colors, 10cm (90m resolution) \cr - ak_sc015cm \tab EPSG:3338 \tab Alaska, moist soil colors, 15cm (90m resolution) \cr - ak_sc025cm \tab EPSG:3338 \tab Alaska, moist soil colors, 25cm (90m resolution) \cr - ak_sc050cm \tab EPSG:3338 \tab Alaska, moist soil colors, 50cm (90m resolution) \cr - ak_sc075cm \tab EPSG:3338 \tab Alaska, moist soil colors, 75cm (90m resolution) \cr - ak_sc100cm \tab EPSG:3338 \tab Alaska, moist soil colors, 100cm (90m resolution) \cr - ak_sc125cm \tab EPSG:3338 \tab Alaska, moist soil colors, 125cm (90m resolution) \cr - as_sc005cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 5cm (approx. 30m resolution) \cr - as_sc010cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 10cm (approx. 30m resolution) \cr - as_sc015cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 15cm (approx. 30m resolution) \cr - as_sc025cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 25cm (approx. 30m resolution) \cr - as_sc050cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 50cm (approx. 30m resolution) \cr - as_sc075cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 75cm (approx. 30m resolution) \cr - as_sc100cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 100cm (approx. 30m resolution) \cr - as_sc125cm \tab EPSG:4326 \tab American Samoa, moist soil colors, 125cm (approx. 30m resolution) \cr - gu_sc005cm \tab EPSG:4326 \tab Guam, moist soil colors, 5cm (approx. 30m resolution) \cr - gu_sc010cm \tab EPSG:4326 \tab Guam, moist soil colors, 10cm (approx. 30m resolution) \cr - gu_sc015cm \tab EPSG:4326 \tab Guam, moist soil colors, 15cm (approx. 30m resolution) \cr - gu_sc025cm \tab EPSG:4326 \tab Guam, moist soil colors, 25cm (approx. 30m resolution) \cr - gu_sc050cm \tab EPSG:4326 \tab Guam, moist soil colors, 50cm (approx. 30m resolution) \cr - gu_sc075cm \tab EPSG:4326 \tab Guam, moist soil colors, 75cm (approx. 30m resolution) \cr - gu_sc100cm \tab EPSG:4326 \tab Guam, moist soil colors, 100cm (approx. 30m resolution) \cr - gu_sc125cm \tab EPSG:4326 \tab Guam, moist soil colors, 125cm (approx. 30m resolution) \cr - hi_sc005cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 5cm (30m resolution) \cr - hi_sc010cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 10cm (30m resolution) \cr - hi_sc015cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 15cm (30m resolution) \cr - hi_sc025cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 25cm (30m resolution) \cr - hi_sc050cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 50cm (30m resolution) \cr - hi_sc075cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 75cm (30m resolution) \cr - hi_sc100cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 100cm (30m resolution) \cr - hi_sc125cm \tab EPSG:6628 \tab Hawaii, moist soil colors, 125cm (30m resolution) \cr - mp_sc005cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 5cm (approx. 30m resolution) \cr - mp_sc010cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 10cm (approx. 30m resolution) \cr - mp_sc015cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 15cm (approx. 30m resolution) \cr - mp_sc025cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 25cm (approx. 30m resolution) \cr - mp_sc050cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 50cm (approx. 30m resolution) \cr - mp_sc075cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 75cm (approx. 30m resolution) \cr - mp_sc100cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 100cm (approx. 30m resolution) \cr - mp_sc125cm \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 125cm (approx. 30m resolution) \cr - pr_sc005cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 5cm (30m resolution) \cr - pr_sc010cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 10cm (30m resolution) \cr - pr_sc015cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 15cm (30m resolution) \cr - pr_sc025cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 25cm (30m resolution) \cr - pr_sc050cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 50cm (30m resolution) \cr - pr_sc075cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 75cm (30m resolution) \cr - pr_sc100cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 100cm (30m resolution) \cr - pr_sc125cm \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 125cm (30m resolution) \cr - pw_sc005cm \tab EPSG:4326 \tab Palau, moist soil colors, 5cm (approx. 30m resolution) \cr - pw_sc010cm \tab EPSG:4326 \tab Palau, moist soil colors, 10cm (approx. 30m resolution) \cr - pw_sc015cm \tab EPSG:4326 \tab Palau, moist soil colors, 15cm (approx. 30m resolution) \cr - pw_sc025cm \tab EPSG:4326 \tab Palau, moist soil colors, 25cm (approx. 30m resolution) \cr - pw_sc050cm \tab EPSG:4326 \tab Palau, moist soil colors, 50cm (approx. 30m resolution) \cr - pw_sc075cm \tab EPSG:4326 \tab Palau, moist soil colors, 75cm (approx. 30m resolution) \cr - pw_sc100cm \tab EPSG:4326 \tab Palau, moist soil colors, 100cm (approx. 30m resolution) \cr - pw_sc125cm \tab EPSG:4326 \tab Palau, moist soil colors, 125cm (approx. 30m resolution) \cr - sc005cm \tab EPSG:5070 \tab CONUS, moist soil color, 5cm (270m resolution) \cr - sc005cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 5cm (30m resolution) \cr - sc010cm \tab EPSG:5070 \tab CONUS, moist soil color, 10cm (270m resolution) \cr - sc010cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 10cm (30m resolution) \cr - sc015cm \tab EPSG:5070 \tab CONUS, moist soil color, 15cm (270m resolution) \cr - sc015cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 15cm (30m resolution) \cr - sc025cm \tab EPSG:5070 \tab CONUS, moist soil color, 25cm (270m resolution) \cr - sc025cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 25cm (30m resolution) \cr - sc050cm \tab EPSG:5070 \tab CONUS, moist soil color, 50cm (270m resolution) \cr - sc050cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 50cm (30m resolution) \cr - sc075cm \tab EPSG:5070 \tab CONUS, moist soil color, 75cm (270m resolution) \cr - sc075cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 75cm (30m resolution) \cr - sc100cm \tab EPSG:5070 \tab CONUS, moist soil color, 100cm (270m resolution) \cr - sc100cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 100cm (30m resolution) \cr - sc125cm \tab EPSG:5070 \tab CONUS, moist soil color, 125cm (270m resolution) \cr - sc125cm_hr \tab EPSG:5070 \tab CONUS, moist soil color, 125cm (30m resolution) \cr +Variables available from this WCS can be queried using \code{WCS_details(wcs = 'soilColor')}. The full resolution version of the CONUS soil color grids use a \code{hr} suffix, e.g. 'sc025cm_hr'.\tabular{llll}{ + var \tab vintage \tab crs \tab description \cr + ak_sc005cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 5cm (90m resolution) \cr + ak_sc010cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 10cm (90m resolution) \cr + ak_sc015cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 15cm (90m resolution) \cr + ak_sc025cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 25cm (90m resolution) \cr + ak_sc050cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 50cm (90m resolution) \cr + ak_sc075cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 75cm (90m resolution) \cr + ak_sc100cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 100cm (90m resolution) \cr + ak_sc125cm \tab FY2027 \tab EPSG:3338 \tab Alaska, moist soil colors, 125cm (90m resolution) \cr + as_sc005cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 5cm (approx. 30m resolution) \cr + as_sc010cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 10cm (approx. 30m resolution) \cr + as_sc015cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 15cm (approx. 30m resolution) \cr + as_sc025cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 25cm (approx. 30m resolution) \cr + as_sc050cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 50cm (approx. 30m resolution) \cr + as_sc075cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 75cm (approx. 30m resolution) \cr + as_sc100cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 100cm (approx. 30m resolution) \cr + as_sc125cm \tab FY2027 \tab EPSG:4326 \tab American Samoa, moist soil colors, 125cm (approx. 30m resolution) \cr + gu_sc005cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 5cm (approx. 30m resolution) \cr + gu_sc010cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 10cm (approx. 30m resolution) \cr + gu_sc015cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 15cm (approx. 30m resolution) \cr + gu_sc025cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 25cm (approx. 30m resolution) \cr + gu_sc050cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 50cm (approx. 30m resolution) \cr + gu_sc075cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 75cm (approx. 30m resolution) \cr + gu_sc100cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 100cm (approx. 30m resolution) \cr + gu_sc125cm \tab FY2027 \tab EPSG:4326 \tab Guam, moist soil colors, 125cm (approx. 30m resolution) \cr + hi_sc005cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 5cm (30m resolution) \cr + hi_sc010cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 10cm (30m resolution) \cr + hi_sc015cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 15cm (30m resolution) \cr + hi_sc025cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 25cm (30m resolution) \cr + hi_sc050cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 50cm (30m resolution) \cr + hi_sc075cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 75cm (30m resolution) \cr + hi_sc100cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 100cm (30m resolution) \cr + hi_sc125cm \tab FY2027 \tab EPSG:6628 \tab Hawaii, moist soil colors, 125cm (30m resolution) \cr + mp_sc005cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 5cm (approx. 30m resolution) \cr + mp_sc010cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 10cm (approx. 30m resolution) \cr + mp_sc015cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 15cm (approx. 30m resolution) \cr + mp_sc025cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 25cm (approx. 30m resolution) \cr + mp_sc050cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 50cm (approx. 30m resolution) \cr + mp_sc075cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 75cm (approx. 30m resolution) \cr + mp_sc100cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 100cm (approx. 30m resolution) \cr + mp_sc125cm \tab FY2027 \tab EPSG:4326 \tab Northern Mariana Islands, moist soil colors, 125cm (approx. 30m resolution) \cr + pr_sc005cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 5cm (30m resolution) \cr + pr_sc010cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 10cm (30m resolution) \cr + pr_sc015cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 15cm (30m resolution) \cr + pr_sc025cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 25cm (30m resolution) \cr + pr_sc050cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 50cm (30m resolution) \cr + pr_sc075cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 75cm (30m resolution) \cr + pr_sc100cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 100cm (30m resolution) \cr + pr_sc125cm \tab FY2027 \tab EPSG:32161 \tab Puerto Rico, moist soil colors, 125cm (30m resolution) \cr + pw_sc005cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 5cm (approx. 30m resolution) \cr + pw_sc010cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 10cm (approx. 30m resolution) \cr + pw_sc015cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 15cm (approx. 30m resolution) \cr + pw_sc025cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 25cm (approx. 30m resolution) \cr + pw_sc050cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 50cm (approx. 30m resolution) \cr + pw_sc075cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 75cm (approx. 30m resolution) \cr + pw_sc100cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 100cm (approx. 30m resolution) \cr + pw_sc125cm \tab FY2027 \tab EPSG:4326 \tab Palau, moist soil colors, 125cm (approx. 30m resolution) \cr + sc005cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 5cm (270m resolution) \cr + sc005cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 5cm (30m resolution) \cr + sc010cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 10cm (270m resolution) \cr + sc010cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 10cm (30m resolution) \cr + sc015cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 15cm (270m resolution) \cr + sc015cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 15cm (30m resolution) \cr + sc025cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 25cm (270m resolution) \cr + sc025cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 25cm (30m resolution) \cr + sc050cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 50cm (270m resolution) \cr + sc050cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 50cm (30m resolution) \cr + sc075cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 75cm (270m resolution) \cr + sc075cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 75cm (30m resolution) \cr + sc100cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 100cm (270m resolution) \cr + sc100cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 100cm (30m resolution) \cr + sc125cm \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 125cm (270m resolution) \cr + sc125cm_hr \tab FY2027 \tab EPSG:5070 \tab CONUS, moist soil color, 125cm (30m resolution) \cr } } \examples{ From a0a059e6822bf728364bd3e8e26e8b6518974c69 Mon Sep 17 00:00:00 2001 From: Dylan Beaudette Date: Tue, 10 Nov 2026 13:01:52 -0800 Subject: [PATCH 2/3] starting the processing modernizing fetchKSSL() back-end --- R/fetchKSSL.R | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/R/fetchKSSL.R b/R/fetchKSSL.R index 09f9a0d8..469ed843 100644 --- a/R/fetchKSSL.R +++ b/R/fetchKSSL.R @@ -46,7 +46,7 @@ .getExtended_SoilWeb <- function(f) { # KSSL geochem, XRD, glass - x <- URLencode(paste0('https://soilmap2-1.lawr.ucdavis.edu/soil_web/kssl/query.php?gzip=1&format=json&what=extended', f)) + x <- URLencode(paste0('https://casoilresource.lawr.ucdavis.edu/soil_web/kssl/query.php?gzip=1&format=json&what=extended', f)) # list of dataframe objects; note: missing data are returned as FALSE ext <- .soilDB_curl_get_JSON(x, gzip = TRUE, quiet = TRUE) @@ -59,7 +59,7 @@ .getMorphologic_SoilWeb <- function(f) { # NASIS morphology - x <- URLencode(paste0('https://soilmap2-1.lawr.ucdavis.edu/soil_web/kssl/query.php?gzip=1&format=json&what=nasis_morphologic', f)) + x <- URLencode(paste0('https://casoilresource.lawr.ucdavis.edu/soil_web/kssl/query.php?gzip=1&format=json&what=nasis_morphologic', f)) # list of dataframe objects; note: missing data are returned as FALSE m <- .soilDB_curl_get_JSON(x, gzip = TRUE, quiet = TRUE) @@ -73,7 +73,7 @@ .getKSSL_SoilWeb <- function(f) { # KSSL site + horizon - x <- URLencode(paste0('https://soilmap2-1.lawr.ucdavis.edu/soil_web/kssl/query.php?gzip=1&format=json&what=site_hz', f)) + x <- URLencode(paste0('https://casoilresource.lawr.ucdavis.edu/soil_web/kssl/query.php?gzip=1&format=json&what=site_hz', f)) # list of dataframe objects; note: missing data are returned as FALSE site_hz <- .soilDB_curl_get_JSON(x, gzip = TRUE, quiet = TRUE) @@ -92,7 +92,7 @@ # single record getter function, called by new vectorized interface -.fetchSingle_KSSL <- function(f, returnMorphologicData=FALSE, returnGeochemicalData=FALSE, simplifyColors=FALSE) { +.fetchSingle_KSSL <- function(f, returnMorphologicData = FALSE, returnGeochemicalData = FALSE, simplifyColors = FALSE) { if (!requireNamespace("aqp")) { stop("package 'aqp' is required", call. = FALSE) @@ -264,10 +264,10 @@ #' } #' #' @export fetchKSSL -fetchKSSL <- function(series=NA, bbox=NA, mlra=NA, pedlabsampnum=NA, pedon_id=NA, pedon_key=NA, returnMorphologicData=FALSE, returnGeochemicalData=FALSE, simplifyColors=FALSE, progress=TRUE) { +fetchKSSL <- function(series = NA, bbox = NA, mlra = NA, pedlabsampnum = NA, pedon_id = NA, pedon_key = NA, returnMorphologicData = FALSE, returnGeochemicalData = FALSE, simplifyColors = FALSE, progress = TRUE) { - if(!requireNamespace('jsonlite', quietly=TRUE)){ - stop('please install the `jsonlite` packages', call.=FALSE) + if(!requireNamespace('jsonlite', quietly = TRUE)){ + stop('please install the `jsonlite` packages', call. = FALSE) } if (!requireNamespace("aqp")) { From 1c3a729b75fac0ff3ee56caab0e8ae82819011fe Mon Sep 17 00:00:00 2001 From: Dylan Beaudette Date: Tue, 10 Nov 2026 13:09:14 -0800 Subject: [PATCH 3/3] removing bundled WCS specs, NEWS --- NEWS.md | 3 + R/WCS-utils.R | 1406 +------------------------------------------------ 2 files changed, 4 insertions(+), 1405 deletions(-) diff --git a/NEWS.md b/NEWS.md index 8d6c7e44..055cd01a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +# soilDB (development) + - WCS specifications now managed server-side via SoilWeb + # soilDB 2.9.3 (2026-09-17) - `createSSURGO()` fix bug in logical column handling (introduced in 2.9.2) due to metadata column type enforcement (#483) - Fix `structure()` usage of special argument names (.Label, .Names) in test fixtures for R-devel (#484) diff --git a/R/WCS-utils.R b/R/WCS-utils.R index f8b0d7dc..6ee2b3e5 100644 --- a/R/WCS-utils.R +++ b/R/WCS-utils.R @@ -1,11 +1,5 @@ -### - -# https://github.com/ncss-tech/soilDB/issues/450 - -# trying to do more with WCS metadata, -# still very limited -# # ISSR800 getCapabilities still doesn't work, why? +## TODO: ISSR800 getCapabilities still doesn't work, why? # https://casoilresource.lawr.ucdavis.edu/cgi-bin/mapserv?map=isr800-wcs&SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCapabilities # stay in holding pattern until resolved @@ -242,1401 +236,3 @@ WCS_details <- function(wcs = c('mukey', 'ISSR800', 'soilColor')) { } -# ## moist soil colors -# # these are 16bit (unsigned) integers -# # these maps all share the same RAT -# .soilColorRAT <- 'http://casoilresource.lawr.ucdavis.edu/wcs-files/soilcolor/current/unique-moist-color-LUT.csv' -# .soilColor.spec <- list( -# -# 'pr_sc005cm' = list( -# dsn = 'pr_sc005cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 5cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'pr_sc010cm' = list( -# dsn = 'pr_sc010cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 10cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'pr_sc015cm' = list( -# dsn = 'pr_sc015cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 15cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'pr_sc025cm' = list( -# dsn = 'pr_sc025cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 25cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'pr_sc050cm' = list( -# dsn = 'pr_sc050cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 50cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'pr_sc075cm' = list( -# dsn = 'pr_sc075cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 75cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'pr_sc100cm' = list( -# dsn = 'pr_sc100cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 100cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'pr_sc125cm' = list( -# dsn = 'pr_sc125cm', -# type = 'GEOTIFF_16', -# desc = 'Puerto Rico, moist soil colors, 125cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:32161', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'ak_sc005cm' = list( -# dsn = 'ak_sc005cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 5cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# 'ak_sc010cm' = list( -# dsn = 'ak_sc010cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 10cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# 'ak_sc015cm' = list( -# dsn = 'ak_sc015cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 15cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# 'ak_sc025cm' = list( -# dsn = 'ak_sc025cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 25cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# 'ak_sc050cm' = list( -# dsn = 'ak_sc050cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 50cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# 'ak_sc075cm' = list( -# dsn = 'ak_sc075cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 75cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# 'ak_sc100cm' = list( -# dsn = 'ak_sc100cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 100cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# 'ak_sc125cm' = list( -# dsn = 'ak_sc125cm', -# type = 'GEOTIFF_16', -# desc = 'Alaska, moist soil colors, 125cm (90m resolution)', -# na = 32767, -# crs = 'EPSG:3338', -# res = 90, -# rat = .soilColorRAT -# ), -# -# # these are geographic coordinates, must specify resolution in DD -# # approximately 30m -# 'pw_sc005cm' = list( -# dsn = 'pw_sc005cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 5cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'pw_sc010cm' = list( -# dsn = 'pw_sc010cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 10cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'pw_sc015cm' = list( -# dsn = 'pw_sc015cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 15cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'pw_sc025cm' = list( -# dsn = 'pw_sc025cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 25cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'pw_sc050cm' = list( -# dsn = 'pw_sc050cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 50cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'pw_sc075cm' = list( -# dsn = 'pw_sc075cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 75cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'pw_sc100cm' = list( -# dsn = 'pw_sc100cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 100cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'pw_sc125cm' = list( -# dsn = 'pw_sc125cm', -# type = 'GEOTIFF_16', -# desc = 'Palau, moist soil colors, 125cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277786077614, -# rat = .soilColorRAT -# ), -# -# 'hi_sc005cm' = list( -# dsn = 'hi_sc005cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 5cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'hi_sc010cm' = list( -# dsn = 'hi_sc010cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 10cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'hi_sc015cm' = list( -# dsn = 'hi_sc015cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 15cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'hi_sc025cm' = list( -# dsn = 'hi_sc025cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 25cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'hi_sc050cm' = list( -# dsn = 'hi_sc050cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 50cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'hi_sc075cm' = list( -# dsn = 'hi_sc075cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 75cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'hi_sc100cm' = list( -# dsn = 'hi_sc100cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 100cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'hi_sc125cm' = list( -# dsn = 'hi_sc125cm', -# type = 'GEOTIFF_16', -# desc = 'Hawaii, moist soil colors, 125cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:6628', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'gu_sc005cm' = list( -# dsn = 'gu_sc005cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 5cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'gu_sc010cm' = list( -# dsn = 'gu_sc010cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 10cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'gu_sc015cm' = list( -# dsn = 'gu_sc015cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 15cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'gu_sc025cm' = list( -# dsn = 'gu_sc025cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 25cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'gu_sc050cm' = list( -# dsn = 'gu_sc050cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 50cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'gu_sc075cm' = list( -# dsn = 'gu_sc075cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 75cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'gu_sc100cm' = list( -# dsn = 'gu_sc100cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 100cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'gu_sc125cm' = list( -# dsn = 'gu_sc125cm', -# type = 'GEOTIFF_16', -# desc = 'Guam, moist soil colors, 125cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277776150910, -# rat = .soilColorRAT -# ), -# -# 'as_sc005cm' = list( -# dsn = 'as_sc005cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 5cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'as_sc010cm' = list( -# dsn = 'as_sc010cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 10cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'as_sc015cm' = list( -# dsn = 'as_sc015cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 15cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'as_sc025cm' = list( -# dsn = 'as_sc025cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 25cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'as_sc050cm' = list( -# dsn = 'as_sc050cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 50cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'as_sc075cm' = list( -# dsn = 'as_sc075cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 75cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'as_sc100cm' = list( -# dsn = 'as_sc100cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 100cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'as_sc125cm' = list( -# dsn = 'as_sc125cm', -# type = 'GEOTIFF_16', -# desc = 'American Samoa, moist soil colors, 125cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277756381372, -# rat = .soilColorRAT -# ), -# -# 'mp_sc005cm' = list( -# dsn = 'mp_sc005cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 5cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# 'mp_sc010cm' = list( -# dsn = 'mp_sc010cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 10cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# 'mp_sc015cm' = list( -# dsn = 'mp_sc015cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 15cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# 'mp_sc025cm' = list( -# dsn = 'mp_sc025cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 25cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# 'mp_sc050cm' = list( -# dsn = 'mp_sc050cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 50cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# 'mp_sc075cm' = list( -# dsn = 'mp_sc075cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 75cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# 'mp_sc100cm' = list( -# dsn = 'mp_sc100cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 100cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# 'mp_sc125cm' = list( -# dsn = 'mp_sc125cm', -# type = 'GEOTIFF_16', -# desc = 'Northern Mariana Islands, moist soil colors, 125cm (approx. 30m resolution)', -# na = 32767, -# crs = 'EPSG:4326', -# res = 0.000277791905324, -# rat = .soilColorRAT -# ), -# -# -# -# 'sc005cm' = list( -# dsn = 'sc005cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 5cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# 'sc010cm' = list( -# dsn = 'sc010cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 10cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# 'sc015cm' = list( -# dsn = 'sc015cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 15cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# 'sc025cm' = list( -# dsn = 'sc025cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 25cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# 'sc050cm' = list( -# dsn = 'sc050cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 50cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# 'sc075cm' = list( -# dsn = 'sc075cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 75cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# 'sc100cm' = list( -# dsn = 'sc100cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 100cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# 'sc125cm' = list( -# dsn = 'sc125cm', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 125cm (270m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 270, -# rat = .soilColorRAT -# ), -# -# -# 'sc005cm_hr' = list( -# dsn = 'sc005cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 5cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'sc010cm_hr' = list( -# dsn = 'sc010cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 10cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'sc015cm_hr' = list( -# dsn = 'sc015cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 15cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'sc025cm_hr' = list( -# dsn = 'sc025cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 25cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'sc050cm_hr' = list( -# dsn = 'sc050cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 50cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'sc075cm_hr' = list( -# dsn = 'sc075cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 75cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'sc100cm_hr' = list( -# dsn = 'sc100cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 100cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ), -# -# 'sc125cm_hr' = list( -# dsn = 'sc125cm_hr', -# type = 'GEOTIFF_16', -# desc = 'CONUS, moist soil color, 125cm (30m resolution)', -# na = 32767, -# crs = 'EPSG:5070', -# res = 30, -# rat = .soilColorRAT -# ) -# ) - - -## TODO: next release include suggested colors - -# ISSR-800 layers and basic metadata -# .ISSR800.spec <- list( -# -# 'statsgo_pct' = list( -# dsn = 'statsgo_pct', -# type = 'GEOTIFF_FLOAT', -# desc = 'STATSGO data available, fraction of 800x800m grid cell', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'ssurgo_pct' = list( -# dsn = 'ssurgo_pct', -# type = 'GEOTIFF_FLOAT', -# desc = 'SSURGO data available, fraction of 800x800m grid cell', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'om_kg_sq_m' = list( -# dsn = 'om_kg_sq_m', -# type = 'GEOTIFF_FLOAT', -# desc = 'Total Soil Organic Matter (kg/m^2)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'caco3_kg_sq_m' = list( -# dsn = 'caco3_kg_sq_m', -# type = 'GEOTIFF_FLOAT', -# desc = 'Total CaCO3 (kg/m^2)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'ec_05cm' = list( -# dsn = 'ec_05cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'EC 0-5cm depth (dS/m)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'ec_025cm' = list( -# dsn = 'ec_025cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'EC 0-25cm depth (dS/m)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'cec_05cm' = list( -# dsn = 'cec_05cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'CEC at pH 7 0-5cm depth (cmol[+]/kg)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'cec_025cm' = list( -# dsn = 'cec_025cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'CEC at pH 7 0-25cm depth (cmol[+]/kg)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'cec_050cm' = list( -# dsn = 'cec_050cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'CEC at pH 7 0-50cm depth (cmol[+]/kg)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'paws' = list( -# dsn = 'paws', -# type = 'GEOTIFF_FLOAT', -# desc = 'total plant available water storage (cm water)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'paws_050cm' = list( -# dsn = 'paws_050cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'plant available water storage 0-50cm depth (cm water)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'paws_025cm' = list( -# dsn = 'paws_025cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'plant available water storage 0-25cm depth (cm water)', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'ph_05cm' = list( -# dsn = 'ph_05cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'pH 1:1 H2O 0-5cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'ph_025cm' = list( -# dsn = 'ph_025cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'pH 1:1 H2O 0-25cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'ph_2550cm' = list( -# dsn = 'ph_2550cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'pH 1:1 H2O 25-50cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'ph_3060cm' = list( -# dsn = 'ph_3060cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'pH 1:1 H2O 30-60cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'clay_05cm' = list( -# dsn = 'clay_05cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'clay percent 0-5cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'clay_025cm' = list( -# dsn = 'clay_025cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'clay percent 0-25cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'clay_2550cm' = list( -# dsn = 'clay_2550cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'clay percent 25-50cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'clay_3060cm' = list( -# dsn = 'clay_3060cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'clay percent 30-60cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'sand_05cm' = list( -# dsn = 'sand_05cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'sand percent 0-5cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'sand_025cm' = list( -# dsn = 'sand_025cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'sand percent 0-25cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'sand_2550cm' = list( -# dsn = 'sand_2550cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'sand percent 25-50cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'sand_3060cm' = list( -# dsn = 'sand_3060cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'sand percent 30-60cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'silt_05cm' = list( -# dsn = 'silt_05cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'silt percent 0-5cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'silt_025cm' = list( -# dsn = 'silt_025cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'silt percent 0-25cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'silt_2550cm' = list( -# dsn = 'silt_2550cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'silt percent 25-50cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'silt_3060cm' = list( -# dsn = 'silt_3060cm', -# type = 'GEOTIFF_FLOAT', -# desc = 'silt percent 30-60cm depth', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'sar' = list( -# dsn = 'sar', -# type = 'GEOTIFF_FLOAT', -# desc = 'SAR, entire profile', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'series_name' = list( -# dsn = 'series_name', -# type = 'GEOTIFF_16', -# desc = 'Soil Series Name', -# na = 32767, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/series_name.csv' -# ), -# -# 'hydgrp' = list( -# dsn = 'hydgrp', -# type = 'GEOTIFF_BYTE', -# desc = 'Hydrologic Soil Group', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/hydgrp.csv' -# ), -# -# -# 'drainage_class' = list( -# dsn = 'drainage_class', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Drainage Class', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/drainage_class.csv' -# ), -# -# 'weg' = list( -# dsn = 'weg', -# type = 'GEOTIFF_BYTE', -# desc = 'Wind Erodibility Group', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/weg.csv' -# ), -# -# 'wei' = list( -# dsn = 'wei', -# type = 'GEOTIFF_FLOAT', -# na = -9999, -# crs = 'EPSG:5070', -# res = 800, -# desc = 'Wind Erodibility Index', -# rat = NULL -# ), -# -# 'str' = list( -# dsn = 'str', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Temperature Regime', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/str.csv' -# ), -# -# 'soilorder' = list( -# dsn = 'soilorder', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Taxonomy: Soil Order', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/soilorder.csv' -# ), -# -# 'suborder' = list( -# dsn = 'suborder', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Taxonomy: Suborder', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/suborder.csv' -# ), -# -# 'greatgroup' = list( -# dsn = 'greatgroup', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Taxonomy: Greatgroup', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/greatgroup.csv' -# ), -# -# 'texture_05cm' = list( -# dsn = 'texture_05cm', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Texture Class, 0-5cm', -# na = 255, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_05.csv' -# ), -# -# 'texture_025cm' = list( -# dsn = 'texture_025cm', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Texture Class, 0-25cm', -# na = 255, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_025.csv' -# ), -# -# 'texture_2550cm' = list( -# dsn = 'texture_2550cm', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil Texture Class, 25-50cm', -# na = 255, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/texture_2550.csv' -# ), -# -# 'lcc_irrigated' = list( -# dsn = 'lcc_irrigated', -# type = 'GEOTIFF_BYTE', -# desc = 'Land Capability Class, irrigated', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/lcc.csv' -# ), -# -# 'lcc_nonirrigated' = list( -# dsn = 'lcc_nonirrigated', -# type = 'GEOTIFF_BYTE', -# desc = 'Land Capability Class, non-irrigated', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/lcc.csv' -# ), -# -# 'survey_type' = list( -# dsn = 'survey_type', -# type = 'GEOTIFF_BYTE', -# desc = 'Soil survey data source', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = 'http://casoilresource.lawr.ucdavis.edu/800m_grids/RAT/survey_type.csv' -# ), -# -# 'n_polygons' = list( -# dsn = 'n_polygons', -# type = 'GEOTIFF_BYTE', -# desc = 'Number of polygons per grid cell', -# na = 0, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ), -# -# 'n_components' = list( -# dsn = 'n_components', -# type = 'GEOTIFF_16', -# desc = 'Number of components per grid cell', -# na = 32767, -# crs = 'EPSG:5070', -# res = 800, -# rat = NULL -# ) -# -# -# ) - - -## -## TODO: -## -## * host WCS specifications as JSON on server so that changes don't require a soilDB release -## * each suite of products should have their own spec -## * remove xx.spec lists from soilDB -## * top-level names in specs via JSON are used to determine available products -## * are we just re-inventing a crummy version of STAC? -## -# ext(xmin, xmax, ymin, ymax) - - -# .mukey.spec <- list( -# -# 'gnatsgo' = list( -# dsn = 'gnatsgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'gNATSGO map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 97053, ncols = 153996), -# ext = c(-2356125, 2263755, 260985, 3172575) -# ), -# na = 0, -# crs = 'EPSG:5070', -# res = 30, -# rat = NULL -# ), -# -# 'gssurgo' = list( -# dsn = 'gssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'gSSURGO map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 97053, ncols = 153996), -# ext = c(-2356125, 2263755, 260985, 3172575) -# ), -# na = 0, -# crs = 'EPSG:5070', -# res = 30, -# rat = NULL -# ), -# -# 'fssurgo' = list( -# dsn = 'fssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'SSURGO/STATSGO2 map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 97053, ncols = 153996), -# ext = c(-2356125, 2263755, 260985, 3172575) -# ), -# na = 0, -# crs = 'EPSG:5070', -# res = 30, -# rat = NULL -# ), -# -# 'statsgo' = list( -# dsn = 'statsgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'STATSGO2 map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 97053, ncols = 153996), -# ext = c(-2356125, 2263755, 260985, 3172575) -# ), -# na = 4294967295, -# crs = 'EPSG:5070', -# res = 30, -# rat = NULL -# ), -# -# 'hi_ssurgo' = list( -# dsn = 'hi_ssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'HI map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 12441, ncols = 17193), -# ext = c(56992, 572768, 8585, 381800) -# ), -# na = 0, -# crs = 'EPSG:6628', -# res = 30, -# rat = NULL -# ), -# -# 'pr_ssurgo' = list( -# dsn = 'pr_ssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'PR map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 3466, ncols = 12311), -# ext = c(34344, 403687, 177453, 281438) -# ), -# na = 0, -# crs = 'EPSG:32161', -# res = 30, -# rat = NULL -# ), -# -# 'ak_ssurgo' = list( -# dsn = 'ak_ssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'AK map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 21945, ncols = 40765), -# ext = c(-2175732, 1493128, 408838, 2383910) -# ), -# na = 0, -# crs = 'EPSG:3338', -# res = 30, -# rat = NULL -# ), -# -# 'pw_ssurgo' = list( -# dsn = 'pw_ssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'PW map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 18440, ncols = 12963), -# ext = c(131.120121813039, 134.721062737144, 2.97196562862596, 8.09408586748881) -# ), -# na = 0, -# crs = 'EPSG:4326', -# res = 0.0002777861, -# rat = NULL -# ), -# -# 'gu_ssurgo' = list( -# dsn = 'gu_ssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'GU map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 1513, ncols = 1220), -# ext = c(144.618068517806, 144.956955421916, 13.2340187307932, 13.6544204140536) -# ), -# na = 0, -# crs = 'EPSG:4326', -# res = 0.0002777762, -# rat = NULL -# ), -# -# 'as_ssurgo' = list( -# dsn = 'as_ssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'AS map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 787, ncols = 5142), -# ext = c(-170.846799186076, -169.418575873062, -14.3738552052458, -14.1553617420328) -# ), -# na = 0, -# crs = 'EPSG:4326', -# res = 0.0002777564, -# rat = NULL -# ), -# -# 'mp_ssurgo' = list( -# dsn = 'mp_ssurgo', -# type = 'GEOTIFF_FLOAT', -# desc = 'MP map unit keys', -# vintage = 'FY2027', -# grid = list( -# dim = c(nrows = 16930, ncols = 2632), -# ext = c(145.121303441146, 145.852451735958, 14.1104128808407, 18.8132500297094) -# ), -# na = 0, -# crs = 'EPSG:4326', -# res = 0.0002777919, -# rat = NULL -# ), -# -# 'rss' = list( -# dsn = 'rss', -# type = 'GEOTIFF_FLOAT', -# desc = 'RSS map unit keys', -# vintage = 'FY2026', -# grid = list( -# dim = c(nrows = 97053, ncols = 153996), -# ext = c(-2356125, 2263755, 260985, 3172575) -# ), -# na = 0, -# crs = 'EPSG:5070', -# res = 30, -# rat = NULL -# ) -# ) -