Hi Vinit,
It sounds like you want to examine ocean data. Assuming you have a
netCDF file of the ocean data, you would do something like this:
a = addfile("sample.oceandata.nc","r")
temp = a->T(:,21,:,:) ; assume data is in time,lev,lat,lon format
or this
a = addfile("sample.oceandata.nc","r")
temp = a->T(:,{3372},:,:) ; assume data is in time,lev,lat,lon format
; use coordinate subscripting to choose 3372m
; level
If you haven't already, I suggest you download and look at the NCL
mini-language manual here:
http://www.ncl.ucar.edu/Document/Manuals/
Specifically take a look at page 5 (Dimensions and Subscripting) and the
File I/O section, pages 9-11.
Good luck,
Adam
Asher, Vinit N wrote:
> Hi,
>
> I made an NCL program to plot velocity vector over temperature scalar
> plot. Now this indicates surface temprature and suface velocity. What I
> want is these variables at a level below the surface. I have heard of
> levels in NCL.I want it at level 21 thats 3273 m. Could you help me
> with how to insert the levels in NCL?
>
> Thanks
> Vinit.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Mon Mar 03 2008 - 13:57:34 MST
This archive was generated by hypermail 2.2.0 : Thu Mar 13 2008 - 17:22:54 MDT