Re: hovmueller plots

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Jun 10 2013 - 10:15:18 MDT

I don't think the order should matter. NCL will plot your data so that the smaller time is on the bottom.
If you don't want this behavior, then set:

  res@trYReverse = True

As for longitudes, they will go from west to east on the X axis. I'm not sure what happens if your longitudes
have a "jump" in them, like going from, say, 270 to 360, and then from -180 to -160.

If you have longitudes that "jump" like this, you might want to look at the "lonFlip" procedure:

http://www.ncl.ucar.edu/Document/Functions/Contributed/lonFlip.shtml

--Mary

On Jun 10, 2013, at 10:01 AM, Marston Johnston wrote:

> Hi Mary,
>
> I was more wondering about the order of the lon and time dims, i.e., increasing or decreasing.
> I'll play around with it and see what happens. Thanks for the links :-)
>
> /M
>
>
> On Mon, Jun 10, 2013 at 5:50 PM, Mary Haley <haley@ucar.edu> wrote:
>
> On Jun 10, 2013, at 8:26 AM, Marston Johnston wrote:
>
> > Hi,
> >
> > I'm trying to put together a series of hovmeuller plots using the gsn_panel() function,
> > But I'm unsure of the data configuration that NCL expects. My data is created
> > array(time,lon), where time is a grid -48h to 48h at every 3h and lon is -10 to 10 at every 1 degree. How does NCL expect the in data to be oriented?
>
> FYI: Hovmueller plots are just contour plots with longitude on the X axis and time on the Y axis. We have a "gsn_csm_hov" function, which states that the longitude must be the rightmost dimension, and time is the leftmost dimension, which is what you have.
>
> http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_hov.shtml
>
> Have you tried using gsn_csm_hov? I think your data should be fine as it is.
>
> Here are some hovmueller examples:
>
> http://www.ncl.ucar.edu/Applications/time_lon.shtml
>
> --Mary
>
>
>
> >
> > Regards,
> > /M
> >
> > --
> > Only the fruitful thing is true!
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
> --
> Only the fruitful thing is true!

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 10 10:15:28 2013

This archive was generated by hypermail 2.1.8 : Tue Jun 11 2013 - 12:03:58 MDT