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 MpasCellMeshDescriptor and MpasVertexMeshDescriptor #56

Merged
merged 6 commits into from
Sep 18, 2023

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Sep 18, 2023

This merge adds separate mesh descriptors for MPAS cells and vertices. This makes it possible to perform conservative remapping and to use SCRIP files from MPAS vertex meshes.

The MpasMeshDescriptor has been deprecated, as has the vertices argument to the constructor of MpasCellMeshDescriptor and MpasMeshDescriptor.

The history attribute is only written to SCRIP files if the NETCDF4 format is used. Otherwise, errors like:

OSError: array string attributes can only be written with NETCDF4

occur.

The examples have been updated (including a new one for an MPAS vertex mesh).

The version number has been bumped to 1.1.0 for a pending release.

@xylar xylar force-pushed the add-mpas-vertex-mesh-descriptor branch 2 times, most recently from cb45d6b to 5fde004 Compare September 18, 2023 12:04
@xylar xylar force-pushed the add-mpas-vertex-mesh-descriptor branch from 5fde004 to 608cadb Compare September 18, 2023 12:51
@xylar xylar merged commit 76797c9 into MPAS-Dev:main Sep 18, 2023
4 checks passed
@xylar xylar deleted the add-mpas-vertex-mesh-descriptor branch September 18, 2023 20:12
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.

1 participant