Skip to content

Raster CRS and resolution problems? #3

@oharac

Description

@oharac

More an issue for @Melsteroni - @bshalpern can probably skip for now...

For this project, I have been assuming that the resolution I used for the spp/biodiversity risk project would be a fine native resolution at which to calculate overlap of biodiversity risk and cumulative impacts. The 1 km Mollweide CRS we use for cumulative impacts is obviously great at the habitat/impact scale, but most native stressor layers are not at that fine resolution. The species ranges are polygons so we can rasterize them at whatever resolution we like, but 1 km resolution implies a precision to those ranges that is not really defensible. Note that for calculating impacts of stressors on habitats, and therefore CHI, the finer resolution is defensible and important, but probably way overkill for this project. So 10 km x 10 km seems fair, and far more analytically tractable than the native 1 km Mollweide.

I've got some scripts that reproject stressors to the 10 km Gall-Peters from the 1 km Mollweide, that start by reprojecting the GP cell IDs to Mollweide, and then using those cell IDs to aggregate the Mollweide values (mean for now, but other aggregations are easy) to populate the GP cells. I noticed a weird effect on the right hand side:
image

which results in the notch on the side of the reprojected stressor layers:

image

Digging deeper, I think this is an artifact from the projection of Gall-Peters to Mollweide (the cell ID raster). WGS84 to Mollweide seems to work fine. But GP to WGS84 to Moll is two reprojections, including an intermediate non-equal area, so I think a lot of info would be lost.

One solution might be: aggregate the ~1 km Mollweide CHI maps by some factor (5x might be adequately tractable, so about 4.7 km on a side; 8 or 10x would be easier to analyze but less accurate reprojection; 11x would be closest to resolution of the BD risk original project) then rerun all the biodiversity maps in that larger Mollweide resolution, and do the calculation that way.

@Melsteroni thoughts on all of this?

BTW: I've got some thoughts on using matrices to do cool calculations, haven't benchmarked them against just laying rasters on other rasters, but I think it might be faster. However, not sure how well those techniques will work with Mollweide because of all that dead space in the corners.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions