Skip to content

Commit

Permalink
Remove use of deprecated, unused keyword. (#2540)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici authored and shoyer committed Nov 5, 2018
1 parent 848d491 commit 38399cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/backends/cfgrib_.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, filename, lock=None, **backend_kwargs):
filter_by_keys_items = backend_kwargs['filter_by_keys'].items()
backend_kwargs['filter_by_keys'] = tuple(filter_by_keys_items)

self.ds = cfgrib.open_file(filename, mode='r', **backend_kwargs)
self.ds = cfgrib.open_file(filename, **backend_kwargs)

def open_store_variable(self, name, var):
if isinstance(var.data, np.ndarray):
Expand Down

0 comments on commit 38399cc

Please sign in to comment.