Hi Verena,
In Ferret, after extracting the appropriate level, using k=@ave removes the k-dimension.
le uu = uwnd[k=8] let u = uu[k=@ave] save/clobber/file = new_data.cdf u
Then, new_data.cdf is 3D.
Best
Thank you, Fisseha
--- On Sun, 9/16/12, Verena Lili <verena.prick@xxxxxxxxx> wrote:
From: Verena Lili <verena.prick@xxxxxxxxx> Subject: Re: [ferret_users] Transform 4D to 3D datasets To: "Júnior" <juniorphy@xxxxxxxxx> Cc: ferret_users@xxxxxxxx, ansley.b.manke@xxxxxxxx Date: Sunday, September 16, 2012, 3:29
PM
Hi,
I did, but still get the same dimensions 4D, Finally it works when i'm using NCO command.
Thanks a lot ;)
On Sun, Sep 16, 2012 at 9:10 PM, Júnior <juniorphy@xxxxxxxxx> wrote:
Hi Verena,
You can save 200 hPa U in new netcdf file, like this: Assuming that U at 200 hPa is equal to k=1
save/file=u200.nc u[k=1]
Then, the new file u200.nc is 3D.
Bests,
JúniorOn Sun, Sep 16, 2012 at 3:29 PM, Verena Lili <verena.prick@xxxxxxxxx> wrote:
Hi Ferret users,
I just wonder is there any possible way to change the dimension in my data from 4D to 3D,
let say i have zonal wind data only at level 200 hPa thus U [time x lev x lat x lon] and i want to remove
the level dimension inside thus later i just have U [time x lat x lon]. Since it only consist of 1 level, i don't need "level" dimension inside my data.
Thanks for your help.
-- ------------------------------------------------------------ Francisco das Chagas Vasconcelos Júnior Doutorando em Ciências Atmosféricas
Grupo de Estudos em Multiescalas - GEM
Universidade de São Paulo - USP Instituto de Astronomia, Geofísica e Ciências Atmosféricas - IAG
|