Hello,

A patch addressing this issue was included in the CVS version on Nov 15th 2008 (Revision 1.15 of ncdf_var_cl.cpp file) and is included in the 0.9-rc2
release. The code posted above shouldn't trigger errors anymore (see
below).

Sylwester

GDL - GNU Data Language, Version 0.9rc1 CVS
For basic information type HELP,/INFO
'GDL_STARTUP'/'IDL_STARTUP' environment variables (denoting startup file)
both not set. No startup file read. Default settings kept. OK.
GDL> fid = NCDF_OPEN('simple.nc')
GDL> NCDF_VARGET, fid, 0, test1d
GDL> NCDF_VARGET, fid, 1, test2d
GDL> PRINT, test1d
           1           2
GDL> PRINT, test2d
           1           2
           3           4
GDL> inq1d = NCDF_VARINQ(fid, 0)
GDL> PRINT, inq1d
{ test1d LONG           1           2           0
}
GDL> inq2d = NCDF_VARINQ(fid, 1)
GDL> PRINT, inq2d
{ test2d LONG           2           2           0           1
}



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to