Re: Longitude differences

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 28 Jul 2008 08:46:41 -0600 (MDT)

Hi Helen,

I don't think we have an example of specifically doing this for
longitude values, but we do have an example of how to select a
particular longitude out of your data, and separately, how to create a
difference plot.

First, please see the page:

   http://www.ncl.ucar.edu/Applications/lat_time.shtml

for examples of how to select a particular longitude from your
data. It is not necessary to use gsn_csm_time_lat to plot
your data (you can use gsn_csm_contour if you want), but
you can look at these examples to see how the longitude is
selected:

  lon90W = ind(lon.eq.270.) ; subscript at 90W
  shov = sst(lon|lon90W:lon90W,{lat|-30.:30.},time|:)

Actually, I'm not sure why the example does it this way. I think it
would be better to do:

  shov = sst({lon|270.},{lat|-30.:30.},time|:)

Then, to see an example of a difference plot, see example 18
on the panel applications page:

   http://www.ncl.ucar.edu/Applications/panel.shtml#ex18

--Mary

On Fri, 25 Jul 2008, Helen Parish wrote:

> Is there an easy way within NCL to take a parameter in a netcdf file, and
> make a plot of the differences in the values of that parameter at different
> longitudes ?.
>
> Thanks,
> Helen.
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 28 2008 - 08:46:41 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 28 2008 - 09:07:16 MDT