Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
reference-hydrofabric
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Water Mission Area
nhgf
reference-hydrofabric
Commits
2625bdf7
Commit
2625bdf7
authored
3 years ago
by
Bock, Andy
Browse files
Options
Downloads
Patches
Plain Diff
Added fullcats for CONUS and HI here
parent
8c91d274
No related branches found
No related tags found
1 merge request
!97
Cat_RPU and minor fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workspace/00_get_data.Rmd
+20
-0
20 additions, 0 deletions
workspace/00_get_data.Rmd
with
20 additions
and
0 deletions
workspace/00_get_data.Rmd
+
20
−
0
View file @
2625bdf7
...
@@ -19,6 +19,7 @@ library(tidyr)
...
@@ -19,6 +19,7 @@ library(tidyr)
library(dplyr)
library(dplyr)
library(sf)
library(sf)
source("R/utils.R")
if(!dir.exists("data")) {dir.create("data")}
if(!dir.exists("data")) {dir.create("data")}
if(!dir.exists("bin")) {dir.create("bin")}
if(!dir.exists("bin")) {dir.create("bin")}
...
@@ -274,6 +275,25 @@ if(!file.exists(waterbodies_path)) {
...
@@ -274,6 +275,25 @@ if(!file.exists(waterbodies_path)) {
out_list <- c(out_list, list(waterbodies_path = waterbodies_path))
out_list <- c(out_list, list(waterbodies_path = waterbodies_path))
```
```
```{r NHDPlusV2 Full cats}
fullcat_path <- file.path(nhdplus_dir, "nhdcat_full.rds")
islandcat_path <- file.path(data_paths$islands_dir, "nhdcat_full.rds")
# Create full cat dataset
if(!file.exists(fullcat_path)){
cat_tab <- cat_rpu(staged_nhd$catchment, nhdplus_gdb)
saveRDS(cat_tab, fullcat_path)
island_cats <- file.path(data_paths$islands_dir, "NHDPlusNationalData/nhdplus_catchment.rds")
island_tab <- cat_rpu(island_cats, data_paths$islands_gdb)
saveRDS(island_tab, islandcat_path)
}
out_list <- c(out_list, list(fullcats_table = fullcat_path))
out_list <- c(out_list, list(islandcats_table = islandcat_path))
```
```{r NHDPlusV2 FDR_FAC}
```{r NHDPlusV2 FDR_FAC}
# NHDPlus FDR/FAC grids available by raster processing unit
# NHDPlus FDR/FAC grids available by raster processing unit
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment