Find where the tile is within the process extent.

find_relative_extent(process_extent, tile_extent)

Arguments

process_extent

An extent vector representing what tiles this process neeeds to load.

tile_extent

An extent vector which is in numbers of tiles.

Value

Where the tiles are within the process. Both are relative to the domain extent.