Skip to content

Implement UGRID default start_index #4214

Open
@pp-mo

Description

@pp-mo

✨ Feature Request

In the UGRID conventions, the 'start_index' property is never actually required,
e.g. in this section

For the indexing one may use either 0- or 1-based indexing; the convention used should be specified using a start_index attribute to the index variable (i.e. Mesh2_face_nodes in the example below). Consistent with the CF-conventions compression option, the connectivity indices are 0-based by default. See this section on zero or one-based indexing for more details.

But in our current code, we have assumed it is always there

Notable specifically for connectivities,
might possibly apply elsewhere, but at present I think not : probably just in this one place ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions