Mimics `iris_obj.name()` but with different name resolution order. Similar to iris_obj.name() method, but using iris_obj.var_name first to enable roundtripping.
(iris_obj, default="unknown")
| 146 | |
| 147 | |
| 148 | def _name(iris_obj, default="unknown"): |
| 149 | """Mimics `iris_obj.name()` but with different name resolution order. |
| 150 | |
| 151 | Similar to iris_obj.name() method, but using iris_obj.var_name first to |
| 152 | enable roundtripping. |
| 153 | """ |
| 154 | return iris_obj.var_name or iris_obj.standard_name or iris_obj.long_name or default |
| 155 | |
| 156 | |
| 157 | def from_iris(cube): |
no outgoing calls
no test coverage detected
searching dependent graphs…