Convert CUSP to signed distance#523
Conversation
|
@xylar, it would be great to hear your thoughts on this. The details are preliminary, but the process is in place. It automatically generates this plot, which shows how there are five masks, and each one adds to the high resolution region. There are very few points in each geojson file (also added to this PR) so the regions are easy to alter. |
testing_and_setup/compass/ocean/jigsaw_to_MPAS/mesh_definition_tools.py
Outdated
Show resolved
Hide resolved
testing_and_setup/compass/ocean/global_ocean/CUSP12/init/define_base_mesh.py
Outdated
Show resolved
Hide resolved
testing_and_setup/compass/ocean/global_ocean/CUSP12/init/define_base_mesh.py
Outdated
Show resolved
Hide resolved
aaab549 to
8037c2d
Compare
|
Rebased on ocean/develop. This takes care of @xylar's requests above. |
8037c2d to
fb59f8f
Compare
|
@xylar, I would like to have two PRs for the CUSP mesh. This one is just implementing the signed distance function and the plots, and it is complete. Then I will open a new one with the mesh label, that can be open for discussion for a while. That way we separate the first implementation from the group discussions. You already reviewed it once, but I'm happy to hear further comments. Otherwise, please approve and I'll merge it in. |
xylar
left a comment
There was a problem hiding this comment.
Looks good as a starting point for further discussion.




Re-design of CUSP mesh using a number of overlaid regions. Each region begins with a signed distance from a geojson region file. A mask is computed using a tanh function on the signed distance.