Skip to content

Commit

Permalink
opendap driver: use no authentication as default
Browse files Browse the repository at this point in the history
Apart from historic reasons, using ESGF as the default authentication
method does not seem to be a straight forward choice. Changing the
default to no authentication most likely is the more user friendly
alternative. Apart from that and following intake#57, the default if no
authentication method is given should be anonymous access, but currently
this fall back does not work (see also intake#74).
  • Loading branch information
d70-t committed Sep 14, 2020
1 parent b86dfa1 commit af2126f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intake_xarray/opendap.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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 af2126f

Please sign in to comment.