Menu

#2394 issues with initial version of read IDLSav support

nextrelease
open-fixed
nobody
None
5
2024-11-15
2021-09-29
No

Lindsay at UMN provided an idlsav file that showed a number of issues:

  • time is stored in strings, which could be detected and parsed
  • byte order for real numbers appears to be incorrect
  • GUI doesn't provide access to tags within structures. I was able to figure out how to get to COUNTS.RATE1 and COUNTS.TIME, but I had to use completions.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2021-09-29

    See sftp:jfaden.net:/home/jbf/ct/autoplot/u/2021/lindsay/20210929/orbit2.sav

     
  • Jeremy Faden

    Jeremy Faden - 2021-09-29

    I made a new IDLSav, and it looks like byte order is fine for a simple array. So I'm probably off by some offset.

     
  • Jeremy Faden

    Jeremy Faden - 2021-10-02

    I've added support for times encoded as ISO8601 strings.

    Lindsay's file still doesn't read properly, where COUNTS.RATE4 comes out as the data from COUNTS.RATE3. I think what's going on with Lindsay's file is that I assume the order of tags in the file, assuming they are in the same order.

     
  • Jeremy Faden

    Jeremy Faden - 2021-10-04
    • status: open --> open-fixed
     
  • Jeremy Faden

    Jeremy Faden - 2024-11-15

    Cindy has an IDLSav file with a structure containing an array of strings which cannot be read with my Java code. I've been looking at the python idlsav.py, to see if I can convert it to Java code to make a more complete reader. See https://github.com/astrofrog/idlsave, and this is using the Python-to-Java converter I have within Autoplot. I've been improving that code as well in hopes to make porting this code faster.

     
MongoDB Logo MongoDB