tcorr

abbas mofidi abbasmofidi at YAHOO.COM
Wed Oct 28 17:47:41 EDT 2009




Dear GrADS Users, 
  
I am trying to calculate the correlation coefficients by using the tcorr function, but after running the following script I just can to see a blank page. Please let me know, what the problem is! 
Any help would be really appreciated. 
  
Thanks, Abbas 
  
*****************Correlation***************
   'reinit'
'sdfopen D:/Monsoon/DATA/Vwind1000-100mb-1Apr-31Oct2000-4timeDaily.nc'
    'set dfile 1' 
    'set t 245 612'
    'set lat 22 45'
    'set lon 40 76'
    'set lev 850'
    'define p = aave(vwnd,lon=59,lon=63,lat=30,lat=36)'
 
'sdfopen D:/Monsoon/DATA/Hgt850mb-1Apr-30Sep2000-4timeDaily.nc'
    'set dfile 2' 
    'set t 245 612'
    'set lat 22 45'
    'set lon 40 76'
    'set lev 850'
    'define h = hgt'
 
    'set gxout contour'
    'set csmooth on linear'
    'set grid off'
    'set grads off'
    'set font 1'
    'set cint 0.1'
    'set clskip 1'
    'set xlevs 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75'
    'set ylint 2'
    'set ylevs 23 25 27 29 31 33 35 37 39 41 43 45 47'
    'set cthick 12'
    'set xlopts 1 6 0.15'
    'set ylopts 1 6 0.15'
    'set clopts 1 6 0.13'
    'set mpdset hires'
    'set map 1 1 15'
    'set ccolor 1 1 6'
    'd tcorr(p,h,t=245,t=612)'
    'draw title Correlation'
    'printim D:/Monsoon/Correlation850hPa.gif x1200 y1100 white'
say
  
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091028/6f1fdac7/attachment.html 


More information about the gradsusr mailing list