DOI-USGS / nhdplusTools

See official repository at: https://code.usgs.gov/water/nhdplusTools
https://doi-usgs.github.io/nhdplusTools/
Creative Commons Zero v1.0 Universal
84 stars 32 forks source link

get VAA downloader #251

Closed mikejohnson51 closed 2 years ago

mikejohnson51 commented 2 years ago

@dblodgett-usgs this is to remind me to come back to this. Jumped on an old computer to find some code and get this error with the new getVAA caching. I don't know if this is a 'me' or a 'logic' issue:

> vaa = nhdplusTools::get_vaa(c("pathlength", "arbolatesu", "ftype"))
didn't find data, downloading.
Error in curl::curl_fetch_disk(url, x$path, handle = handle) : 
  Failed to open file /Users/pkgbuild/Library/Application Support/org.R-project.R/R/usgs_r/nhdplusTools/nhdplusVAA.fst.
dblodgett-usgs commented 2 years ago

Is it maybe not creating the temp directory correctly?

mikejohnson51 commented 2 years ago

restarted computer with new OS install and its all good 🤷