[R-sig-Geo] modis download authentication
btupper at bigelow.org
Thu Sep 8 13:29:02 CEST 2016
RCurl's getBinaryURL() passes the '...' and '.opts' argument to RCurl's getURL(). The help page for getURL() shows an example that passes the username and password.
Will that do the trick?
> On Sep 8, 2016, at 7:16 AM, Luca Candeloro <luca.candeloro at gmail.com> wrote:
> I used succesfully the function getBinaryURL from RCurl library to download
> .hdf file, as in:
> content <- getBinaryURL("
> Since http://e4ftl01.cr.usgs.gov/ has recently applied a login and pass
> authentication to retrieve data, the previous code doesn't work.
> It seems (from
> that curl options should be necessarily set.
> Does someone know how to correctly specify RCurl options in R, so that
> getBinaryURL works again?
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
Report Gulf of Maine jellyfish sightings to jellyfish at bigelow.org or tweet them to #MaineJellies -- include date, time, and location, as well as any descriptive information such as size or type. Learn more at https://www.bigelow.org/research/srs/nick-record/nick-record-laboratory/mainejellies/
More information about the R-sig-Geo