Re: ERROR 11 IN CPSPS2

From: Dave Kennison (kennison AT unknown)
Date: Thu Jun 05 2003 - 13:22:47 MDT

  • Next message: Ruth Platner: "Re: ERROR 11 IN CPSPS2"

    Ruth,

    > I'm getting the following error in a call to CPSPS2. The x and y
    > coordinates are in increasing numerical order.
    >
    > ERROR 11 IN CPSPS2 - ERROR IN CALL TO MSSRF1
    >
    > Is there a table of errors somewhere, where I could find the meaning of
    > "Error 11"? I believe there is something about my y coordinates that is
    > the problem, but knowing the meaning of errors might give me a better
    > clue to what the problem is.

    In this case, CPSPS2 has called MSSRF1 and gotten a non-zero error flag.
    Assuming the call to CPSPS2 is something like

          CALL CPSPS2 (XSPS,YSPS,ZSPS,KSPS,MSPS,NSPS,RWRK,KRWK,IWRK,
         + KIWK,ZDAT,KZDT)

    then there are two possibilities:

      1) MSPS is less than 2 or NSPS is less than 2.

      2) The values in XSPS or YSPS are not strictly increasing.

    I think the most likely possibility is that there are equal values in
    neighboring elements of one of the arrays XSPS or YSPS.

    To more directly answer your question: the programmer document for CONPACK
    contains a list of error messages and a rather sketchy discussion of each.
    The "11" is only of use with reference to the CONPACK code: it tells one
    exactly where in CPSPS2 the error occurred (in this case, there is only one
    place where it could be, but in other cases, it can be used to distinguish
    among many possible places).

    Hope this helps you ...

    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 : Thu Jun 05 2003 - 13:42:32 MDT