Ticket #966 (closed Task: fixed)
Attach the questionnaire drs string to simulation externalID
| Reported by: | gerry | Owned by: | rupert |
|---|---|---|---|
| Priority: | blocker | Milestone: | V1.1 Questionnaire Release |
| Component: | WP6 - CMIP5 Questionnaire | Version: | 1.1 |
| Keywords: | subCMIP5 | Cc: | charlotte, allyn, bryan |
| Requirement: | http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm | ||
Description
Hi Rupert, we now need the drs string written to the externalID of the simulation. This is slightly complicated by the ensemble vs non-ensemble run, where for an ensemble run, as before, we still want to write rip values for each ensemble at the ensemblemember level. For a non-ensemble run, we want to replace the original rip output idea (at the simulation level) with the drs string concatenated to the rip value (I've modified the drsOutput return method to only now return by default the institute_model_experiment details so that the rip value can be attached/omitted accordingly).
The structure (and DRS text) I have come up with is as follows:
<externalID open="true" value="OUR DRS STRING (with potential rip value concatenated)">
<standard>
<name>QN_DRS</name> <description>The QN_DRS value allows mapping from data files to metadata being exported from the metadata questionnaire, and contains the insitution name, the model name on which the simulation was run, and the experiment name to which the simulation conforms. Additionnaly, for a non-ensemble run, a rip value will be included. The format of the string will thus be: <institute>_<model>_<experiment>(_<rip>). </description>
</standard>
</externalID>
If anyone thinks the official name, i.e QN_DRS, or description needs to be changed, can you let me know. Rupert, let me know if you don't follow what I wrote, or need more info.
Thanks, Gerry

This looks fine, Gerry, my only concern is the embedded angle brackets in the text... this might cause validation to break. If they do, try using square brackets.