-
Notifications
You must be signed in to change notification settings - Fork 11
/
stream_cat_config.py.template
66 lines (55 loc) · 2.12 KB
/
stream_cat_config.py.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#Local directory
LOCAL_DIR = "/path/to/local/repository"
# location of the landscape layers to perform statistics on
LYR_DIR = "/path/to/landscape/layers"
# ("O:/PRIV/CPHEA/PESD/COR/CORFiles/Geospatial_Library_Projects"
# "/StreamCat/LandscapeRasters/QAComplete")
# location of the NHDPlus, indicate the top-level directory
NHD_DIR = "/path/to/NHDPlusV21"
# TIGER shapefile is needed for calculaitng the `PctFull` values of Point type
# metrics as well as organizing the final tables into separate files for states.
# TODO: get the URL of this file
STATES_FILE = "/path/to/file/tl_2008_us_state.shp"
# ("L:/Priv/CORFiles/Geospatial_Library_Resource"
# "/POLITICAL/BOUNDARIES/NATIONAL/tl_2008_us_state.shp")
ACCUM_DIR = "path/to/local/repository/accump_npy/"
# location to write out accumulated StreamCat data <- this is intermediate
OUT_DIR = "/path/to/write/out/files/to"
# ("O:/PRIV/CPHEA/PESD/COR/CORFiles/Geospatial_Library_Projects"
# "/StreamCat/Allocation_and_Accumulation")
# location for the final tables
FINAL_DIR = "/path/to/where/you/want/final/tables"
# ("O:/PRIV/CPHEA/PESD/COR/CORFiles/Geospatial_Library_Projects"
# "/StreamCat/FTP_Staging/HydroRegions")
# below are the directories that hold the mask rasters by VPU
# TODO: need to figure a better way to handle this
MASK_DIR_RP100 = "D:/Projects/Masks/RipBuf100"
MASK_DIR_SLP10 = "D:/Projects/Masks/midslope"
MASK_DIR_SLP20 = "D:/Projects/Masks/highslope"
# files that hold the pct_full data, created from ???
PCT_FULL_FILE = "L:/Priv/CORFiles/Geospatial_Library_Projects/StreamCat/ControlTables/ALL_BORDER_CATS.csv"
PCT_FULL_FILE_RP100 = "L:/Priv/CORFiles/Geospatial_Library_Projects/StreamCat/ControlTables/ALL_BORDER_CATS_Rp100.csv"
# these are the evaluated lengths of each VPU table when finished.
LENGTHS = {
"01": 65968,
"02": 126185,
"03N": 132903,
"03S": 55586,
"03W": 135522,
"04": 105452,
"05": 170145,
"06": 57642,
"07": 183667,
"08": 151544,
"09": 29776,
"10L": 196552,
"10U": 256645,
"11": 204120,
"12": 68127,
"13": 56220,
"14": 83084,
"15": 100243,
"16": 95143,
"17": 231698,
"18": 140835,
}