Closed YoJimboDurant closed 1 year ago
Constantly changing! And, yep, naming convention wasn't adhered to when they updated those canopy layers. Pushing a fix now, and will include in my next CRAN release.
Thanks for the quick turn around! I wish they had an index - I thought maybe there would be a way to scrape the links from https://www.mrlc.gov/data and create the links on the fly, but I could not seem to get at the hyperlinks in the url.
Hi -
When I run the following I get an error that the service is not available on the mrlc server:
The error is specifically:
I dig into the mrlc and it appears that the new link is now:
"https://www.mrlc.gov/geoserver/mrlc_download/nlcd_tcc_conus_2016_v2021-4/wcs?"
When I run
get_nlcd
in debug mode and switch the coverage in line 82 to:coverage <- "nlcd_tcc_conus_2016_v2021-4"
the function appears to work without complaint.Other 2016 nlcd datasets do not appear to be impacted (e.g. landuse and impervious) at this time.
As noted in the source code the mrlc is oft-changing. Thanks for developing and keeping up with this - FedData is such a great package!