Skip to content

Issue with get_nhdplushr for a few basins #411

@tjstagni

Description

@tjstagni

Hi @dblodgett-usgs, I'm trying to load a few basins with the get_nhdplusHR function and I'm running into a couple of issues.

For these HUC04 basins, 1704, 0318, and 0307 The function never completes, and the data is not loaded into R. I had basin 0318 running for a few hours and it still did not complete. I've download all HUC04s surrounding these basins and had no issues with any of the adjacent basins.

Also, running this basin 0201 gave me this error, and the basin was not downloaded using download_nhdplushr

image

Here is a reproducible example and I'm using the latest version 1.2.1:

temp_dir = file.path(nhdplusTools_data_dir(), "temp_hr_cache")

download_dir = download_nhdplushr(temp_dir, "1704")

hr = get_nhdplushr(download_dir, file.path(download_dir, "nhdplus_out.gpkg"),
layers=c("NHDFlowline","NHDPlusBurnWaterbody"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions