Re: vcMapDirection resource

From: wxtofly <wxtofly_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 04 2011 - 11:33:28 MDT
Does this mean that with vcMapDirection=True, the coordinate space acts the same as the projection used in the underlying data and with it False it uses up as North and right as East?  That would fit with the slight differences that I checked from a point near the center of a Lambert conformal projection.  I tried it with points from a larger domain where I would expect larger deviations if it were the case, but the results were inconclusive.  It does appear that no matter which point I have chosen, the vcMapDirection=False --> vcMapDirection=True  causes barbs to change as if they were on a Lambert conformal surface with horizontal and vertical barbs not changing at all.   I guess this means that I should be using  vcMapDirection=False.

Fortunately, my domains are small enough that the distortion doesn't matter much to people who are using the Windgrams.

Perhaps the wrf_meteo1-5.ncl scripts should be amended...

TJ

On 08/04/2011 07:28 AM, Mary Haley wrote:
Hi TJ,

I admit I've never understood this resource very well. Dave Brown is out of the office, but here's an explanation from him (modified slightly to make sense in this context) that he sent to another user:

By default, the vector direction is mapped into the coordinate space defined by the coordinate variables. This is appropriate for horizontal vectors drawn on a map, but not for vectors in a vertical space where the Y axis and the X Axis have completely unrelated units. To fix this you should set the resource vcMapDirection to False.  However,  it also has the effect of always making the positive Y direction from bottom to top. If the vertical component is positive from top to bottom of the atmosphere, then you will need to multiply the vertical component by -1.0 to get the result you are looking for.

--Mary


On Aug 3, 2011, at 11:54 PM, wxtofly wrote:


I am confused by this resource as the examples are not consistent with its use and I don't really understand what it does in the absence of an underlying map as on the attached windgram plots.

I have attached two of my windgrams, one produced without any mention of vcMapDirection which therefore would use the true default, and the other with
uv_res@vcMapDirection=false.  As you can see they are nearly but not exactly identical.  (gwenview  or something similar next prev to rock between them)

On the NCAR site, the 1 special example meteo.ncl uses uv_res@vcMapDirection=false.  The 5 wrf_meteo(1-5).ncl omit the resource.  Which is "correct."  
What would I expect the effects to be?

Thanks for you help.

TJ Olney

<2011-08-04_Black_windgram_vcfalse.png><2011-08-04_Black_windgram_vctrue.png>_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


Received on Thu Aug 4 11:34:52 2011

This archive was generated by hypermail 2.1.8 : Fri Aug 05 2011 - 14:53:55 MDT