getSpatialData icon indicating copy to clipboard operation
getSpatialData copied to clipboard

login_earthdata()

Open SOloo15 opened this issue 4 years ago • 4 comments

Hi I am trying to download MODIS data but I am not able to login using login_earthdata(). I get this error

login_earthdata(username = "S.OLoo") Error: Login failed. Please retry later or call services() to check if LAADS is currently unavailable.

services()

  • ESA Copernicus Open Hub: 'available' 'Connection successfully established.'
  • ESA Copernicus S5P Hub: 'available' 'Connection successfully established.'
  • ESA Copernicus GNSS Hub: 'available' 'Connection successfully established.'
  • USGS-EROS ESPA: 'maintenance' 'NA'
  • USGS EarthExplorer: 'unknown' 'NA'
  • AWS Landsat 8: 'available' 'Connection successfully established.'
  • NASA DAAC LAADS: 'available' 'Connection successfully established.'

Is there another way to work with MODIS data in the package?

Thanks, Stephen

SOloo15 avatar Oct 21 '21 07:10 SOloo15

Hi, I have been having the same issue and creating a new account/reset password:

login_USGS(username = 'sherryoung_')

Error in .post(url = paste0(getOption("gSD.api")$ee, "login"), username = NULL, : Not Found (HTTP 404). Failed to connect to server..

s-young8 avatar Oct 21 '21 18:10 s-young8

Hi, I am also getting this error with login_USGS.

jvanpassel avatar Oct 29 '21 08:10 jvanpassel

I'm getting the error with login_USGS(), but both login_CopHub() and login_earthdata() are working for me. Strange.

Error in .post(url = paste0(getOption("gSD.api")$ee, "login"), username = NULL, : Not Found (HTTP 404). Failed to connect to server..

michaeldgarber avatar Dec 14 '21 06:12 michaeldgarber

Hi, for the HTTP 404 or 500 error: do you also get an error on the test page at https://m2m.cr.usgs.gov/ ? If yes, to be able to use the USGS API you need to head to your profile at https://ers.cr.usgs.gov/ , choose "Access request", click "Request Access", select access type machine and fill out the form. HTH

Aviankind avatar Jun 09 '22 15:06 Aviankind