[gradsusr] problem when using tcorr

samo diatta samo.diatta at univ-zig.sn
Sat Jul 25 18:45:14 EDT 2015


Dear all,
I'm a new re-user of grads, I try to make the spatial correlation between
two variables namely rfe and sst. Anyone can help please, below is what I
have after compiling:

ga-> sdfopen sst.06.nc
Scanning self-describing file:  sst.06.nc
SDF file sst.06.nc is open as file 1
LON set to 0 360
LAT set to -89.5 89.5
LEV set to 0 0
Time values set: 1983:6:1:0 1983:6:1:0
E set to 1 1
ga-> set t 1 29
Time values set: 1983:6:1:0 2011:6:1:0
ga-> set lat 0 90
LAT set to 0 90
ga-> set lon 0 360
LON set to 0 360
ga-> define s=sst
Define memory allocation size = 7726528 bytes
ga-> sdfopen rfe1983_2014.aug.nc
Scanning self-describing file:  rfe1983_2014.aug.nc
SDF file rfe1983_2014.aug.nc is open as file 2
ga-> set dfile 2
Default file set to: rfe1983_2014.aug.nc
ga-> set t 1 29
Time values set: 1983:8:31:0 2011:8:31:0
ga-> set x 1
LON set to -19.0125 -19.0125
ga-> set y 1
LAT set to 0 0
ga-> define rfee=aave(rfe,lon=-17,lon=15,lat=15,lat=18)
Define memory allocation size = 232 bytes
ga-> set t 1
Time values set: 1983:8:31:0 1983:8:31:0
ga-> set gxout shaded
ga-> d tcorr(rfee,s,t=1,t=29)
TCORR:  dim = 3, start = 1, end = 29
Data Request Error: Invalid grid coordinates
  World coordinates convert to non-integer  grid coordinates
    Variable = s  Dimension = 0
Error from TCORR:  Error getting grids
Operation Error:  Error from tcorr function
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = tcorr(rfee,s,t=1,t=29)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150725/ef27183b/attachment-0001.html 


More information about the gradsusr mailing list