Re: variable name

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 01 2012 - 11:10:11 MDT

     x = f->$"PM2.5_emssion"$

or
     vname = "PM2.5_emssion"
     x = f->$vname$

=================================
Note: I do not thin that a valid netCDF name can contain a '.'

On 11/01/2012 11:01 AM, Luo, Chao wrote:
> Hi,
>
> I am processing data of Netcdf format files by NCL script. One of
> variable names (PM2.5_emssion) can not be read by NCL. It seems the
> issue is related to variable name, which includes dot "." (
> fatal:syntax error: line 7 in file read.ncl before or near .5 , var =
> f->PM2.5). I was wondering if there is any way to read the data.
>
> Thanks much,
>
> CL
>
>
> _______________________________________________
> 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 Thu Nov 1 11:10:22 2012

This archive was generated by hypermail 2.1.8 : Tue Nov 06 2012 - 15:05:49 MST