Hello OpenDX experts, I am trying to import data from a proprietary file format. I have the complete documentation of the format and I have also looked at the data file with a hex editor and the header is layed out exactly as documented. I can successfully import the image files if I manuallly make a .general file for each data file and explicitly supply the grid parameters. However, I would like to have OpenDX read the grid parameters since they are stored in the header of each file.
grid=256X256 works correctly for example. The grid parameters are stored as long ints with X pixels located starting with the 64th byte and Y pixels starting with the 68th byte. I cannot get grid = msb binary , int, bytes 64, 0,4,0,4 to work. I also tried grid=msb binary, int, lines 0, 64, 4, 0, 4 and this also failed. The values that are returned (by looking at the error message in the message window) are also different between the two grid specifications and I do not know why. Can this work to read long ints as the grid specifications? Every example I find on the Internet for this type of statement illustrate how to do it when the grid values are stored as ASCII. It should be possible to read them as ints since it is a valid specification of the grid statement, but it does not work for me. -------- George Lengel RHK Technology, Inc. 1050 East Maple Road Tel: (248) 577-5426 Troy, MI 48083 USA Fax: (248) 577-5433 http://www.rhk-tech.com [EMAIL PROTECTED]
