Ticket #972 (closed Task: fixed)

Opened 3 years ago

Last modified 3 years ago

q2cim translator produces leaf properties without a value [affects validation]

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

Description

If, in the questionnaire, a property contains a set of child properties and all of those properties are specified as being N/A then the Q2CIM tool outputs the parent property. We then get a leaf property with no value which the validation step rightly complains about. I need to make sure a parent property is not output in this case.

Change History

comment:1 Changed 3 years ago by rupert

  • Summary changed from q2cim translator produces empty leaf elements [affects validation] to q2cim translator produces leaf properties without a value [affects validation]
Here is Mark's example :

In Oceans/ocean up and low boundaries   for hadGEM2-ES   I have
responded N/A for the BottomBoundaryLayer.  The validation
+reports that "BottomBoundaryLayer must possess a non-empty value
element".  For our model we don't use a bottom boundary layer -
+so N/A is correct.

comment:2 Changed 3 years ago by rupert

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

fixed as of revision 2911 of trunk

Note: See TracTickets for help on using tickets.