Re: contour plot for small area (0.5 x0.5 degree)

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Mon May 20 2013 - 21:14:15 MDT

Hi Joeky,
There are two forms of tick marks for maps drawn using the gsn functions -- the gsn-generated tick marks and the built-in MapPlot tick marks. They each have advantages and disadvantages. One advantage of the built-in MapPlot tick marks is that they can scale down to minutes and seconds of a degree. To access them you should set gsnTickMarksOn to False and pmTickMarkDisplay to "always". Actually I think the gsn code recognizes when pmTickMarkDisplayMode is set and so it is not strictly necessary to set gsnTickMarksOn to False.
 -dave

On May 20, 2013, at 8:47 PM, Will Hobbs <Will.Hobbs@utas.edu.au> wrote:

> Joeky
>
> The generic function gsn_csm_contour() should work.
>
> This will not give you a map outline, however. If your domain is coastal and you need an outline, then maybe overlaying the contour plot onto a map-only plot (gsn_cms_map()) of the RANGS hi-res coastline might work, but I've never done this so I've no idea.
>
> Will
>
> (Info on RANGS: http://www.ncl.ucar.edu/Document/Graphics/rangs.shtml)
>
>
>
> From: juki juki <juky_emc2@yahoo.com>
> Reply-To: juki juki <juky_emc2@yahoo.com>
> Date: Tuesday, 21 May 2013 12:33 PM
> To: Will Hobbs <will.hobbs@utas.edu.au>, "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Subject: Re: contour plot for small area (0.5 x0.5 degree)
>
> hi will,
>
> thank you for reply. The data resolution is 0.1o, but the max-min of latitude or longitude is only 1o. Therefore, it is not a single point, but 10x10 array with 0.1o resolution.
>
> joeky
>
>
> From: Will Hobbs <Will.Hobbs@utas.edu.au>
> To: juki juki <juky_emc2@yahoo.com>; "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Sent: Tuesday, May 21, 2013 11:24 AM
> Subject: Re: contour plot for small area (0.5 x0.5 degree)
>
> Joeky
>
> If you have data with a 1 degree resolution, then there can only possibly be a single data point in a 0.5 x 0.5 degree domain. One cannot make a contour plot with a single data point.
>
> You could interpolate your data onto a higher resolution domain (say, 0.1 degrees) and as long as there are reasonable zonal and meridional gradients in your domain that should work from an NCL point of view (i.e. you will get a contour plot). From a data analysis perspective, however, I would advise against that approach.
>
> Will
>
> From: juki juki <juky_emc2@yahoo.com>
> Reply-To: juki juki <juky_emc2@yahoo.com>
> Date: Tuesday, 21 May 2013 12:17 PM
> To: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Subject: contour plot for small area (0.5 x0.5 degree)
>
> Hi all ncl users;
>
> I want to make a contour plot for small area (0.5x0.5 degree). What plot function can be used ? I try to use gsn_csm_contour_map_ce, it does not work because the longitude/latitude interval of my data are less than 1 degree.
>
> Thanks for help
> joeky
>
>
> _______________________________________________
> 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 Mon May 20 21:14:26 2013

This archive was generated by hypermail 2.1.8 : Thu May 30 2013 - 11:38:10 MDT