Skip to content

Commit

Permalink
Merge pull request #378 from dblodgett-usgs/main
Browse files Browse the repository at this point in the history
doco
  • Loading branch information
dblodgett-usgs authored Mar 24, 2024
2 parents f76fa3d + ca838df commit 4372a01
Show file tree
Hide file tree
Showing 29 changed files with 155 additions and 200 deletions.
13 changes: 7 additions & 6 deletions R/plot_nhdplus.R
Original file line number Diff line number Diff line change
Expand Up @@ -190,21 +190,21 @@ plot_nhdplus <- function(outlets = NULL, bbox = NULL, streamorder = NULL,
# plot(gt(catchment), lwd = 0.5, col = NA, border = "grey", add = TRUE)
if(!is.null(pd$basin))
graphics::plot(gt(pd$basin), lwd = st$basin$lwd, col = st$basin$col,
border = st$basin$border, add = TRUE)
border = st$basin$border, add = TRUE, reset = FALSE)
if(!is.null(pd$network_wtbd))
graphics::plot(gt(pd$network_wtbd),
lwd = st$network_wtbd$lwd,
col = st$network_wtbd$col,
border = st$network_wtbd$border, add = TRUE)
border = st$network_wtbd$border, add = TRUE, reset = FALSE)
if(!is.null(pd$off_network_wtbd))
graphics::plot(gt(pd$off_network_wtbd),
lwd = st$off_network_wtbd$lwd,
col = st$off_network_wtbd$col,
border = st$off_network_wtbd$border, add = TRUE)
border = st$off_network_wtbd$border, add = TRUE, reset = FALSE)
graphics::plot(gt(pd$flowline),
lwd = st$flowline$lwd,
col = st$flowline$col,
add = TRUE)
add = TRUE, reset = FALSE)
if(!is.null(pd$outlets)) {
for(type in unique(pd$outlets$type)) {
st_type <- "default"
Expand All @@ -213,7 +213,7 @@ plot_nhdplus <- function(outlets = NULL, bbox = NULL, streamorder = NULL,
col = st$outlets[[st_type]]$col,
pch = st$outlets[[st_type]]$pch,
bg = st$outlets[[st_type]]$bg,
cex = st$outlets[[st_type]]$cex, add = TRUE)
cex = st$outlets[[st_type]]$cex, add = TRUE, reset = FALSE)
}
}
})
Expand Down Expand Up @@ -349,7 +349,8 @@ get_plot_data <- function(outlets = NULL, bbox = NULL,
}

if(!is.null(bbox)) {
flowline <- dl_plot_data_by_bbox(bbox, nhdplus_data, gpkg, overwrite, streamorder = streamorder)
flowline <- dl_plot_data_by_bbox(bbox, nhdplus_data, gpkg, overwrite,
streamorder = streamorder, flowline_only = flowline_only)
catchment <- flowline$catchment
basin <- flowline$basin
nexus <- flowline$nexus
Expand Down
145 changes: 108 additions & 37 deletions docs/articles/get_3dhp_data.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ articles:
nhdplushr: nhdplushr.html
nhdplusTools: nhdplusTools.html
plot_nhdplus: plot_nhdplus.html
last_built: 2024-03-24T00:53Z
last_built: 2024-03-24T02:17Z
urls:
reference: https://doi-usgs.github.io/nhdplusTools/reference
article: https://doi-usgs.github.io/nhdplusTools/articles
Expand Down
Binary file modified docs/reference/Rplot010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/reference/get_3dhp.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/reference/get_elev_along_path-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 0 additions & 14 deletions docs/reference/get_elev_along_path.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/reference/get_nldi_index-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 0 additions & 15 deletions docs/reference/get_nldi_index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/reference/get_pfaf-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/get_raindrop_trace-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 0 additions & 15 deletions docs/reference/get_raindrop_trace.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/reference/get_split_catchment-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/get_split_catchment-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/get_split_catchment-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 0 additions & 48 deletions docs/reference/get_split_catchment.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/reference/get_xs_point-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4372a01

Please sign in to comment.