Mary,
I can confirm that I can run the csh (/bin/csh -> tcsh) command and open
a tcsh shell.
Copied back original ncl_convert2nc and ran "ncl_convert2nc
$NCARG_ROOT/lib/ncarg/data/grb/ced1.1f00.t00z.grb" (and the also the
other two files) but it reported: Badly placed ()'s
Added line "echo $vars" before "if ($?vars) then", but this results in
"vars: Undefined variable."
Added line "set vars = 0" before "if ($?vars) then", but this results
in:
warning:NclGRIB: Detected incomplete record, skipping record
.
.
warning:NclGRIB: Detected incomplete record, skipping record
fatal:getfilevarnames: file does not exist
fatal:Execute: Error occured at or near line 227 in file
/tmp/tmp3436.ncl
Added line "set vars = 1" before "if ($?vars) then", but this results
in:
warning:NclGRIB: Detected incomplete record, skipping record
.
.
warning:NclGRIB: Detected incomplete record, skipping record
fatal:getfilevarnames: file does not exist
fatal:Execute: Error occured at or near line 227 in file
/tmp/tmp3624.ncl
Issue seems to relate to vars variable, which looks like it doesn't get
set but then this shouldn't be an issue with "if ($?vars) then" as it's
supposedly just checking to see if the variable does exist.
Regards,
Glenn
________________________________
From: Mary Haley [mailto:haley@ucar.edu]
Sent: 23 June 2011 20:18
To: Comiskey, Glenn
Cc: ncl-install@ucar.edu; David Brown
Subject: Re: ncl_convert2nc reports 'Badly placed ()'s'
Glenn,
Are you actually able to run csh? What happens if you type "csh" on the
UNIX command line?
Did you make any other changes to ncl_convert2nc to get it to work?
As a test, go back to the original "ncl_convert2nc" before you made any
changes, and execute it with:
ncl_convert2nc $NCARG_ROOT/lib/ncarg/data/grb/ced1.lf00.t00z.eta.grb
Let us know what happens.
--Mary
Received on Fri Jun 24 04:08:13 2011
This archive was generated by hypermail 2.1.8 : Thu Jun 30 2011 - 12:54:57 MDT