Skip to content

Conversation

@pp-mo
Copy link
Member

@pp-mo pp-mo commented Dec 17, 2019

Add cell-measures and ancillary-variables sections to cube xml reprs.

Pretty simple, but should do the job.

@pp-mo pp-mo added this to the v3.0.0 milestone Dec 17, 2019
@pp-mo pp-mo requested a review from lbdreyer December 17, 2019 18:02
@lbdreyer lbdreyer self-assigned this Dec 18, 2019
Copy link
Member

@lbdreyer lbdreyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pp-mo Just one comment, but other than that this looks good to go!

lib/iris/cube.py Outdated

cube_xml_element.appendChild(attributes_element)

def dimensionedCubeElement(element, typename, dimscall):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed you used camel casing here.
It may be nice for consistency with doc.createElement etc but it might make more sense to format this as a normal python function

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No good reason, just a slip...

@pp-mo
Copy link
Member Author

pp-mo commented Dec 19, 2019

Thanks @lbdreyer
Please see if this suits..

@lbdreyer lbdreyer merged commit b0027d4 into SciTools:master Dec 19, 2019
@pp-mo pp-mo deleted the ancil_xml branch March 18, 2022 15:28
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

Successfully merging this pull request may close these issues.

2 participants