Skip to content

Commit fcec545

Browse files
author
Chris Barber
committed
reference monkey-patch issues in the code (#101)
1 parent 5f836e4 commit fcec545

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/datasets/connectivity.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,10 @@ def main():
618618
store_file = os.path.join(args.data_dir, args.data_name + '.zarr.lmdb')
619619
store = zarr.storage.LMDBStore(store_file)
620620
logging.info('writing dataset to {}'.format(store_file))
621+
622+
# https://github.com/AllenInstitute/datacube/issues/101
623+
# https://github.com/pydata/xarray/issues/2300
624+
621625
# monkey patch to get zarr to ignore dask chunks and use its own heuristics
622626
def copy_func(f):
623627
g = types.FunctionType(f.__code__, f.__globals__, name=f.__name__,

0 commit comments

Comments
 (0)