dggrid4py - a Python library to run highlevel functions of DGGRID
=================================================================
|DOI|
|Population Gridded|
GNU AFFERO GENERAL PUBLIC LICENSE
`DGGRID `__ is a free
software program for creating and manipulating Discrete Global Grids
created and maintained by Kevin Sahr. DGGRID version 8.34 was released 13. November 2024
- `DGGRID Version 8.3 on GitHub `__
- `DGGRID User
Manual `__
Contents
--------
`GitHub `__
.. toctree::
usage
api
Related work:
-------------
Originally insprired by
`dggridR `__, Richard Barnes’ R
interface to DGGRID. However, dggridR is directly linked via Rcpp to
DGGRID and calls native C/C++ functions.
After some unsuccessful trials with ctypes, cython, CFFI, pybind11 or
cppyy (rather due to lack of experience) I found
`am2222/pydggrid `__ (`on
PyPI `__) which made apparently some
initial scaffolding for the transform operation with
`pybind11 `__ including some
sophisticated conda packaging for Windows. This might be worth following
up. Interestingly, its todos include “Adding GDAL export Geometry
Support” and “Support GridGeneration using DGGRID” which this dggrid4py
module supports with integration of GeoPandas.
Bundling for different operating systems
----------------------------------------
Having to compile DGGRID for Windows can be a bit challenging. We are
working on an updated conda package. Currently DGGRID v8.3 is available on conda-forge:
.. image:: https://anaconda.org/conda-forge/dggrid/badges/version.svg
:target: https://anaconda.org/conda-forge/dggrid
:alt: Latest version on conda-forge
greater context DGGS in Earth Sciences and GIS
----------------------------------------------
Some reading to be excited about:
`discourse.pangeo.io `__
Check out the :doc:`usage` section for further information, including
how to :ref:`installation` the project.
.. note::
This project is under active development.
.. |DOI| image:: zenodo.svg
:target: https://zenodo.org/badge/latestdoi/295495597
.. |Population Gridded| image:: day-04-hexa.png
:target: https://twitter.com/allixender/status/1324055326111485959