Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Ucubes and their summaries#26

Closed
pp-mo wants to merge 5 commits intoSciTools-incubator:masterfrom
pp-mo:ucubes_summaries
Closed

Ucubes and their summaries#26
pp-mo wants to merge 5 commits intoSciTools-incubator:masterfrom
pp-mo:ucubes_summaries

Conversation

@pp-mo
Copy link
Copy Markdown
Member

@pp-mo pp-mo commented Oct 27, 2020

WIP

This is a heads-up for the intended changes to make unstructured cubes load as UCubes (i.e. a specialised subclass),
and then to make them print augmented cube summaries.
Along with SciTools/iris#3914, this effectively completes the import of SciTools/iris#3688 ,which was the POC code for this in the irtis "ng-vat" branch.

Unfinished business:

  • requires Cube print respin SciTools/iris#3914 . May need change if that changes.
  • needs some kind of testing for UCube._repr_html_
  • ideally, should test that loading can (correctly) produce a mixture of UCube-s and Cube-s.
    ( second thoughts : not very important. not going to bother )

Comment thread iris_ugrid/tests/unit/ucube/test_UCube.py Outdated
Comment thread iris_ugrid/ucube.py Outdated
Comment thread iris_ugrid/ugrid_cf_reader.py
@pp-mo pp-mo changed the title Ucubes summaries Ucubes and their summaries Oct 27, 2020
@pp-mo pp-mo requested a review from trexfeathers October 27, 2020 19:31
@pp-mo
Copy link
Copy Markdown
Member Author

pp-mo commented Oct 27, 2020

Hi @trexfeathers looking like you again 😀

It's not complete, but you may already have useful things to say...

Comment thread iris_ugrid/tests/unit/ucube/test_UCube.py
@pp-mo pp-mo marked this pull request as ready for review October 29, 2020 11:21
@pp-mo
Copy link
Copy Markdown
Member Author

pp-mo commented Oct 29, 2020

I'm going to close this + reopen another one because Stickler seems to be stuck.
I tried to re-spin it (icon top right) but nothing happens
I tried un-resolve and re-resolve of all its comments
When you visit the comments link (icon top-right), it goes to a "couldn’t find those commits" error page.

@pp-mo pp-mo closed this Oct 29, 2020
@pp-mo pp-mo mentioned this pull request Oct 29, 2020
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants