Skip to content

Compliant Checker report: [VAR004] checker mis-applies 1-D bounds-shape rule to 2-D curvilinear latitude/longitude #407

@rhaegar325

Description

@rhaegar325

Summary

The WCRP compliance check [VAR004] Bounds for 'latitude' / Bounds for 'longitude' (HIGH, weight = 3) fails on 25 of 86 CMORised files — all ocean
(Omon) and sea-ice (SImon / SIday) outputs that use the native curvilinear
grid.

The checker rule used here is the 1-D coordinate rule: bounds must have shape
(n, 2) where n == len(coord). The file actually provides a fully CF-compliant
2-D auxiliary coordinate with polygon-vertex bounds of shape
(nj, ni, 4), which is the correct CMIP6 / CMOR convention for curvilinear
horizontal grids.

The file is correct; the checker rule is wrong for this case and should branch
on the dimensionality of the parent coordinate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions