Opened 12 years ago

Closed 11 years ago

#21 closed task (fixed)

Coordinate Types/Systems checks for CF-1.1

Reported by: ros Owned by: cf-checker@…
Priority: medium Milestone:
Component: cf-checker Version: 1.1
Keywords: Cc:

Description

Following clarification of the axis attribute in CF-1.1 the following 2 checks need to be added to the CF Checker.

Section 4: "Coordinate Types"
Requirement: The axis attribute is not allowed for auxiliary coordinate variables.

Section 5: "Coordinate Systems"
Recommendation: All horizontal coordinate variables (in the unidata sense) should have an axis attribute.

Change History (3)

comment:1 Changed 12 years ago by ros

  • Component changed from cf-conventions to cf-checker
  • Owner changed from cf-conventions@… to cf-checker@…

comment:2 Changed 12 years ago by ros

The Section 4 check has been implemented in revision [53].

Check added to chkAxisAttribute(). Error message output is

`ERROR (4): Axis attribute is not allowed for auxiliary coordinate variables.`

A test case has been added to the test file source:/cf-checker/trunk/test_files/complex.nc#53

As this requirement was introduced at CF-1.1 an additional script option has been introduced to allow the user to specify which CF version they wish to check against. If no version is specified the checker will validate against the newest CF version.

For example: To run the script against against CF-1.0

cfchecks.py -v 1.0 file.nc

comment:3 Changed 11 years ago by ros

  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 1.1

Move unimplemented checks to tickets of their own. #38

Note: See TracTickets for help on using tickets.