X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Feb 2015 01:47 PM by  anon
ushort with ncdf_vardef
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
13 Feb 2015 01:47 PM
    I am writing netCDF files with IDL 8.1 and am encountering a problem when I use the USHORT keyword in calls to the NCDF_VARDEF function. I get the following error message: NCDF_VARDEF: Unable to define variable. (NC_ERROR=-45) If I found the correct interpretation of error code -45, it means it's a bad data type. I don't get this message with other data types such as long integers, floats, bytes, or even signed 2-byte integers (using LONG, FLOAT, BYTE, and SHORT keywords, respectively). I just can't seem to write unsigned 2-byte integers using the USHORT keyword for some reason. Has anyone else encountered this? Am I missing something? Thanks!
    You are not authorized to post a reply.