Re: Making a wrf_contour plot wider

From: Jan Ploski <Jan.Ploski_at_nyahnyahspammersnyahnyah>
Date: Thu, 19 Jun 2008 21:21:51 +0200

Mary Haley wrote:
>
> Jan,
>
> When you draw map projections with NCL, NCL doesn't (by default) want
> to allow you to change the aspect ratio of the map.
>
> If you want to make this map wider (hence skewing the map projection),
> then you need to set the resource mpShapeMode to "FreeAspect".
>
> In your script, I believe you just need to add the following two
> resources (I tried it on a sample WRF script and it worked for me):
>
> ...
> res_at_mpShapeMode = "FreeAspect"
> res_at_vpWidthF = 0.8 ; Or whatever width you want.
> map = wrf_map(wks, a, res)
>
> I should point out that the wrf_xxxx plotting scripts are not meant to
> be highly customizable. If you don't need these WRF style of scripts
> (with the automatic extra titles at the top), then you can use
> gsn_csm_xxxx routines, combined with WRF_map_c. You can see some
> examples at:
>
> http://www.ncl.ucar.edu/Applications/wrf.shtml

Mary,

Unfortunately, setting FreeAspect had no effect in my example.

By the way, I wouldn't like the diagram to be widened, I'd just like the
titles on top to be pulled apart. That is, I'd like the whole canvas to
become wider. The diagram should ideally stay at its current aspect
ratio in the center. However, I'm currently unable to change the canvas
width at all - it always seems to be adjusted to match the (unchanged)
diagram width.

Perhaps I should indeed switch to lower-level drawing routines, but this
problem of making the plot wider to accomodate a longer title seemed
conceptually so simple that I thought that maybe I was missing something
obvious. I'm happy with the wrf_xxx output apart from this little detail.

Regards,
Jan Ploski
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 19 2008 - 13:21:51 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 19 2008 - 16:27:49 MDT