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

Prototype support clone cells in computational grid generation #387

Open
1 of 4 tasks
leendertvanwolfswinkel opened this issue Oct 3, 2024 · 1 comment
Open
1 of 4 tasks
Assignees

Comments

@leendertvanwolfswinkel
Copy link
Collaborator

leendertvanwolfswinkel commented Oct 3, 2024

For the prototype / dev version, we treat all obstacles as cutlines. In a later stage, we may either introduce a new layer in the schematisation (clone_cell_cutline) or add a boolean attribute to the obstacle layer (is_clone_cell_cutline).

Implement the following in threedigrid-builder:

  • cut the cells into clone cells w/ the cutlines and rasterize the cell ids

    • "snap to pixel grid" the cutlines
  • rework the cells and lines make the flowlines (fortran) based on the area mask

    • every clone cell domain needs to contain at least 1 data pixel
    • reorder the 2D nodes and lines
    • create flowline (type) between cloned cells (needed info: exchange level, cutline length). the kcu type of this flowline will be a new kcu type.
  • Write clone cell/flowline information to gridadmin #397

  • rasterize the node id's and write this as a separate "node id mask" GeoTIFF (to be used in threedi-tables later)

@leendertvanwolfswinkel leendertvanwolfswinkel changed the title Support clone cells in computational grid generation Prototype support clone cells in computational grid generation Oct 3, 2024
@leendertvanwolfswinkel
Copy link
Collaborator Author

@GolnesaK will also be working on this, i.e. the FORTRAN parts of gridbuilder that are involved

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

No branches or pull requests

3 participants