Skip to content

Add additional metadata to variables for UGRID/CF compliance #39

Open
@ChrisBarker-NOAA

Description

@ChrisBarker-NOAA

assign_ugrid_topology() currently does (I think) everything that the subsetting code needs.

But there are other things that it would be nice to have, In particular, there's no addition of metadata to the data variables:

https://ugrid-conventions.github.io/ugrid-conventions/#data-defined-on-unstructured-meshes

which should have mesh and location attributes:

double Mesh2_waterlevel(time,nMesh2_face) ;
    Mesh2_waterlevel:standard_name = "sea_surface_height_above_geoid" ;
    Mesh2_waterlevel:units = "m" ;
    Mesh2_waterlevel:mesh = "Mesh2"
    Mesh2_waterlevel:location = "face" ;
    Mesh2_waterlevel:coordinates = "Mesh2_face_x Mesh2_face_y" ;

A "make fully ugrid compliant" method would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions