I have an object from netCDF file with the following properties:
float32 zeta(time, y, x)
long_name: free surface height
units: meter
unlimited dimensions: time
current shape = (200, 52, 52)
filling off
)
I need to reduce this element by reading every other element from it in Python. I tried by
temp = data.variables['zeta']
zeta_pck = temp[::2].copy()
but it does not work because the output of print zeta_pck.shape is (100,52,52)
that is taking the first dimension only