Skip to content

Refactor typings + extra configs forwarding#27

Merged
allixender merged 6 commits intoallixender:masterfrom
crim-ca:refactor-typings-extra-configs
Oct 12, 2025
Merged

Refactor typings + extra configs forwarding#27
allixender merged 6 commits intoallixender:masterfrom
crim-ca:refactor-typings-extra-configs

Conversation

@fmigneault
Copy link
Contributor

  • relies on provide DGGRIDv8 and support its hierarchy indexing system #26 (mostly for the extra indexings added with v7/v8 distinct classes)
  • Adds python typings for all parameters of DGGRID and functions/methods of dggrid4py
  • Reuse and extend the specify_resolution, specify_topo_aperture and specify_orient_type_args functions that were available inside the respective DGGRID calls to allow overriding with custom attributes
  • Simplify the Dggs class by leveraging dataclasses

@fmigneault
Copy link
Contributor Author

@allixender @tik65536 Let me know what you think of the proposed changes.

I think they should help us with latest alignment with DGGRID and customizing the results.
Notably, it should be easier to configure the vect0 parameters to configure what is needed for LandscapeGeoinformatics/pydggsapi#11

@allixender
Copy link
Owner

Let's give it a shot :-)

@allixender allixender merged commit b0a78c0 into allixender:master Oct 12, 2025
@fmigneault fmigneault deleted the refactor-typings-extra-configs branch October 30, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants