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

Needed to fix one thing

parent ba1e3f27
No related branches found
No related tags found
1 merge request!97Cat_RPU and minor fixes
......@@ -40,12 +40,10 @@ atts <- readRDS(file.path(data_paths$nhdplus_dir, "nhdplus_flowline_attributes.r
# 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
fl <- read_sf(data_paths$islands_gdb, "NHDFlowline_Network") %>%
align_nhdplus_names()
nhd_gdb <- data_paths$islands_gdb
cat_rds <- readRDS(file.path(data_paths$islands_dir, "nhdplus_catchment.rds"))
} else {
fl <- read_sf(data_paths$nhdplus_gdb, "NHDFlowline_Network")
nhd_gdb <- data_paths$nhdplus_gdb
cat_rds <- readRDS(file.path(data_paths$nhdplus_dir, "nhdplus_catchment.rds"))
}
......
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