Re: Fedora Core 2 and zonal averages (unrelated)

From: Derrick Snowden (Derrick.Snowden AT noaa.gov)
Date: Fri Jul 02 2004 - 10:06:20 MDT

  • Next message: Derrick Snowden: "Re: Fedora Core 2 and zonal averages (unrelated)"

    Hi Rick,

    I tried your new ncl libraries and the results were the same. I've
    pasted the error message below. I don't make much sense of it but I'd
    be happy to do whatever to help you. Let me know if you'd like any
    specific tests done or need more information.

    Thanks

    Derrick

    [snowden@doris NCL]$ ncl p_precip_ann_cyc.ncl
     Copyright (C) 1995-2004 - All Rights Reserved
     University Corporation for Atmospheric Research
     NCAR Command Language Version 4.2.0.a031
     The use of this software is governed by a License Agreement.
     See http://ngwww.ucar.edu/ncl/ for more details.
    fatal:syntax error: line 2278 in file ./gsn_code.ncl before or near
    imageWorkstationClass
          image = create res_file imageWorkstationClass
    --------------------------------------------------^

    fatal:syntax error: line 2279 in file ./gsn_code.ncl before or near
    "wkImageFileName
            "wkImageFileName"
    ------------------------^

    fatal:error in statement
    fatal:syntax error: line 2280 in file ./gsn_code.ncl before or near
    "wkImageFormat
            "wkImageFormat"
    ----------------------^

    fatal:error in statement
    fatal:syntax error: line 2281 in file ./gsn_code.ncl before or near
    "wkColorMap
            "wkColorMap"
    -------------------^

    fatal:error in statement
    fatal:syntax error: line 2282 in file ./gsn_code.ncl before or near
    "wkWidth
            "wkWidth"
    ----------------^

    fatal:error in statement
    fatal:syntax error: line 2283 in file ./gsn_code.ncl before or near
    "wkHeight
            "wkHeight"
    -----------------^

    fatal:error in statement
    fatal:syntax error: line 2284 in file ./gsn_code.ncl before or near
    create
          end create
    ---------------^

    fatal:error in statement
    fatal:syntax error: line 2286 in file ./gsn_code.ncl before or near
    imageWorkstationClass
          image = create res_file imageWorkstationClass
    --------------------------------------------------^

    fatal:syntax error: line 2287 in file ./gsn_code.ncl before or near
    "wkImageFileName
            "wkImageFileName"
    ------------------------^

    fatal:error in statement
    fatal:syntax error: line 2288 in file ./gsn_code.ncl before or near
    "wkImageFormat
            "wkImageFormat"
    ----------------------^

    fatal:error in statement
    fatal:syntax error: line 2289 in file ./gsn_code.ncl before or near
    "wkWidth
            "wkWidth"
    ----------------^

    fatal:error in statement
    fatal:syntax error: line 2290 in file ./gsn_code.ncl before or near
    "wkHeight
            "wkHeight"
    -----------------^

    fatal:error in statement
    fatal:syntax error: line 2291 in file ./gsn_code.ncl before or near
    create
          end create
    ---------------^

    fatal:error in statement
    fatal:Syntax Error in block, block not executed
    fatal:syntax error: line 2639 in file ./gsn_code.ncl before or near
    gsn_primitive
    procedure gsn_primitive
    ----------------------^

    fatal:error in statement
    fatal:syntax error: line 2642 in file ./gsn_code.ncl before or near
    local
    local
    ----^

    fatal:error in statement
    fatal:Variable (polytype) is undefined
    fatal:Execute: Error occurred at or near line 2645 in file
    ../gsn_code.ncl

    fatal:syntax error: line 307 in file ./contributed.ncl before or near
    copyatt
    procedure copyatt
    ----------------^

    fatal:error in statement
    fatal:syntax error: line 308 in file ./contributed.ncl before or near
    local
    local
    ----^

    fatal:error in statement
    fatal:Variable (var_to) is undefined
    fatal:Execute: Error occurred at or near line 311 in file
    ../contributed.ncl

    fatal:syntax error: line 351 in file ./contributed.ncl before or near
    component_copy_VarCoords
    procedure component_copy_VarCoords
    ---------------------------------^

    fatal:error in statement
    fatal:syntax error: line 352 in file ./contributed.ncl before or near
    local
    local
    ----^

    fatal:error in statement
    fatal:Variable (x) is undefined
    fatal:Execute: Error occurred at or near line 355 in file
    ../contributed.ncl

    fatal:syntax error: line 3986 in file ./contributed.ncl before or near
    eoftsData2eof
    function eoftsData2eof
    ---------------------^

    fatal:Function identifier is defined
    fatal:syntax error: line 3987 in file ./contributed.ncl before or near
    local
    local
    ----^

    fatal:error in statement
    fatal:Variable (data) is undefined
    fatal:Execute: Error occurred at or near line 3991 in file
    ../contributed.ncl

    fatal:syntax error: line 5674 in file ./contributed.ncl before or near
    symMinMaxPlt
    procedure symMinMaxPlt
    ---------------------^

    fatal:error in statement
    fatal:syntax error: line 5675 in file ./contributed.ncl before or near
    local
    local
    ----^

    fatal:error in statement
    fatal:Variable (x) is undefined
    fatal:Execute: Error occurred at or near line 5678 in file
    ../contributed.ncl

    fatal:syntax error: line 5865 in file ./contributed.ncl before or near
    readAsciiHead
    function readAsciiHead
    ---------------------^

    fatal:Function identifier is defined
    fatal:syntax error: line 5866 in file ./contributed.ncl before or near
    local
    local
    ----^

    fatal:error in statement
    fatal:Variable (fName) is undefined
    fatal:Execute: Error occurred at or near line 5869 in file
    ../contributed.ncl

    fatal:syntax error: line 5920 in file ./contributed.ncl before or near
    readAsciiTable
    function readAsciiTable
    ----------------------^

    fatal:Function identifier is defined
    fatal:syntax error: line 5921 in file ./contributed.ncl before or near
    local
    local
    ----^

    fatal:error in statement
    fatal:Variable (fName) is undefined
    fatal:Execute: Error occurred at or near line 5924 in file
    ../contributed.ncl

    fatal:syntax error: line 97 in file p_precip_ann_cyc.ncl before or near
    resP
      res@gsnZonalMeanXMinF = 0. resP
    ---------------------------------^

    fatal:Syntax Error in block, block not executed
    [snowden@doris NCL]$

    On Tue, 2004-06-29 at 18:46, Rick Grubin wrote:
    > Hi Derrick,
    >
    > > I've asked Rick if he can help you debug this problem. [...]
    >
    > I'm somewhat familiar with your problem, and will do what I can to help.
    >
    > > Rick, I think the first thing to do here is give Derrick the
    > > latest gsn_code.ncl, gsn_csm.ncl, and any other files he's loading
    > > with the "load" command, and see if these newer versions work.
    > >
    > > Derrick, I would recommend modifying your "load" scripts so that they
    > > just load the files he gives you locally:
    > >
    > > ;load "/usr/local/ncl-4.2.0.a031/lib/ncarg/nclscripts/csm/gsn_code.ncl"
    > > ;load "/usr/local/ncl-4.2.0.a031/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
    > > ;load "/usr/local/ncl-4.2.0.a031/lib/ncarg/nclscripts/csm/contributed.ncl"
    > > load "./gsn_code.ncl"
    > > load "./gsn_csm.ncl"
    > > load "./contributed.ncl"
    > >
    > > and then try rerunning your script. We need to rule out a problem
    > > with these scripts before we can determine that it's an
    > > incompatibility problem with the NCL binary.
    >
    > Attached are the "latest/greatest" versions of:
    > contributed.ncl
    > gsn_code.ncl
    > gsn_csm.ncl
    >
    > Please try these out, as Mary suggests, and let me know the results.
    > Thanks!
    >
    > -Rick.
    > --
    > Rick Grubin Visualization + Enabling Technologies
    > Scientific Computing Division National Center for Atmospheric Research
    > grubin@ucar.edu 303.497.1832

    -- 
    Derrick Snowden				
    PhOD/AOML/NOAA				Office: 305.361.4322
    4301 Rickenbacker Causeway		Fax: 305.361.4392
    Miami, FL 33149				Derrick.Snowden@noaa.gov
    



    This archive was generated by hypermail 2b29 : Fri Jul 30 2004 - 07:52:58 MDT