Skip to content

Commit

Permalink
Tweak variable names for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed May 28, 2024
1 parent 7b7f239 commit cac88f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions odc/loader/_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ def __call__(
src_key = f"open-{name}-{tk}"
shape_in_blocks = tuple(len(ch) for ch in chunks)

for src_idx, src in enumerate(self.srcs):
band = src.get(name, None)
if band is not None:
for src_idx, mbsrc in enumerate(self.srcs):
rsrc = mbsrc.get(name, None)
if rsrc is not None:
dsk[src_key, src_idx] = (
_dask_open_reader,
band,
rsrc,
self.rdr,
self.env,
load_state,
Expand Down

0 comments on commit cac88f9

Please sign in to comment.