Ticket #957 (closed Task: fixed)

Opened 7 years ago

Last modified 7 years ago

Output Experiment Relationships

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


A number of experiment relationships are currently encoded in the experimentID in the Experiment documents that are used as input to the Questionnaire. These relationships should be captured using the genealogy class in the CIM output from the Questionnaire. To do this we need to do the following

1: (Charlotte) Make all experimentID's have a consistent format in the experiment documents and the live questionnaire

2: (Charlotte) Define the format and it's meaning e.g. 1.1-E is an experiment that relates to Experiment 1.1 and the relationship (E). We also need relationship names defined to add to the CIM vocab i.e.

-E hasAdditionalMembersTo

-I modifiedInputMethodOf

-S shorterVersionOf

-L longerVersionOf

3: (Allyn) Add any new CIM vocab when it is agreed

4: (Rupert) output the relationship information in the questionnaire CIM output when the format is agreed

Change History

comment:1 Changed 7 years ago by charlotte

  • Status changed from new to assigned

As of revision r3815 all experiment identifiers use the hyphenated format to denote a relationship. This format is also used by all experiments in the questionnaire database.

Note that the following experiment identifiers have "letter" extensions. 6.2a, 6.2b 6.4a, 6.4b 6.7a, 6.7b, 6.7c These have no meaning in and of themselves, their purpose is simply to label the experiment.

comment:2 Changed 7 years ago by charlotte

Typo: the revision number is in fact r2815 . 

comment:3 Changed 7 years ago by charlotte

These are the relationships I would like us to use

-E additionalMembersOf

-I modifiedInputMethodOf

-S shorterVersionOf

-L extensionOf

Note that the -L indicates that the time period begins from where the related experiment ends.  If this is clear then the ticket can be passed to Allyn.

comment:4 Changed 7 years ago by rupert

  • Status changed from assigned to new
  • Owner changed from charlotte to allyn

Thanks Charlotte, that's exactly what I needed.

Allyn, could you add the above relationships to the CIM genealogy class and then pass the ticket onto me.


-- Rupert

comment:5 Changed 7 years ago by rupert

Hi Allyn, I've added support for the output of experiment relationships in the translator code so you can close the ticket when you update the enumerations in the CIM genealogy class. Thanks Rupert.

comment:6 Changed 7 years ago by rupert

  • Cc charlotte added

comment:7 Changed 7 years ago by allyn

I have added these relationship types to the enumeration ExperimentRelationships as of r2832. Can I just check, Charlotte, did you mean to write "additionalMembersOf" or "additionalMemberOf"? You wrote (and I added) the former, but a genealogical relationship can only point to one target, so a plural word here doesn't really make sense.

comment:8 Changed 7 years ago by charlotte

hmmm,  yes I see your point.  The -E extension describes an experiment which adds new ensemble members to an existing experiment. Perhaps a better description would be:

-E increaseEnsembleOf

comment:9 Changed 7 years ago by allyn

"additionalMembersOf" has been changed to "increaseEnsembleOf" as of r2846.

comment:10 Changed 7 years ago by allyn

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

comment:11 Changed 7 years ago by rupert

For the record, I now output "increaseEnsembleOf" from the q2cim translator

Note: See TracTickets for help on using tickets.