Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid document:cim-2-designing-multiensemble_79891656-1ada-49f5-bcb3-4520d03a79d9_1_082ddc0382dc91209280c4b46355e67d.json #1

Open
bnlawrence opened this issue Jul 22, 2019 · 4 comments

Comments

@bnlawrence
Copy link
Member

This document includes an ensemble_axis attribute, which is a list of elements which are required to be of type linked_to(designing.ensemble_requirement). There are two values in the list, the first of which is of type designing.numerical_requirement, which although a superclass of the required value, is not an instance of it.

The relevant piece of the value is:

<class 'list'>: [
    {'responsibleParties': [{'role': 'point of contact', 'parties': [{'type': 'cim.2.shared.Party', 'version': 1, 'name': 'George Boer', 'id': '38edaaec-d0d5-410e-b953-a86db6c87b24'}, {'type': 'cim.2.shared.Party', 'version': 1, 'name': 'Doug Smith', 'id': '51408b60-6696-44b3-96e5-73028d2ed3d6'}]}], 
   'description': 'Start dates from the end of 1992, 1997, 1998, 1999.  Start date on or before 31st December, start dates on or before 15th November recommended to allow for DJF seasonal forecast results.', 
    'canonicalName': 'extra1990s', 'name': 'extra1990s', 'citations': [{'type':'cim.2.shared.Citation', 'version': 1, 'id': '9e139643-3060-4b5b-9869-269f6d66c19b'}],
    'longName': 'extra 1990s start dates', 
   'keywords': 'extra, additional, 1990s, start dates', 
   'irregularDateset': '1992-12-31, 1997-12-31, 1998-12-31, 1999-12-31', 
   'isConformanceRequested': True, 
   '_meta': {
         'author': {'version': 1, 'uid': '253825f3-fbc8-43fb-b1f6-cc575dc693eb'}, 
         'createDate': '2017-03-21 00:00:00', 
         'project': 'cmip6', 
         'source': 'spreadsheet', 
         'version': 1, 
        'updateDate': '2017-03-21 00:00:00', 
        'type': 'cim.2.designing.NumericalRequirement', 
        'id': '3bbaa08c-946e-40aa-b056-e430ecc6e38b'}
   }, 
  {'ensembleType': 'Realization', 'responsibleParties': [{'role': 'point of contact', 'parties': [{'type': 'cim.2.shared.Party', 'version': 1, 'name': 'George Boer', 'id': '38edaaec-d0d5-410e-b953-a86db6c87b24'}, {'type': 'cim.2.shared.Party', 'version': 1, 'name': 'Doug Smith', 'id': '51408b60-6696-44b3-96e5-73028d2ed3d6'}]}], 'description': 'An ensemble of at least ten simulations', 'minimumSize': 10, 'canonicalName': 'TenMemberEnsemble', 'name': 'TenMember', 'citations': [{'type': 'cim.2.shared.Citation', 'version': 1, 'id': '9e139643-3060-4b5b-9869-269f6d66c19b'}], 'longName': 'Ten Member Ensemble', 'keywords': 'ten, 10, ensemble, runs, simulations', 'isConformanceRequested': False, '_meta': {'author': {'version': 1, 'uid': '253825f3-fbc8-43fb-b1f6-cc575dc693eb'}, 'createDate': '2017-03-21 00:00:00', 'project': 'cmip6', 'source': 'spreadsheet', 'version': 1, 'updateDate': '2017-03-21 00:00:00', 'type': 'cim.2.designing.EnsembleRequirement', 'id': '7381cc84-e556-4d9a-9ec2-10ebaefc6880'}}]
@bnlawrence
Copy link
Member Author

I note that this is a pretty old document ... but am not sure how to find if it has been superceded.

@charliepascoe
Copy link

I see it in the "StartDateEnsemble" tab in my spreadsheet.

@bnlawrence
Copy link
Member Author

That seems like the right thing, but I fear that may not only mean it is serialised wrongly, but that the CIM is broken ... (which might be why it has been serialised that way) ...

If we believe this ...
doc_design.pdf

@bnlawrence
Copy link
Member Author

It looks like the fix for this needs a wee bit of thinking about ... before anyone does anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants