Skip to content

Common approach for .netrc authentication? #60

@scottyhq

Description

@scottyhq

I've noticed lots of tutorials each starting with a slightly different piece of code to check if there is a a valid .netrc, and if not, create one. This has led to errors in past hackweeks, where for example special characters aren't recognised, untested code creates (or overwrites) malformed ~/.netrcs, etc.

@egreckase (+ @betolink) would you recommend sticking with the earthdata library across tutorials for this critical step? Or adding a script that everyone can run on the jupyterhub (https://nasa-openscapes.github.io/2021-Cloud-Hackathon/tutorials/04_NASA_Earthdata_Authentication.html)?

Our current recommendation is here and could be revised https://snowex.hackweek.io/preliminary/earthdata.html#configure-programmatic-access-to-nasa-servers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions