Skip to content

Commit

Permalink
new dask prefix
Browse files Browse the repository at this point in the history
fixes #1342
  • Loading branch information
rabernat committed Mar 31, 2017
1 parent f2a5015 commit 9529f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/backends/api.py
Expand Up @@ -247,7 +247,7 @@ def maybe_decode_store(store, lock=False):
token = tokenize(file_arg, group, decode_cf, mask_and_scale,
decode_times, concat_characters, decode_coords,
engine, chunks, drop_variables)
name_prefix = '%s:%s/' % (filename_or_obj, group or '')
name_prefix = 'open_dataset-%s:%s/' % (filename_or_obj, group or '')
ds2 = ds.chunk(chunks, name_prefix=name_prefix, token=token,
lock=lock)
ds2._file_obj = ds._file_obj
Expand Down

0 comments on commit 9529f54

Please sign in to comment.