Earth Data Login - R Studio Issue
-
- Posts: 1
- Joined: Tue Jul 04, 2023 3:04 pm America/New_York
Earth Data Login - R Studio Issue
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!
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:
-
- User Services
- Posts: 345
- Joined: Mon Sep 30, 2019 10:00 am America/New_York
- Has thanked: 24 times
- Been thanked: 4 times
- Contact:
Re: Earth Data Login - R Studio Issue
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.
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.
Re: Earth Data Login - R Studio Issue
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
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
-
- Posts: 1
- Joined: Tue Mar 26, 2024 10:53 pm America/New_York
Re: Earth Data Login - R Studio Issue
I have the same issue, the authentication fails with valid username and password.
-
- User Services
- Posts: 345
- Joined: Mon Sep 30, 2019 10:00 am America/New_York
- Has thanked: 24 times
- Been thanked: 4 times
- Contact:
Re: Earth Data Login - R Studio Issue
@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.
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.
-
- Posts: 2
- Joined: Sat May 11, 2024 4:54 pm America/New_York
-
- Posts: 2
- Joined: Sat May 11, 2024 4:54 pm America/New_York
Re: Earth Data Login - R Studio Issue
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
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