Skip to content

Raster Resampling in Parallel Operation #106

@JoshCederstrom

Description

@JoshCederstrom

When running tRIBS in parallel mode, if an input vegetation parameter raster contains nodata values, the model fails to correctly interpolate/assign values from neighboring polygons. While the serial version successfully finds a nearby value, the parallel version results in uninitialized memory values (e.g., 5.215e-310).

Potential Cause:
The spatial search for "nearby" valid data is likely restricted to the local MPI process's domain. When a nodata region spans the boundary of a partition or is entirely surrounded by nodata within one partition, the search fails. The variable is never assigned a value, leading to garbage floating-point data.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions