Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some problems with Earthdata authorization. #2709

Merged
merged 8 commits into from
Jun 12, 2023

Conversation

DennisHeimbigner
Copy link
Collaborator

@DennisHeimbigner DennisHeimbigner commented Jun 11, 2023

re: Issue #2704

The issue reported problems accessing e.g. opendap.earthdata.nasa.gov, which uses the authentication mechanisms of urs.earthdata.nasa.gov. The file docs/auth.md describes how to setup the proper authorization mechanisms for earthdata, but there turned out to be some bugs in the code that prevented this from working.

Primary Changes

  • Add some clarification text to auth.md.
  • Fix the process for loading and merging .ncrc and .dodsrc file to conform to documentation.
  • Fix NC_s3urlrebuild so that non-S3 urls are passed through unchanged.
  • Fix a bug in the .rc test test_rcmerge.sh.
  • Add a test case; must be run manually in order to provide username:password as environment variable.

re: Issue Unidata#2704

The issue reported problems accessing e.g. opendap.earthdata.nasa.gov,
which uses the authentication mechanisms of urs.earthdata.nasa.gov.
The file *docs/auth.md* describes how to setup the proper authorization
mechanisms for earthdata, but there turned out to be some bugs
in the code that prevented this from working.

## Primary Changes
* Add some clarification text to *auth.md*.
* Fix the process for loading and merging *.ncrc* and *.dodsrc* file to conform to documentation.
* Fix *NC_s3urlrebuild* so that non-S3 urls are passed through unchanged.
* Fix a bug in the .rc test *test_rcmerge.sh*.
@WardF WardF merged commit ce97a67 into Unidata:main Jun 12, 2023
@WardF WardF added this to the 4.9.3 milestone Jun 12, 2023
@DennisHeimbigner DennisHeimbigner deleted the urs.dmh branch June 12, 2023 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants