Re: Using RANGS database

From: Dave Kennison (kennison AT unknown)
Date: Mon May 19 2003 - 16:49:09 MDT

  • Next message: Nestor Waldyd: "ERROR"

    Philippe,

    > I am giving a try at RANGS database; I have download the files from
    > http://www.io-warnemuende.de/homepages/rfeistel/index.html, and modified
    > mpex13.f with the path of where I keep the RANGS files. I get an error while
    > running mpex13 :
    >
    > POSITION NUMBER 1 Caribbean
    > USING DATABASE "CO"
    > USING DATABASE "Earth..2"
    > USING RANGS/GSHHS DATABASE
    > ERROR 3 IN MDRGSX - SEEK FAILURE IN CEL FILE
    >
    > I have checked out the size of all RANGS files, and they seem to be correct.
    > Does somebody has some idea of what I could have missed ?

    If you're running this on an IBM and if you don't have the very latest
    version of the EZMAP code to access the RANGS database, then you have
    probably run into a bug that I fixed last November. What I put in the
    log about it was this:

      This is to get around a problem with the way the function "ICHAR"
      works on the IBMs.

    As I recall, the problem was that ICHAR was doing sign extension for
    characters having a leading bit set, which caused computations of seek
    addresses in the RANGS files to be completely screwed up.

    Let me know if this seems to apply ...

    Dave Kennison
    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk AT unknown
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Mon May 19 2003 - 19:02:16 MDT