Skip to content

[BUG] Memory issues when preparing large rasters for spatial multiprocessing #22

@katieb1

Description

@katieb1

Describe the bug
When working with large rasters, the 1 - Prepare Multiprocessing pipeline stage sometimes fails with an Unable to allocate memory error.

This is being caused by inefficiencies in line 195:
smp_grid = smp_grid.astype(int) * mask

To Reproduce
Steps to reproduce the behavior:

  1. Download Linnea's test library
  2. Try to run first pipeline stage

Expected behavior
The stage to run without error.

Software versions:

  • SyncroSim: [e.g. 3.0.9]
  • WISDM [e.g. 2.1.1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions