Project

General

Profile

Get one index of dimension as new variable

Added by Vladimir Vovo about 9 years ago

Hello, i have 4D variable (m = 2):

float var4D(i, j, k, m);

and since it raise error while interpolating unsing remapbil, i am trying to split it into two 3D variables:

float var4D_1(i, j, k);
float var4D_1(i, j, k);

Is it possible using CDO?
Thank you.


Replies (1)

RE: Get one index of dimension as new variable - Added by Jaison-Thomas Ambadan about 9 years ago

Assuming that your input file is NetCDF, you could use NCO tool ncks [ -d option ] to extract or seperate the m dimension: http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink

    (1-1/1)