Skip to content

Commit

Permalink
metadata note
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbeaudette committed Jan 11, 2024
1 parent e6be4ff commit 35efa15
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 15 deletions.
14 changes: 7 additions & 7 deletions AQP/soilDB/WCS-demonstration-01.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ plot(mu, legend = FALSE, axes = FALSE, main = metags(mu, name = 'description'))
plot(st_transform(x, 5070), add = TRUE)
```

### Metadata
Print attached metadata with the `terra::metags()` function. Currently, a short description and "vintage" are included. The gNATSGO, gSSURGO, and derivatives are typically created 2-3 months after the annual SSURGO refresh on October 1st of each year (beginning of US federal fiscal year).
```{r, results='asis', echo=FALSE}
# pretty-print metadata
kableExtra::kable_styling(knitr::kable(t(metags(mu)), format = 'html'))
```


A buffer applied to a [single WGS84 coordinate](https://casoilresource.lawr.ucdavis.edu/gmap/?loc=36.52578,-118.55639,z13) can create a BBOX:
```{r fig.width = 5, fig.height = 5}
Expand Down Expand Up @@ -175,13 +182,6 @@ plot(st_transform(p, 5070), add = TRUE, pch = 16)
```









# Setup
Need the latest version of `soilDB` and `terra`, along with all packages specified below (CRAN versions fine).
```{r eval = FALSE}
Expand Down
46 changes: 38 additions & 8 deletions AQP/soilDB/WCS-demonstration-01.html

Large diffs are not rendered by default.

0 comments on commit 35efa15

Please sign in to comment.