Skip to content

Face Nodes not represented properly for MPAS meshes with missing values #359

Open

Description

@philipc2

Overview

When converting an MPAS mesh to the UGRID conventions, grid cells that contain missing values (which are replaced with INT_FILL_VALUE can lead to geometries with less than 3 nodes which can not be considered faces, as shown in the figure below.

image

MCVE

Dataset Used: oQU480.230422.nc

mpas_root_filepath = "../../test/meshfiles/mpas/"
mpas_dataset_filepath = mpas_root_filepath + "other/oQU480.230422.nc"

uxgrid = ux.open_grid(mpas_dataset_filepath, use_dual=True)
uxds = ux.UxDataset(uxgrid=uxgrid)

# investigating face nodes showcases the invalid faces
uxds.uxgrid.Mesh2_face_nodes.values

Activity

  1. added
    bug
    on Jun 26, 2023
  2. moved this to 📝 To Do in UXarray Developmenton Jul 3, 2023
  3. self-assigned this
    on Jul 18, 2023
  4. moved this from 📚 Backlog to 📝 To Do in UXarray Developmenton Aug 22, 2023
  5. moved this from 📝 To-Do to 🏗 In progress in UXarray Developmenton Sep 26, 2023
  6. moved this from 🏗 In progress to On Pause in UXarray Developmenton Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Fields

Priority

Medium

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions