Earth Data Login - R Studio Issue

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
kelseyfreitag
Posts: 1
Joined: Tue Jul 04, 2023 3:04 pm America/New_York
Answers: 0

Earth Data Login - R Studio Issue

by kelseyfreitag » Tue Jul 04, 2023 3:09 pm America/New_York

Hi,

I have been attempting to follow the code from https://cornelllabofornithology.github.io/ebird-best-practices/covariates.html to download MODIS data in R Studio. I have used 'MODIS::EarthdataLogin(usr = "my user", pwd = "my pass"). When I attempt to run the code to download the data, I get the same error ' Earthdata Login credentials could not be verified.'

Any ideas on what could be causing this? It is the correct user and password as it works when I run different code.

Thanks!

Filters:

LP DAAC - dgolon
User Services
User Services
Posts: 327
Joined: Mon Sep 30, 2019 10:00 am America/New_York
Answers: 0
Has thanked: 24 times
Been thanked: 4 times
Contact:

Re: Earth Data Login - R Studio Issue

by LP DAAC - dgolon » Thu Jul 06, 2023 8:50 am America/New_York

Hi @kelseyfreitag Thank you for reporting that. We'll take a look to see if we can figure out what is going on. We'll report back when we have more information. Thanks - Danielle
Subscribe to the LP DAAC listserv by sending a blank email to lpdaac-join@lists.nasa.gov.

Sign up for the Landsat listserv to receive the most up to date information about Landsat data: https://public.govdelivery.com/accounts/USDOIGS/subscriber/new#tab1.

kaewal01
User Services
User Services
Posts: 9
Joined: Mon Jul 03, 2023 11:07 am America/New_York
Answers: 0

Re: Earth Data Login - R Studio Issue

by kaewal01 » Thu Jul 06, 2023 11:26 am America/New_York

Hello @kelseyfreitag ,
Thank you for reporting this issue. I'd encourage you to submit an Earthdata Search user issue message using the "feedback" button on the upper right-hand corner of the Earthdata Search homepage (https://search.earthdata.nasa.gov/search). This will make it easier to track the issue. In your message, please include the following elements:

-link to issue page (if available)
-screenshot of issue
-Earthdata Search username

teejay21111
Posts: 1
Joined: Tue Mar 26, 2024 10:53 pm America/New_York
Answers: 0

Re: Earth Data Login - R Studio Issue

by teejay21111 » Tue Mar 26, 2024 10:54 pm America/New_York

I'm having the same problem. Tried two laptops but no luck.

calvus17
Posts: 1
Joined: Mon May 06, 2024 7:19 am America/New_York
Answers: 0

Re: Earth Data Login - R Studio Issue

by calvus17 » Mon May 06, 2024 7:27 am America/New_York

I have the same issue, the authentication fails with valid username and password.

LP DAAC - dgolon
User Services
User Services
Posts: 327
Joined: Mon Sep 30, 2019 10:00 am America/New_York
Answers: 0
Has thanked: 24 times
Been thanked: 4 times
Contact:

Re: Earth Data Login - R Studio Issue

by LP DAAC - dgolon » Mon May 06, 2024 9:25 am America/New_York

@calvus17 and @teejay21111 If you haven't already done so, please make sure you follow @Earthdata Search - kaewal01's advice above and submit the issue to the Earthdata Search team using the "feedback" button on Earthdata Search (https://search.earthdata.nasa.gov/search), located on the top right of the page, so their team can keep track of the issues users are seeing to help them learn more to resolve the issue.
Subscribe to the LP DAAC listserv by sending a blank email to lpdaac-join@lists.nasa.gov.

Sign up for the Landsat listserv to receive the most up to date information about Landsat data: https://public.govdelivery.com/accounts/USDOIGS/subscriber/new#tab1.

pasi.autio
Posts: 2
Joined: Sat May 11, 2024 4:54 pm America/New_York
Answers: 0

Re: Earth Data Login - R Studio Issue

by pasi.autio » Sat May 11, 2024 4:54 pm America/New_York

Similar issue here too.

pasi.autio
Posts: 2
Joined: Sat May 11, 2024 4:54 pm America/New_York
Answers: 0

Re: Earth Data Login - R Studio Issue

by pasi.autio » Sun May 12, 2024 3:12 pm America/New_York

As a related issue, the R package used within the original post (httr) and also the same package used in your R authentication example code is now obsolete and replaced with new httr2 R package.

I'm requesting a sample code update how to access the data with R, but with HTTR2-package instead of HTTR.

Old sample code:
https://wiki.earthdata.nasa.gov/display/EL/How+to+access+data+with+R

Post Reply