[gradsusr] regriding in grads

PArI Parimala pari.rox112 at gmail.com
Tue Aug 4 05:34:09 EDT 2015


Hi,

Advanced Thank You.

Please Help Me.
How to do regriding in grads for nc file ?

I have 2 nc files one is from model and one s from ncep.com
have to regrid the files and find corelation and interpolation.



What mistake have i done??

'reinit'
'sdfopen air.mon.mean.nc'

'q file'
'set lat -90 90'
'set lon 0 360'
'set t 1 810'
'set z 1'
'set gxout shaded'
'newgrid = regrid2(sst,2.5)'
'd regrid2(sst,2.5,2.5,bs)'
'define air1 = regrid(air,2.5)'
'd air'


'reinit'
'sdfopen sfc_tmp_ensm_fcst.nc'
'q file'
'set lat -90 90'
'set lon 0 360'
'set t 1 9'
'set gxout shaded'
'set z 1'

'd sfc_tmp'
*'d scorr(sst.1,sfc_tmp.2,lon=0,lon=360,lat=-90,lat=90)'

...............................................
Error


No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
Syntax Error:  Invalid Operand
  'regrid2' not a variable or function name
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = regrid2(sst,2.5,2.5,bs)
Syntax Error:  Invalid Operand
  'regrid' not a variable or function name
  Error ocurred at column 1
DEFINE error:  Invalid expression.
.......................................


Thank You ...
-- 
P at r!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150804/84af9b13/attachment.html 


More information about the gradsusr mailing list