juseg / hyoga

Paleoglacier modelling framework
https://hyoga.io
GNU General Public License v3.0
8 stars 0 forks source link

Use geopandas to plot all vectors #24

Closed juseg closed 1 year ago

juseg commented 1 year ago

I was looking for a way to combine shapefile geometries in a single artist, decided to give a quick try to GeoPandas and it blew my mind. Here is a quick speed test merging Ehlers et al. LGM global and alps paleoglaciers, removing duplicates, and plotting in Orthographic projection (as in the logo) with:

Besides the increase in speed, GeoPandas will simplify hyoga internals and provide users with more flexible objects for further manipulation or plotting styles. However this will also introduces changes in API. To avoid future breaking change or deprecation warnings, I think I want to get this right before v0.2.