danlooo / DGGS.jl

Discrete Global Grid System for Julia
GNU Affero General Public License v3.0
11 stars 2 forks source link

Add native icosahedron plot #82

Closed danlooo closed 8 months ago

danlooo commented 8 months ago

This PR aims to plot DGGS data natively, i.e. without projection to geographical projection. Instead, the Q2DI indexed data is directly mapped to uv-coordinates off an icosahedron mesh with vertices positions matching the ISEA grid. This is much faster, because no re-projection is needed.

image

danlooo commented 8 months ago

filter_null(maximum)(filtered_cell_cube.data.data) is the slowest step. It runs through the data multiple times: one to filter and anotherone to get the max. Nested for loop should be much faster.