Replies: 2 comments 1 reply
-
There is more general issue here, of how much the user can expect to rely on the equivalence of a unit and its "string form". We naturally have lots of cases where, for two units ut1 and ut2 : For time units, the time/date representation is particularly fluid.
|
Beta Was this translation helpful? Give feedback.
-
@SciTools/peloton agrees that |
Beta Was this translation helpful? Give feedback.
-
The problem is calendars, really.
For most units,
Unit(str(my_unit)) == my_unit
But with (nonstandard) calendars ...
E.G. (1.)
I.E. the calendar is lost in producing a 'unit string' form.
E.G. (2.)
Obviously, only one "possible form", but I think nothing like this is valid.
According to UDUNITS docs ...
Beta Was this translation helpful? Give feedback.
All reactions