Ticket #829 (closed Task: fixed)

Opened 4 years ago

Last modified 4 years ago

output document information for ensembles to the CIM

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

Description

ensembles are not treated as documents in the questionnaire but are in the CIM. Bryan has created a class (ensemblesDoc) to allow us to get the document information from the questionnaire. I need to extract this information and output it to the CIM.

Bryan's latest email on this is :

Hi Rupert

Mea culpa. It was broken.

I've checked in a fixed version in the lateChange branch.

In your code, you will need to instnatiate the EnsembleDoc, and/or 
update it, 

so given an ensemble, e, yuu would want to do

MyEnsembleDoc=e.makeDoc()

rather than MyEnsembleDoc=e.doc

and even if you have done a makeDoc, do it again (e.makeDoc() to be sure 
whenever you want it.

Does that make sense?

Cheers
Bryan

Change History

comment:1 Changed 4 years ago by rupert

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

This all works as of revision 2010 on branch v1.0_devel. I'm therefore closing the ticket.

Note: See TracTickets for help on using tickets.