icepyx.Query.earthdata_login

Query.earthdata_login(uid=None, email=None, s3token=None, **kwargs) None

Authenticate with NASA Earthdata to enable data ordering and download. Credential storage details are described in the EathdataAuthMixin class section.

Note: This method is deprecated and will be removed in a future release. It is no longer required to explicitly run .earthdata_login(). Authentication will be performed by the module as needed.

Parameters:
uidstring, default None

Deprecated keyword for Earthdata login user ID.

emailstring, default None

Deprecated keyword for backwards compatibility.

s3tokenboolean, default None

Deprecated keyword to generate AWS s3 ICESat-2 data access credentials

kwargskey:value pairs

Keyword arguments to be passed into earthaccess.login().

Examples

>>> reg_a = ipx.Query('ATL06',[-55, 68, -48, 71],['2019-02-20','2019-02-28']) 
>>> reg_a.earthdata_login() 
Enter your Earthdata Login username: ___________________

EARTHDATA_USERNAME and EARTHDATA_PASSWORD are not set in the current environment, try setting them or use a different strategy (netrc, interactive) No .netrc found in /Users/username