User Account Automatically Sign Out

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
pawansoyam7
Posts: 2
Joined: Wed Feb 23, 2022 4:29 am America/New_York
Answers: 0

User Account Automatically Sign Out

by pawansoyam7 » Thu Feb 24, 2022 12:45 am America/New_York

Why does Earth Data User Account log out after some time automatically which interrupts the downloading of data.

ccuadrado
Posts: 1
Joined: Thu Feb 24, 2022 9:56 am America/New_York
Answers: 0

Re: User Account Automatically Sign Out

by ccuadrado » Thu Feb 24, 2022 10:01 am America/New_York

We are required to log you out after a certain time due to NASA & US Government security regulations.

Using a ~/.netrc file along with curl should mitigate these issues.
https://urs.earthdata.nasa.gov/document ... l_and_wget

If you're interested in computational retrieval of data, I would suggest seeing if the DAAC you want data from supports EDL User tokens. These are long-lasting tokens that will last longer than the duration of an EDL session, passed in with an Authorization: Bearer header with your data request. This will allow you to get data directly and not be redirected to EDL to log in, so the process is marginally faster.

Post Reply