Skip to content

Instantly share code, notes, and snippets.

@debboutr
Created August 13, 2016 19:17
Show Gist options
  • Save debboutr/f79b3e565664c7de3c1ade4a4c70e1a3 to your computer and use it in GitHub Desktop.
Save debboutr/f79b3e565664c7de3c1ade4a4c70e1a3 to your computer and use it in GitHub Desktop.
Gather upstream COMIDs fron the NHDPlusV2 from numpy files
import sys
import pandas as pd
import numpy as np
sys.path.append('D:/Projects/StreamCat')
from StreamCat_functions import dbf2DF, findUpstreamNpy
NHD_Dir = 'D:/NHDPlusV21'
numpy_dir = 'D:/NHDPlusV21/StreamCat_npy/bastards'
zone = '07'
x = 5092710
a = findUpstreamNpy(zone, x, numpy_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment