Page 1 of 1

User Account Automatically Sign Out

Posted: Thu Feb 24, 2022 12:45 am America/New_York
by pawansoyam7
Why does Earth Data User Account log out after some time automatically which interrupts the downloading of data.

Re: User Account Automatically Sign Out

Posted: Thu Feb 24, 2022 10:01 am America/New_York
by ccuadrado
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.