Hi Chris,
Assuming your data is on a rectilinear grid, you can use lonFlip prior
to subsetting the data:
http://www.ncl.ucar.edu/Document/Functions/Contributed/lonFlip.shtml
See example #1 on that page..
Adam
On 02/01/2013 08:50 AM, Christopher Steele (ENV) wrote:
> Hi everyone,
>
>
> I have a global dataset which I want to extract a subsection of data from. The subset runs through the meridian so, for example, I'm after a set of data through 5W - 5E, but the data are organised so that values go from 0-360 degrees (west-east). Is it possible to create a cyclic point in the data itself so that I can extract say for data = 0 - 360 degrees E, data(350:5) to give me some values either side of the meridian? There is the @gsnAddCyclic resource, but that is only for plotting data as I understand it.
>
> cheers
>
> Chris
>
>
>
>
> Christopher Steele,
> School of Environmental Sciences
> University of East Anglia
> Norwich
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ______________________________________________________________ Adam Phillips asphilli@ucar.edu NCAR/Climate and Global Dynamics Division (303) 497-1726 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Feb 1 09:46:15 2013
This archive was generated by hypermail 2.1.8 : Fri Feb 01 2013 - 15:31:04 MST