Hi Sebi,
b = a(level|0,lat|:,lon|:)
or
b = a(0,:,:)
will make b your new variable with dimensions lat and lon. As you see, we choose the single available element of dimension "level" and all the elements of other dimensions to make the reduction. You could also wish to read:
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclVariables.shtml#Dimensions
Cheers
Ozan
--- On Tue, 9/22/09, Sabeerali(sebi) <sabeerl_at_gmail.com> wrote:
> From: Sabeerali(sebi) <sabeerl_at_gmail.com>
> Subject: How to reduce dimension?
> To: ncl-talk_at_ucar.edu
> Date: Tuesday, September 22, 2009, 5:18 AM
> Helloo,
>
> I have a variable named
> a(level=1,lat=73,lon=144)...I want to convert that variable
> into a(lat=73,lon=144)...Is it possible in NCL?
>
> Any help would be appreciated...
>
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 22 2009 - 07:46:59 MDT
This archive was generated by hypermail 2.2.0 : Thu Sep 24 2009 - 13:55:09 MDT