Ticket #977 (new Task)

Opened 3 years ago

Last modified 3 years ago

Grid: Incomplete export of CompositeGridDiscretization values with 'composite' GridDiscretization value

Reported by: paul Owned by: paul
Priority: blocker Milestone: V1.2 Questionnaire release
Component: WP6 - CMIP5 Questionnaire Version:
Keywords: subCMIP5 Cc: charlotte, gerry
Requirement: http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm

Description

Exported XML contains multiple gridTile elements, but these do not correspond to the CompositeGridDiscretization values selected.

Change History

comment:1 Changed 3 years ago by rupert

I've asked MP for clarification here as I am not sure that it makes sense to have GridDiscretization?="composite", a set of values of CompositeGridDiscretization? chosen and a gridtype that is not "other", which I believe is the case Paul is talking about.

comment:2 Changed 3 years ago by rupert

  • Milestone set to V1.1 Questionnaire Release

comment:3 Changed 3 years ago by rupert

  • Owner changed from rupert to paul

Marie-Pierre has confirmed what I suspected. I therefore believe the q2cim code is behaving correctly. The issue is that we need to define some additional constraints and implement them in the validation stage to guarantee correctness. The constraints are:

1: if GridDiscretization? is "composite" and CompositeGridDiscretization? contains one of more values then GridType? must be "other"

2: if  GridDiscretization is "composite" and GridType? is "yin yang" or "icosohedral" (i.e. not "other"), then  CompositeGridDiscretization must have no values selected.

I am therefore re-assigning this ticket to Paul.

Note: See TracTickets for help on using tickets.