Skip to content

Write a function to convert 2D ClimaCore space to vector of coordinates #2398

@juliasloan25

Description

@juliasloan25

To interface with ConservativeRegridding.jl
Part of #2397

requirements:

  • each element of the space should be represented as one list of vertices (a vector of 5 tuples)
  • the list of vertices of the polygon should start in one corner and continue clockwise, and repeat the first vertex at the end
  • the order of vertices/elements should be recoverable later on
  • at the end, the space should be represented as a vector of a vector of coordinate tuples

After this, we need to find a way to store only one value per element (approximating FV using FE), then we can use ConservativeRegridding.jl directly.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions