Ticket #984 (closed Task: fixed)

Opened 3 years ago

Last modified 3 years ago

Formatting errors in CIM output from the Questionnaire

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

Description

Mark's PiControl? instance has thrown up 4 errors in the Translator mapping. I'm pretty sure they are all to do with me using an out of date format and they should be pretty simple to fix. For info here are examples of the 4 errors ... Note, only one of these might affect the validation code which is the potential change of the enumeration from latitude-longitude to reg_lat_lon.

1:       <spatioTemporalConstraint>
        <id>stc.024</id>
        <name>3.1.stc.1850_500yr</name>
        <description/>
        <requiredDuration>
          <closedDateRange>
            <startDate>!1850-01-01T00:00:00Z</startDate>
            <endDate>!1850-12-30T23:59:59Z</endDate>
            <duration>P500Y</duration>
          </closedDateRange>
        </requiredDuration>
      </spatioTemporalConstraint>

<endDate> element is invalid - I need to find out what the new format is

2:

<content>
      <topic>
        <name>CO2_concentration_mmr</name>
        <standardName standard="CF">mass_fraction_of_carbon_dioxide_in_air</standardName>
      </topic>
    </content>

<standardName> element is invalid - I need to find out what the new format is

3:     <esmModelGrid gridType="latitude-longitude" id="" isLeaf="true" numTiles="1" numMosaics="0">

latitude-longitude is not a valid enumeration - I think I need to change it to reg_lat_lon

4:       <gridTile discretizationType="logically_rectangular">
        <extent>
          <latMin>-90</latMin>
          <latMax>90</latMax>
          <lonMin>0</lonMin>
          <lonMax>360</lonMax>
        </extent>
        <description>Horizontal properties: The N96 Grid represents the 192-column horizontal coordinate system utilised within the Met Office Hadley Centre HadGAM1 and HadGAM2 atmosphere models. This grid defines the horizontal locations of the physics (P) variables computed by these atmosphere models. The locations of U variables are offset by one-half of a grid cell to the east of P grid locations. The locations of V variables are offset by one-half of a grid cell to the north of P grid locations. Vertical properties: Vertical levels are terrain-following for levels up to k=29 and constant thickness above that level.</description>
        <horizontalResolution description="1.875 degrees in longitude by 1.25 degrees in latitude">

<description> element is invalid - I need to find out what the new format is

Change History

comment:1 Changed 3 years ago by rupert

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

Fixed as of revision 2944 of the trunk

Note: See TracTickets for help on using tickets.