Re: About "-" in attribute name

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 26 May 2009 11:38:46 -0600 (MDT)

Use the special syntax "$..$" around the name:

   f@$WEST-EAST_GRID_DIMENSION$

--Mary

On Tue, 26 May 2009, Jeff wrote:

> Hi,
>
> In WRF output, there are several global attributes with "-" in their
> names, for example, "WEST-EAST_GRID_DIMENSION".
> When I use f_at_WEST-EAST_GRID_DIMENSION to read the dimension, NCL keeps
> recognize the "-" to be a operator for "subtract" and says
> "EAST_GRID_DIMENSION" is not a defined variable.
>
> How can I visit this attribute?
>
> Thank you.
> Yaosheng
> _______________________________________________
> 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 May 26 2009 - 11:38:46 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:47:27 MDT