[ncl-talk] read a variable name has space from hdf file

Yun Yue yunyue at huskers.unl.edu
Fri Mar 11 09:07:09 MST 2016


Hi NCL users,
I was using NCL to read MODIS Level 2 land data. The file format is hdf. I used the following NCL code to read a variable has space

f = addfile(filename,"r")
x = f->$"fire mask"$
The error is variable is not in file (f)

There's no error when I read other variables without space.
Does anyone know how to fix this? I appreciate any help.
Thanks,
Yun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160311/4be8faa0/attachment.html 


More information about the ncl-talk mailing list