Skip to content

Commit

Permalink
Merge pull request #77 from d70-t/opendap_default_no_auth
Browse files Browse the repository at this point in the history
opendap driver: use no authentication as default
  • Loading branch information
martindurant authored Sep 16, 2020
2 parents efda097 + 248ccbd commit 1cdac00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions intake_xarray/opendap.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class OpenDapSource(DataSourceMixin):
auth: None, "esgf" or "urs"
Method of authenticating to the OPeNDAP server.
Choose from one of the following:
'esgf' - [Default] Earth System Grid Federation.
None - [Default] Anonymous access.
'esgf' - Earth System Grid Federation.
'urs' - NASA Earthdata Login, also known as URS.
'generic_http' - OPeNDAP servers which support plain HTTP authentication
None - No authentication.
Expand All @@ -38,7 +39,7 @@ class OpenDapSource(DataSourceMixin):
"""
name = 'opendap'

def __init__(self, urlpath, chunks, auth="esgf", xarray_kwargs=None, metadata=None,
def __init__(self, urlpath, chunks, auth=None, xarray_kwargs=None, metadata=None,
**kwargs):
self.urlpath = urlpath
self.chunks = chunks
Expand Down

0 comments on commit 1cdac00

Please sign in to comment.