-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
import cdms2
import cdat_info
import MV2
f= cdms2.open(cdat_info.get_sampledata_path()+"/clt.nc")
s = f("clt", **{})
#s.info()
s = s(
latitude=(
20, 20, "cob"), longitude=(
112, 112, "cob"), squeeze=1)
s2 = MV2.sin(s)
ax = s2.getTime()
print "FIRST VAL:",ax[0]
ax2 = ax.clone()
ax2.toRelativeTime("days since 30000")
print("FIRST VALUE UNCHANGED?",ax[0])Original axes values have been changed this has been introduced in the last commit.
Thanks @muryanto1 for spotting the regression in vcs nighlties