Skip to content
Snippets Groups Projects
Commit 5d9b32e0 authored by Blodgett, David L.'s avatar Blodgett, David L.
Browse files

add mainstem lookup csv

parent 893c3ed4
No related branches found
No related tags found
1 merge request!134csv to gz
......@@ -185,10 +185,13 @@ fline <- right_join(fline, net_new, by = c("COMID" = "comid"))
write_sf(fline, "cache/enhd_atts_fline.gpkg")
fst::write_fst(net_new, "cache/enhd_nhdplusatts.fst")
arrow::write_parquet(net_new, "cache/enhd_nhdplusatts.parquet")
# Only used once.
# mainstem_lookup <- select(net_new, nhdpv2_comid = comid, mainstem_id = levelpathi)
# readr::write_csv(mainstem_lookup, "data/mainstem_lookup.csv")
### ONLY RUN IF CHANGED ###
# sbtools::authenticate_sb()
# sbtools::item_replace_files("60c92503d34e86b9389df1c9", "cache/enhd_nhdplusatts.csv")
......
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