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. |
0 replies
|
@SciTools/peloton agrees that |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The problem is calendars, really.
For most units,
Unit(str(my_unit)) == my_unitBut 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 ...
All reactions