Hello,
I am trying to read a data field from an HDFEOS2 swath file, but the group
name contains a special character '-' (hyphen) that seems to be giving NCL
trouble. NCL apparently treats the hyphen as the end of an argument and
therefore cannot properly read the full group name.
To illustrate my point, the group name is called *
L2_Standard_cloud-cleared_radiance_product*, and I am trying to read a data
field called "radiances" like this:
rad=eos_file->radiances_L2_Standard_cloud-cleared_radiance_product
But when I try to run the file I get "fatal:Either file (eos_file) isn't
defined or variable (radiances_L2_Standard_cloud) is not a variable in the
file." I made sure eos_file is defined so I'm guessing the issue lies with
the hyphen character.
Is there any way around this?
Thanks,
Tong Qi
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 18 15:06:05 2010
This archive was generated by hypermail 2.1.8 : Tue Feb 23 2010 - 08:26:41 MST