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

Error accessing NLDAS: HTTP/1.1 401 Unauthorized #316

Closed
lerban opened this issue Dec 13, 2016 · 3 comments
Closed

Error accessing NLDAS: HTTP/1.1 401 Unauthorized #316

lerban opened this issue Dec 13, 2016 · 3 comments
Labels

Comments

@lerban
Copy link

lerban commented Dec 13, 2016

Out of my depth on the following error when accessing NLDAS resource:

check(job)
$status
[1] "General Error: java.io.IOException: java.io.IOException: org.apache.commons.httpclient.auth.InvalidCredentialsException: HTTP/1.1 401 Unauthorized"

for fabric:
fabric = webdata('nldas', times = c("2000-01-01","2000-01-31"), variables = c("pevapsfc"))

fabric
An object of class "webdata":
times: 2000-01-01T00:00:00Z, 2000-01-31T00:00:00Z
url: dods://hydro1.sci.gsfc.nasa.gov/dods/NLDAS_FORA0125_H.002
variables: pevapsfc

@jordansread
Copy link
Contributor

Sorry @lerban NASA has put an authorization token requirement on those services and we are now working on how to support that on our end. I think in the current CRAN version of geoknife, those nldas and gldas datasets were removed as quickaccess datasets (i.e., ones that you could just punch in the character name of the dataset) because of this.

We hope to support this pattern in the future (accessing datasets that require authorization). But for now, I am sorry this doesn't work for you.

@lerban
Copy link
Author

lerban commented Dec 13, 2016

Ok, thanks for a quick reply!

@jordansread
Copy link
Contributor

Closing this as a wontfix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants