Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bombing when providing a list of NHDPlus files #101

Open
mnfienen opened this issue Nov 14, 2020 · 2 comments
Open

bombing when providing a list of NHDPlus files #101

mnfienen opened this issue Nov 14, 2020 · 2 comments

Comments

@mnfienen
Copy link
Collaborator

I pulled today which brought me up to 2e44c8e. For some reason, SFRmaker can't parse a list of multiple folders for NHDPlus, although that worked in the past.

traceback is like:

    epsg=epsg, proj_str=proj_str, prjfile=prjfile)
  File "/Users/mnfienen/Documents/GIT/SFRmaker/sfrmaker/nhdplus_utils.py", line 116, in load_nhdplus_v2
    crs = get_shapefile_crs(NHDFlowlines)
  File "/Users/mnfienen/Documents/GIT/gis-utils/gisutils/shapefile.py", line 385, in get_shapefile_crs
    basename, ext = os.path.splitext(shapefile)
  File "/Users/mnfienen/miniconda3/lib/python3.7/posixpath.py", line 122, in splitext
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not list```
@mnfienen
Copy link
Collaborator Author

FWIW - when I reverted to c176c1e this wasn't a problem.....so got introduced somewhere between those commits

@aleaf
Copy link
Collaborator

aleaf commented Jan 30, 2023

@mnfienen are you still experiencing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants