Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add polygon as model domain #52

Merged
merged 19 commits into from
Mar 8, 2022
Merged

Add polygon as model domain #52

merged 19 commits into from
Mar 8, 2022

Conversation

CyprienBosserelle
Copy link
Owner

@CyprienBosserelle CyprienBosserelle commented Oct 26, 2021

Add Feature: Model domain polygon

With this feature the model only allocates blocks inside/intersecting a given polygon. This would limit the model memory requirement.

  • Add inside poly function (Winding number algo)
  • Add poly intersection function
  • Add polygon reading functions
  • Integrate upstream of masking
  • Apply the polygon to active cells for ROG
  • Add tests for each functions
  • Add Documentation
  • Add overall test

Limitation

  • Single polygon has to be left-handed, no holes
  • GMT type polygon file

Future?

  • Add GDAL Library? of a sub
  • SHP file support with holes

@CyprienBosserelle CyprienBosserelle marked this pull request as ready for review March 7, 2022 08:57
@CyprienBosserelle CyprienBosserelle merged commit abd10e3 into development Mar 8, 2022
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.

None yet

1 participant