16EAGLE / getSpatialData

An R package 📦 making it easy to query, preview, download and preprocess multiple kinds of spatial data 🛰 via R. All beta.
https://jakob.schwalb-willmann.de/getSpatialData
GNU General Public License v3.0
303 stars 64 forks source link

login_earthdata() #96

Open SOloo15 opened 3 years ago

SOloo15 commented 3 years ago

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

s-young8 commented 3 years ago

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

loginUSGS(username = 'sherryoung')

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

jvanpassel commented 3 years ago

Hi, I am also getting this error with login_USGS.

michaeldgarber commented 2 years ago

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..

Aviankind commented 2 years ago

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