Skip to content

Axis units in .attributes and .units not equal #246

@stefraynaud

Description

@stefraynaud

Hi,

file axis units are not synched between the .attributes dict and the .units attributes, which make calls to clone set "units" to "".
Its seems due to :

  • in dataset.py: cufile.dimensioninfo[name] = ('', .....)
  • in axis.py : self.__dict__['_units'] = units where units is the first items of dimensioninfo, which is always '', and att['units'] = units.

This is particularly problematic for time axes...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions