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
2a513b2c
Commit
2a513b2c
authored
1 year ago
by
Bock, Andy
Browse files
Options
Downloads
Patches
Plain Diff
file for user POI vars
parent
233a5232
No related branches found
No related tags found
1 merge request
!178
"get_data" and config update
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workspace/R/user_vars.R
+54
-0
54 additions, 0 deletions
workspace/R/user_vars.R
with
54 additions
and
0 deletions
workspace/R/user_vars.R
0 → 100644
+
54
−
0
View file @
2a513b2c
Sys.setenv
(
sb_user
=
"abock"
)
# Path mods
path_mod
<-
TRUE
if
(
path_mod
){
old_path
<-
Sys.getenv
(
"PATH"
)
Sys.setenv
(
PATH
=
paste
(
old_path
,
"C:\\Program Files\\7-zip"
,
sep
=
";"
))
}
# CRS for projected and geographic reference systems
geo_crs
<-
4326
proj_crs
<-
5070
# Variables used in 01_Gage_Selection
# Earliest start data for streamgage inclusion into POI selection
# with mean daily streamflow
POR_Start
<-
as.Date
(
"1979-10-01"
)
# Minimum number of days with mean daily streamflow to be considered as
# inclusion into POI selection (non-inclusive of start date)
min_obs
<-
90
# POI thresholds
# Minimum drainage area for gages (square kilometers)
min_da_km_gages
<-
5
# Variables used during 02_Navigate
wb_area_thresh
<-
1
# Waterbody size for inclusion as POI
# minimum/max drainage area for headwaters(square kilometers)
min_da_km_hw
<-
40
max_da_km_hw
<-
60
# Max difference in elevation within a single segment/POI (centimeters)
elev_diff
<-
50000
# Max number of travel time hours between adjacent POIS
travt_diff
<-
24
# Maximum total drainage area to consider a travel time break
max_elev_TT_DA
<-
10
# maximum proportional drainage area difference to collapse adjacent POIs
poi_dar_move
<-
.05
poi_distance_move
<-
2.5
# Settings for refactor workflow
split_meters
<-
10000
combine_meters
<-
1000
min_da_km
<-
40
reach_meas_thresh
<-
10
aggregate_da_thresh_sqkm
<-
3
# parallel factor for catchment reconciliation.
para_reconcile
<-
2
para_split_flines
<-
2
keep_cat_points
<-
1
# Variables used during 07-2_NonDend
CAC_thresh
<-
0.66
# Coefficient of areal correspondence threshold
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