Skip to content
Snippets Groups Projects
Commit 00b7d5ec authored by Bock, Andy's avatar Bock, Andy
Browse files

Removed cat_rpu function

parent 2625bdf7
No related branches found
No related tags found
1 merge request!97Cat_RPU and minor fixes
......@@ -36,21 +36,6 @@ nhd_rds <- fix_headwaters(staged_nhd$flowline, gsub("flowline.rds", "flowline_up
nhdplusTools_data_dir(dir = data_paths$nhdplus_dir)
atts <- readRDS(file.path(data_paths$nhdplus_dir, "nhdplus_flowline_attributes.rds"))
# Create full cat dataset
if(!file.exists(file.path(data_paths$nhdplus_dir, cat_table))){
if(substr(rpu_code, 1, 2) == "20") {
nhd_gdb <- data_paths$islands_gdb
cat_rds <- readRDS(file.path(data_paths$islands_dir, "nhdplus_catchment.rds"))
} else {
nhd_gdb <- data_paths$nhdplus_gdb
cat_rds <- readRDS(file.path(data_paths$nhdplus_dir, "nhdplus_catchment.rds"))
}
cat_tab <- cat_rpu(cat_rds, nhd_gdb, vpu)
saveRDS(cat_tab, file.path(data_paths$nhdplus_dir, cat_table))
}
```
```{r huc12 POIs}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment