Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pixel index: dask graph cant access higher zoom level tiles from baselevel #509

Open
Scartography opened this issue Nov 24, 2022 · 1 comment

Comments

@Scartography
Copy link
Collaborator

tile_task_12-246-1100 raised a AttributeError("'tuple' object has no attribute 'shape'")
  File "/usr/local/src/mapchete_hub/./mapchete_hub/app.py", line 571, in job_wrapper
    for i, _ in enumerate(job, 1):
  File "/usr/local/lib/python3.8/site-packages/mapchete/_processing.py", line 143, in __iter__
    yield from self._run()
  File "/usr/local/lib/python3.8/site-packages/mapchete/_processing.py", line 109, in _run
    yield from self.func(*self.fargs, executor=self.executor, **self.fkwargs)
  File "/usr/local/lib/python3.8/site-packages/mapchete/commands/_execute.py", line 212, in _process_everything
    for i, future in enumerate(
  File "/usr/local/lib/python3.8/site-packages/mapchete/_core.py", line 219, in compute
    yield from compute(self, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/mapchete/_processing.py", line 294, in compute
    yield future_raise_exception(future, raise_errors=raise_errors)
  File "/usr/local/lib/python3.8/site-packages/mapchete/_executor.py", line 729, in future_raise_exception
    raise MapcheteTaskFailed(
  File "/usr/local/lib/python3.8/site-packages/distributed/worker.py", line 3017, in apply_function_simple
    result = function(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/distributed/worker.py", line 2889, in execute_task
    return func(*map(execute_task, args))
  File "/usr/local/lib/python3.8/site-packages/dask/utils.py", line 71, in apply
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/mapchete/_processing.py", line 929, in _execute_and_write
    process_info=_execute(tile_process=tile_process, dependencies=dependencies),
  File "/usr/local/lib/python3.8/site-packages/mapchete/_processing.py", line 878, in _execute
    output = tile_process.execute(dependencies=dependencies)
  File "/usr/local/lib/python3.8/site-packages/mapchete/_tasks.py", line 211, in execute
    process_output = self._execute(dependencies=dependencies)
  File "/usr/local/lib/python3.8/site-packages/mapchete/_tasks.py", line 223, in _execute
    return self._interpolate_from_baselevel("lower", dependencies)
  File "/usr/local/lib/python3.8/site-packages/mapchete/_tasks.py", line 302, in _interpolate_from_baselevel
    src_tiles[output_tile] = raster.extract_from_array(
  File "/usr/local/lib/python3.8/site-packages/mapchete/io/raster.py", line 694, in extract_from_array
    out_bounds=out_tile.bounds, in_affine=in_affine, in_shape=in_raster.shape
@Scartography Scartography changed the title graph jobs cant access higher zoom level tiles from baselevel dask graph cant access higher zoom level tiles from baselevel Nov 24, 2022
@ungarj ungarj changed the title dask graph cant access higher zoom level tiles from baselevel pixel index: dask graph cant access higher zoom level tiles from baselevel Nov 24, 2022
@ungarj
Copy link
Owner

ungarj commented Feb 1, 2023

do you have a reproducible test case for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants