I have a long list of links. Each one is for a NetCDF file. If I put a link in my browser, a file automatically starts downloading, but my browser doesn’t go anywhere.
What are these, links, or files? How do I read them in R?
When I try
RCurl::getURL(), I get
Error in nc_open trying to open file <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://urs.earthdata.nasa.gov/oauth/authorize/. .. etc
I have all the links in a folder called “myfiles.dat”. Hoping to move ahead and learn purrr with this set.