Re: Height as vertical coordinate for data on eta levels

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 19 2012 - 16:30:42 MDT

Is this what you want

   eta = f->ZNW(0,:)
   eta!0 = "eta

   w!0 = "eta"
   w&eta = eta

   printVarSummary(w)

On 6/19/12 4:22 PM, Karl Volz wrote:
> Hello-
>
>
> I have the same question but I do not understand the response. If I have
> a wrfout file that has z as level,time,lat,lon ordered values, how do I
> access the values , assign them to "z", and then associate them to the
> eta levels as the vertical coordinate?
>
>
> I believe this:
>
>
> z = wrf_user_get_var(f,"z",-1)
>
> w!0="z"
>
> w&z =z
>
>
> yields this:
>
>
> *fatal:Coordinate variables must have one dimension only*
>
>
> -
>
> Karl
>
>
> From: Mary Haley <haley_at_nyahnyahspammersnyahnyah
> <mailto:haley_at_nyahnyahspammersnyahnyah?Subject=Re:%20Fwd:%20change%20y%20axis%20from%20eta%20height%20to%20z%20(km)%20from%20wrf%20output>>
>
> Date: Thu Jan 12 2012 - 10:15:44 MST
>
> Mark,
>
> It is a simple matter to change the coordinate array of a variable to
> something else, especially if it is the same type (float, double, etc).
>
> So, yes, if the current coordinate array is called "w&znw" and you want
> to replace these values with the variable "z":
>
> (I'm assuming eta height is the leftmost dimension of w):
>
> w!0 = "z"
> w&z = z
>
> --Mary
>
> On Jan 11, 2012, at 2:43 PM, mark vogel wrote:
>
> /> Dear All /
> /> I would like to change the y axis to be the level Height (z) values
> instead of eta height. /
> /> Anyone know how can I do that. Do I need to use get wrf var (z) and
> then specific w&znw = z. /
> /> How can I specify the y axis? /
> /> Thanks /
> /> Mark /
>
>
>
> _______________________________________________
> 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 Tue Jun 19 16:30:59 2012

This archive was generated by hypermail 2.1.8 : Mon Jun 25 2012 - 09:57:23 MDT