Problem Using sublin and subwrd

madan sigdel madan at EES.HOKUDAI.AC.JP
Fri Feb 5 07:03:21 EST 2010


These functions only work with in GRADS scripts, not with command line.

-----Original Message-----
From: GRADSUSR at LIST.CINECA.IT [mailto:GRADSUSR at LIST.CINECA.IT] On Behalf Of
Arlindo Meque
Sent: Friday, February 05, 2010 8:46 PM
To: GRADSUSR at LIST.CINECA.IT
Subject: Problem Using sublin and subwrd

Dear grads Users,
 
 
1.I am trying to use the sublin and subwrd commands/functions.
Unfortunately, I am getting error messages as follow:
 
 
 
 a)  ga-> q dims
Default file number is: 1 
X is varying   Lon = -100 to -20   X = -39 to -7
Y is varying   Lat = -60 to 20   Y = 13 to 45
Z is fixed     Lev = 1000  Z = 1
T is fixed     Time = 00Z01JAN1979  T = 1
E is fixed     Ens = 1  E = 1
ga-> ll=sublin(result,2)
Syntax Error:  Invalid Operand 
  'sublin' not a variable or function name
  Error ocurred at column 1
DEFINE error:  Invalid expression. 
 
 
b)  ga-> q time
Time = 00Z01JAN1979 to 00Z01JAN1979  Mon to Mon
ga-> res=subwrd(result,3)
Syntax Error:  Invalid Operand 
  'subwrd' not a variable or function name
  Error ocurred at column 1
DEFINE error:  Invalid expression. 
ga-> 
 
 
 
2. My version of GrADS is:
 
 
ga-> q config
Config: v2.0.a7.oga.3 little-endian readline printim grib2 netcdf hdf4-sds
hdf5 opendap-grids,stn athena geotiff
Grid Analysis and Display System (GrADS) Version 2.0.a7.oga.3
Copyright (c) 1988-2009 by Brian Doty and the
Institute for Global Environment and Society (IGES) 
This program is distributed WITHOUT ANY WARRANTY 
See file COPYRIGHT for more information. 
 
 
 
 
 
Help is needed
 
Arlindo 


 
____________________________________________________________________________
________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com



More information about the gradsusr mailing list