error in reading a variable from netcdf file

From: Si-Wan Kim <SiWan.Kim_at_nyahnyahspammersnyahnyah>
Date: Thu, 08 Jun 2006 14:44:15 -0600

Hello all,

I am trying to read a variable whose name is "PM2.5" from a netcdf file.
I can read any variables like o3, co, and no2 except PM2.5.

If I try to read "PM2.5", it gives me an error message. Syntax error
before or near .5.
Below is the part of ncl script.
a=
addfile("/wrk/d1/swkim/wrf2dat/pert/wrfn3d_d01_2004-"+sdate(imon-1)+"-"+sdate(iday-1)+".nc","r")

pm2 = a->PM2.5

The dot in the variable may be the problem.
Is there anybody who experienced this problem? How can I read this?
I appreciate your help. Thanks.

Si-Wan
CIRES & NOAA/ESRL/CSD
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 08 2006 - 14:44:15 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 12 2006 - 06:59:42 MDT