Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mslib/utils/netCDF4tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,14 @@ def __init__(self, files, exclude=None, skip_dim_check=None,
"""
# Open the master file in the base class, so that the CDFMF instance
# can be used like a CDF instance.

exclude = exclude or []
skip_dim_check = skip_dim_check or []
if isinstance(files, str):
files = sorted(glob.glob(files))

# Call parent class __init__


master = files[0]

# Open the master again, this time as a classic CDF instance. This will avoid
Expand Down
2 changes: 2 additions & 0 deletions mslib/utils/ogcwms.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ def __init__(self, url, version=None, xml=None, username=None, password=None,
auth=None):
"""Initialize."""



if auth:
if username:
auth.username = username
Expand Down