0
的所有其他元素我已经从的netCDF对象具有以下属性文件:复制三维阵列
float32 zeta(time, y, x)
long_name: free surface height
units: meter
unlimited dimensions: time
current shape = (200, 52, 52)
filling off
)
我需要通过在Python从中读取所有其他元素,以减少这些元素。我试图通过
temp = data.variables['zeta']
zeta_pck = temp[::2].copy()
,但它不工作,因为打印zeta_pck.shape的输出(100,52,52)
即走的是第一维唯一