hunter-stanke / rFIA

rFIA
https://rfia.netlify.com/
47 stars 23 forks source link

getFIA URL error #39

Open araiho opened 1 year ago

araiho commented 1 year ago

Example for getFIA reads out

db <- getFIA(states = 'RI')

trying URL 'https://apps.fs.usda.gov/fia/datamart/CSV/RI.zip' Error in download.file(url, temp) : cannot open URL 'https://apps.fs.usda.gov/fia/datamart/CSV/RI.zip' In addition: Warning message: In download.file(url, temp) : cannot open URL 'https://apps.fs.usda.gov/fia/datamart/CSV/RI.zip': HTTP status was '404 Not Found'

whalend commented 1 year ago

It looks like there are problems on the USFS side. Manually navigating their DataMart 2.0 website to download an individual CSV, .zip, or SQLite is resulting in the 404 error as well. Let them know it isn't working by emailing here: SM.FS.FIA.Digital@usda.gov

@araiho I think you'll want to install the rFIA to the development version because the naming convention of the CSV files was changed, which I think @hunter-stanke and/or others already addressed devtools::install_github('hunter-stanke/rFIA')

That of course doesn't fix the data delivery error on the other end

araiho commented 1 year ago

Thank you for your quick response @whalend! I will email USDA and have installed the dev version. Appreciate the package and everyone's work