problem in running regriding

P. Satyanarayana psatya at GMAIL.COM
Mon Sep 22 08:25:32 EDT 2008


Hello I am trying to regrid NCEP data.
As I know, to do the same I need to setenv.
I am using SUSE 11
My computer processor is Intel pentium 4; 3.2Ghz

I am giving the code I am using to regriding


'reinit'
'sdfopen air.nc'
'set x 1 22'
'set y 1 20'
'set gxout fwrite'
'set fwrite air.grd'
t1=1
while(t1<=696)
'set t 't1
z1=1
while(z1<=17)
'set z 'z1
'd regrid2(air,1,1,bs_p1,57.5,0)'
say z1
z1=z1+1
endwhile
say t1
t1=t1+1
endwhile
'disable fwrite'

I hope some body will help me in this regard.

The error message i am gettig is

Syntax Error: invalid Operand
'regrid2' not a variable or function name
error ocurred at column 1
DISPLAY error: Invalid expression
Expression = regrid2(air,1,1,bs_pl,57.5,0)
Thank you

Satya.



More information about the gradsusr mailing list