Skip to content

How to label an unnamed dimension to access it #5422

Discussion options

You must be logged in to vote

Hi @wmcfarlane-smith

The labelling you refer to is the presence of a dimension coordinate on that dimension (more info here: Iris Data Structures). The -- means this is an 'anonymous dimension' - there is no coordinate at all for this dimension. An un-named coordinate for this dimension would instead show as unknown.

You are free to add your own coordinates to an existing Cube, with the following two steps:

  1. Create your dimension coordinate. At minimum you will need to include some points for the coordinate, and a name - the name that will appear on the Cube summary.
    For a time coordinate I would also recommend assigning units, to give the numbers some meaning. This can either be a string…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by trexfeathers
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants