Closed Xunius closed 5 years ago
Update myself:
It started from basemap.addcyclic(im, lons)
, where im
is a TransientVariable
. If I do basemap.addcyclic(np.array(im), lons)
it works.
Inside addcyclic
it is this line that triggers the error: npsel.concatenate((a,a[slicer]),axis=axis)
. a[slicer]
works for ndarray but not for TransientVariable
.
I installed cdat using this conda command:
Running some scripts that used to work in older versions (I was using py2 previously) now breaks. I got this error:
where
self.data
is a 3d ndarray,index
is[[slice(None, None, None), slice(None, None, None), slice(0, 1, None)]]
.So the ndarray's take method is not working with slices any more. How do I fix this?
The entire outputs from
conda list
: