Re: Fedora Core 2 and fatal syntax error

From: Dennis Shea (shea AT cgd.ucar.edu)
Date: Thu Aug 19 2004 - 08:49:09 MDT

  • Next message: Chia-chi Wang: "contour filled problem"

    >Hello,
    >
    >Since I moved to FDC2 and Suse9.1, I came across some
    >problems loading the $NCL_DEF_SCRIPTS_DIR scripts. NCL reported
    >a lot of fatal syntax errors like:
    >
    >fatal:syntax error: possibly an undefined procedure
    >fatal:syntax error: line 744 in file
    /usr/local/lib/ncarg/nclscripts/csm/skewt_func.ncl before or near \n
    >
    >There were some posts regardings malfunctioning on FDC2 (including mine).
    >
    >I added more "undef functions" to the scripts and now it seems to work
    >properly. I am not pretty sure about the meaning of these change and if this is
    an elegant solutions.

    Hi Gil

    I don't think this is a Fedora COre 2 related error.

    The "skewt_func.ncl" function uses graphic procedures and functions
    located in the "gsn_code.ncl" library. Try the following,
    either in a script or interactively:

    ncl <return>
    ncl 0> load "./gsn_code.ncl"
    ncl 1> load "./skewt_func.ncl"

    ---
    

    Regards, Dennis Shea

    _______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Mon Aug 23 2004 - 13:43:52 MDT